[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user