[IMP] mrp: restructure the consume_line_ids tree view

Also adds strings that are more appropriate in an MRP context.
This commit is contained in:
Pratima Gupta
2017-08-31 21:22:48 -07:00
committed by Joren Van Onder
parent c679c99121
commit 83f2557d72
@@ -24,9 +24,10 @@
<field name="consume_line_ids" attrs="{'invisible': [('consume_line_ids', '=', [])]}" nolabel="1" context="{'w_production': True, 'active_id': production_id, 'default_lot_id': lot_id}">
<tree editable="top" delete="0" create="0">
<field name="product_id" readonly="1"/>
<field name="product_qty" readonly="1"/>
<field name="qty_done"/>
<field name="lot_id" context="{'default_product_id': product_id}" domain="[('product_id', '=', product_id)]"/>
<field name="product_uom_qty" string="To Consume"/>
<field name="product_qty" readonly="1" string="Reserved"/>
<field name="qty_done"/>
<field name="move_id" invisible="1"/>
</tree>
</field>