[IMP]analytic_user_function: improve xpath and button order
bzr revid: mma@tinyerp.com-20120430114524-221jqy196nwwf0fw
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
<field name="type">form</field>
|
||||
<field name="inherit_id" ref="account.view_account_analytic_account_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="/form/notebook/page" position="after">
|
||||
<xpath expr="/form/sheet/notebook/page" position="after">
|
||||
<page string="Users/Products Rel.">
|
||||
<field name="user_product_ids" colspan="4" nolabel="1"/>
|
||||
</page>
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
</group>
|
||||
<xpath expr="/form/sheet" position='before'>
|
||||
<div class="oe_form_topbar">
|
||||
<button name="set_pending" string="Pending" type="object" states="open" icon="gtk-media-pause"/>
|
||||
<button name="set_close" string="Close" type="object" states="open,pending" icon="terp-dialog-close"/>
|
||||
<button name="set_open" string="Re-open project" type="object" states="pending,cancelled,close,draft" icon="gtk-ok"/>
|
||||
<button name="set_pending" string="Pending" type="object" states="open" icon="gtk-media-pause"/>
|
||||
<button name="set_cancel" string="Cancel" type="object" states="open,pending" icon="gtk-cancel"/>
|
||||
<div class="oe_right">
|
||||
<field name="state" readonly="1" widget="statusbar" nolabel="1"
|
||||
|
||||
Reference in New Issue
Block a user