[IMP] stock_picking_batch: pick type auto batch inactive

auto batch in picking type is now set inactive by default

Task: 2764771
Part-of: odoo/odoo#91640
This commit is contained in:
Ahmed Khalaf (ahkh)
2022-06-03 12:02:07 +02:00
parent 85dc26e2ff
commit 80a52dfbbc
@@ -24,9 +24,4 @@
<field name="company_id" eval="False"/>
</record>
<!-- Update existing picking types to include autobatch settings for incoming/outgoing -->
<function model="stock.picking.type" name="write">
<value model="stock.picking.type" eval="obj().search([('code', 'in', ['incoming', 'outgoing'])]).ids"/>
<value eval="{'auto_batch': True, 'batch_group_by_partner': True}"/>
</function>
</data></odoo>