[IMP] set button on top
bzr revid: kjo@tinyerp.com-20120625055411-zod3eaopqihynuf1
This commit is contained in:
parent
36e94e982d
commit
74b1e9d770
|
@ -350,8 +350,13 @@
|
|||
<group>
|
||||
<field name="type"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
<field name="product_uos_qty" groups="product.group_uos" nolabel="1"/>
|
||||
<field name="product_uos" groups="product.group_uos" nolabel="1"/>
|
||||
<label name="product_uso_qty" />
|
||||
<div>
|
||||
<field name="product_uos_qty"
|
||||
groups="product.group_uos"
|
||||
class="oe_inline"/>
|
||||
<field name="product_uos" groups="product.group_uos" colspan="4" class="oe_inline"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
|
@ -645,8 +650,13 @@
|
|||
</group>
|
||||
<group>
|
||||
<field name="user_id"/>
|
||||
<field name="product_uos_qty" groups="product.group_uos"/>
|
||||
<field name="product_uos" groups="product.group_uos"/>
|
||||
<label name="product_uso_qty" />
|
||||
<div>
|
||||
<field name="product_uos_qty"
|
||||
groups="product.group_uos"
|
||||
class="oe_inline"/>
|
||||
<field name="product_uos" groups="product.group_uos" colspan="4" class="oe_inline"/>
|
||||
</div>
|
||||
</group>
|
||||
</group>
|
||||
<notebook>
|
||||
|
|
|
@ -8,17 +8,16 @@
|
|||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='workcenter_lines']/form//field[@name='hour']" position="after">
|
||||
<group colspan="8" col="8">
|
||||
<separator colspan="8"/>
|
||||
<field name="state"/>
|
||||
<xpath expr="//field[@name='workcenter_lines']/form//field[@name='name']" position="before">
|
||||
<header colspan="8">
|
||||
<button name="button_start_working" string="Start" states="draft" icon="terp-gtk-jump-to-ltr" help="Start Working"/>
|
||||
<button name="button_cancel" string="Cancel" states="draft,startworking" icon="gtk-stop" help="Cancel Order"/>
|
||||
<button name="button_draft" string="Set Draft" states="cancel" icon="gtk-convert" help="Set to Draft"/>
|
||||
<button name="button_start_working" string="Start" states="draft" icon="terp-gtk-jump-to-ltr" help="Start Working"/>
|
||||
<button name="button_resume" string="Resume" states="pause" icon="gtk-media-pause" help="Resume Work Order"/>
|
||||
<button name="button_pause" string="Pending" states="startworking" icon="gtk-media-pause" help="Pause Work Order"/>
|
||||
<button name="button_done" string="Finished" states="startworking" icon="terp-check" help="Finish Order"/>
|
||||
</group>
|
||||
<field name="state" widget="statusbar"/>
|
||||
</header>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
Loading…
Reference in New Issue