mrp_usability: add location_dest_id in the tree view of finished product on MO

This commit is contained in:
Alexis de Lattre
2020-12-04 18:29:54 +01:00
parent 2a3ca2d35c
commit 4076946f48

View File

@@ -26,6 +26,11 @@
<button name="action_cancel" type="object" position="attributes">
<attribute name="confirm">Are you sure you want to cancel this manufacturing order?</attribute>
</button>
<xpath expr="//field[@name='finished_move_line_ids']/tree/field[@name='product_uom_id']" position="replace"/>
<xpath expr="//field[@name='finished_move_line_ids']/tree/field[@name='qty_done']" position="after">
<field name="product_uom_id" groups="uom.group_uom"/> <!-- Move after qty -->
<field name="location_dest_id" groups="stock.group_stock_multi_locations"/>
</xpath>
</field>
</record>