[IMp]replace bom field from bottom to top
bzr revid: tch@tinyerp.com-20120903070715-lw6sjtk9xfk6y8aa
This commit is contained in:
parent
9fb0a6d190
commit
f1928910f8
|
@ -619,10 +619,16 @@
|
|||
<field name="state" widget="statusbar" statusbar_visible="draft,ready,in_production,done" statusbar_colors='{"picking_except":"red","confirmed":"blue"}'/>
|
||||
</header>
|
||||
<sheet>
|
||||
<label for="product_id" class="oe_edit_only"/>
|
||||
<h1>
|
||||
<field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','<>',False),('bom_ids.bom_id','=',False)]" context="{'default_supply_method':'produce'}" class="oe_inline"/>
|
||||
</h1>
|
||||
<group>
|
||||
<group>
|
||||
<label for="product_id" class="oe_edit_only"/>
|
||||
<h1><field name="product_id" on_change="product_id_change(product_id)" domain="[('bom_ids','<>',False),('bom_ids.bom_id','=',False)]" context="{'default_supply_method':'produce'}" class="oe_inline"/></h1>
|
||||
</group>
|
||||
<group>
|
||||
<label for="bom_id" class="oe_edit_only"/>
|
||||
<h1><field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)" class="oe_inline"/></h1>
|
||||
</group>
|
||||
</group>
|
||||
<label for="product_qty" class="oe_edit_only"/>
|
||||
<h2>
|
||||
<field name="product_qty" class="oe_inline"/>
|
||||
|
@ -655,9 +661,6 @@
|
|||
<notebook>
|
||||
<page string="Consumed Products">
|
||||
<group>
|
||||
<group>
|
||||
<field name="bom_id" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}" on_change="bom_id_change(bom_id)"/>
|
||||
</group>
|
||||
<group groups="stock.group_locations">
|
||||
<field name="location_src_id" domain="[('usage','=','internal')]" on_change="location_id_change(location_src_id,location_dest_id)"/>
|
||||
<field name="location_dest_id" domain="[('usage','=','internal')]"/>
|
||||
|
|
Loading…
Reference in New Issue