[IMP] mrp: remove redundant domains in form view
bzr revid: rco@openerp.com-20120912132733-eo0yfrn1v0dsxmhx
This commit is contained in:
parent
f0e9ae7563
commit
26d162e80f
|
@ -658,7 +658,7 @@
|
|||
<page string="Consumed Products">
|
||||
<group>
|
||||
<group string="Products to Consume">
|
||||
<field name="move_lines" domain="[('state','not in', ('done', 'cancel'))]" nolabel="1">
|
||||
<field name="move_lines" nolabel="1">
|
||||
<tree colors="blue:state == 'draft';black:state in ('picking_except','confirmed','ready','in_production');gray:state in ('cancel','done') " string="Products to Consume">
|
||||
<field name="product_id"/>
|
||||
<field name="product_qty" string="Quantity"/>
|
||||
|
@ -683,7 +683,7 @@
|
|||
</field>
|
||||
</group>
|
||||
<group string="Consumed Product">
|
||||
<field name="move_lines2" domain="[('state','in', ('done', 'cancel'))]" nolabel="1">
|
||||
<field name="move_lines2" nolabel="1">
|
||||
<tree colors="red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state == 'cancel' " string="Consumed Products" editable="bottom">
|
||||
<field name="product_id" readonly="1"/>
|
||||
<field name="product_qty" readonly="1"/>
|
||||
|
@ -704,7 +704,7 @@
|
|||
<page string="Finished Products">
|
||||
<group>
|
||||
<group string="Products to Produce">
|
||||
<field name="move_created_ids" domain="[('state','not in', ('done', 'cancel'))]" nolabel="1">
|
||||
<field name="move_created_ids" nolabel="1">
|
||||
<tree string="Products to Finish">
|
||||
<field name="product_id"/>
|
||||
<field name="product_qty"/>
|
||||
|
@ -722,7 +722,7 @@
|
|||
</field>
|
||||
</group>
|
||||
<group string="Produced Products">
|
||||
<field name="move_created_ids2" domain="[('state','in', ('done', 'cancel'))]" nolabel="1">
|
||||
<field name="move_created_ids2" nolabel="1">
|
||||
<tree colors="red:scrapped==True;blue:state == 'draft';black:state in('picking_except','confirmed','ready','in_production');gray:state in('cancel','done') " string="Finished Products">
|
||||
<field name="product_id" readonly="1"/>
|
||||
<field name="product_qty" readonly="1"/>
|
||||
|
|
Loading…
Reference in New Issue