[IMP]stock: Improve view for button setting
bzr revid: dbr@tinyerp.com-20120716063302-9m418ukyom2h6h75
This commit is contained in:
parent
2c6c733b5f
commit
1f28307c83
|
@ -227,11 +227,6 @@
|
|||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Packs" version="7.0">
|
||||
<div groups="stock.group_tracking_lot" class="oe_button_box">
|
||||
<button name="action_traceability" icon="gtk-go-up" string="Upstream Traceability" type="object"/>
|
||||
<button name="action_traceability" icon="gtk-go-down" string="Downstream Traceability" type="object"
|
||||
context="{'type': 'move_history_ids'}"/>
|
||||
</div>
|
||||
<group>
|
||||
<group groups="product.group_stock_packaging" string="Pack Identification">
|
||||
<field name="name"/>
|
||||
|
@ -239,6 +234,12 @@
|
|||
<field name="date"/>
|
||||
<field name="active"/>
|
||||
</group>
|
||||
<group groups="stock.group_tracking_lot" string="Traceability">
|
||||
<button name="action_traceability" icon="gtk-go-up" string="Upstream Traceability" type="object"
|
||||
colspan="2"/>
|
||||
<button name="action_traceability" icon="gtk-go-down" string="Downstream Traceability" type="object"
|
||||
context="{'type': 'move_history_ids'}" colspan="2"/>
|
||||
</group>
|
||||
</group>
|
||||
<field name="move_ids"/>
|
||||
</form>
|
||||
|
@ -337,22 +338,29 @@
|
|||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Serial Number" version="7.0">
|
||||
<group>
|
||||
<group string="Serial Number Identification">
|
||||
<group string="Serial Number Identification" col="3">
|
||||
<group>
|
||||
<field name="product_id"/>
|
||||
<field name="prefix"/>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="prefix"/>
|
||||
<field name="ref"/>
|
||||
<group string="Dates">
|
||||
<field name="date"/>
|
||||
</group>
|
||||
</group>
|
||||
<group class="oe_button_box">
|
||||
|
||||
<button name="action_traceability" string="Upstream Traceability" type="object" context="{'type': '', 'field': 'prodlot_id'}" icon="gtk-go-up"/>
|
||||
<button name="action_traceability" string="Downstream Traceability" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-down"/>
|
||||
|
||||
</group>
|
||||
<group string="Dates">
|
||||
<field name="date"/>
|
||||
</group>
|
||||
<group string="Traceability">
|
||||
<field name="stock_available"/>
|
||||
<button name="action_traceability" string="Upstream Traceability" type="object" context="{'type': '', 'field': 'prodlot_id'}" icon="gtk-go-up" colspan="2"/>
|
||||
<button name="action_traceability" string="Downstream Traceability" type="object" context="{'type': 'move_history_ids', 'field': 'prodlot_id'}" icon="gtk-go-down" colspan="2"/>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
<notebook>
|
||||
<page string="Revisions">
|
||||
<field name="revisions"/>
|
||||
|
|
Loading…
Reference in New Issue