[FIX] stock: label printed twice
Steps to reproduce: - enable PICK + PACK + SHIP - in Inventory/Configuration/Operations Types - check print label in PACK Bug: print label is already enabled by default in the SHIP Operation and it's not possible for the user to edit it. Fix: allow the user to disable print label on the SHIP Operation opw-3085428 closes odoo/odoo#115572 X-original-commit: 0e26baa8881e44edc85f553559f9c572008a921c Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<field name="inherit_id" ref="stock.view_picking_type_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='sequence_code']" position="after">
|
||||
<field name="print_label" attrs="{'invisible': [('code', '!=', 'internal')]}"/>
|
||||
<field name="print_label" attrs="{'invisible': [('code', 'not in', ['internal', 'outgoing'])]}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user