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