[ADD]:Add group on button in mrp
bzr revid: aja@tinyerp.com-20120903061805-b0l4gjyb8id0f1iw
This commit is contained in:
parent
3a21594cb9
commit
1fb01f9600
|
@ -680,7 +680,8 @@
|
|||
name="%(stock.track_line)d"
|
||||
string="Split in Serial Numbers"
|
||||
type="action" icon="gtk-justify-fill"
|
||||
states="draft,waiting,confirmed,assigned"/>
|
||||
states="draft,waiting,confirmed,assigned"
|
||||
groups="stock.group_production_lot"/>
|
||||
<button name="%(stock.move_scrap)d"
|
||||
string="Scrap Products" type="action"
|
||||
icon="gtk-convert" context="{'scrap': True}"
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
<label for="product_qty"/>
|
||||
<div>
|
||||
<field name="product_qty" class="oe_inline"/>
|
||||
<field name="product_uom" class="oe_inline" readonly="1" group="product.group_uom"/>
|
||||
<field name="product_uom" class="oe_inline" readonly="1" groups="product.group_uom"/>
|
||||
</div>
|
||||
<field name="location_id" group="group_locations"/>
|
||||
<field name="location_id" groups="stock.group_locations"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="do_move_consume" string="Ok" type="object" class="oe_highlight"/>
|
||||
|
@ -47,9 +47,9 @@
|
|||
<label for="product_qty"/>
|
||||
<div>
|
||||
<field name="product_qty" class="oe_inline"/>
|
||||
<field name="product_uom" class="oe_inline" readonly="1" group="product.group_uom"/>
|
||||
<field name="product_uom" class="oe_inline" readonly="1" groups="product.group_uom"/>
|
||||
</div>
|
||||
<field name="location_id" string="Scrap Location" domain="[('usage','<>','view'),('scrap_location','=',True)]" widget="selection" group="group_locations"/>
|
||||
<field name="location_id" string="Scrap Location" domain="[('usage','<>','view'),('scrap_location','=',True)]" widget="selection" groups="stock.group_locations"/>
|
||||
</group>
|
||||
<footer>
|
||||
<button name="move_scrap" string="Ok" type="object" class="oe_highlight" />
|
||||
|
|
Loading…
Reference in New Issue