Use untaxed amount in name_get of purchase orders

Add sum for qty in operation lines
This commit is contained in:
Alexis de Lattre
2018-07-12 23:53:26 +02:00
parent af4c5a20cc
commit f880c02038
2 changed files with 22 additions and 0 deletions

View File

@@ -32,6 +32,13 @@
<button name="action_cancel" type="object" position="attributes">
<attribute name="confirm">Are you sure you want to cancel this picking?</attribute>
</button>
<!-- This sum is useful to check the 'number of items' to transfer... -->
<xpath expr="//field[@name='pack_operation_product_ids']/tree/field[@name='product_qty']" position="attributes">
<attribute name="sum">1</attribute>
</xpath>
<xpath expr="//field[@name='pack_operation_product_ids']/tree/field[@name='qty_done']" position="attributes">
<attribute name="sum">1</attribute>
</xpath>
</field>
</record>