[IMP] xml of topbars, removed oe_right, oe_clear

bzr revid: fp@tinyerp.com-20120604105056-xvos3jwt3i9wsqrb
This commit is contained in:
Fabien Pinckaers 2012-06-04 12:50:56 +02:00
parent 9ef64335c6
commit 623fd428bd
44 changed files with 62 additions and 248 deletions

View File

@ -149,10 +149,7 @@
<button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="base.group_no_one"/> <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="base.group_no_one"/>
<button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object"/> <button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object"/>
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/> <button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Supplier Invoice" layout="auto"> <sheet string="Supplier Invoice" layout="auto">
<group col="8" colspan="4" class="oe_form_header"> <group col="8" colspan="4" class="oe_form_header">
@ -269,10 +266,7 @@
<button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object"/> <button name="action_cancel_draft" states="cancel" string="Reset to Draft" type="object"/>
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/> <button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>
<!--button name="%(account_invoices)d" string="Print Invoice" type="action" states="open,paid,proforma,sale,proforma2"/--> <!--button name="%(account_invoices)d" string="Print Invoice" type="action" states="open,paid,proforma,sale,proforma2"/-->
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,paid" statusbar_colors='{"proforma":"blue","proforma2":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Invoice" layout="auto"> <sheet string="Invoice" layout="auto">
<group colspan="4" col="8" class="oe_form_header"> <group colspan="4" col="8" class="oe_form_header">

View File

@ -15,10 +15,7 @@
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="create_period" states="draft" string="Create Monthly Periods" type="object"/> <button name="create_period" states="draft" string="Create Monthly Periods" type="object"/>
<button name="create_period3" states="draft" string="Create 3 Months Periods" type="object"/> <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object"/>
<div class="oe_right"> <field name="state" select="1" widget="statusbar" nolabel="1" />
<field name="state" select="1" widget="statusbar" nolabel="1" />
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Fiscalyear" layout="auto"> <sheet string="Fiscalyear" layout="auto">
<group class="oe_form_header"> <group class="oe_form_header">
@ -99,10 +96,7 @@
<form layout="manual"> <form layout="manual">
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/> <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1"/>
<field name="state" widget="statusbar" nolabel="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Period" layout="auto"> <sheet string="Period" layout="auto">
<group class="oe_form_header"> <group class="oe_form_header">
@ -605,10 +599,7 @@
<button name="button_confirm_bank" states="draft" string="Confirm" type="object" /> <button name="button_confirm_bank" states="draft" string="Confirm" type="object" />
<button name="button_dummy" states="draft" string="Compute" type="object"/> <button name="button_dummy" states="draft" string="Compute" type="object"/>
<button name="button_cancel" states="confirm" string="Cancel" type="object"/> <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Bank Statement" layout="auto"> <sheet string="Bank Statement" layout="auto">
<group col="7" colspan="4" class="oe_form_header"> <group col="7" colspan="4" class="oe_form_header">
@ -670,10 +661,7 @@
<button name="button_confirm_bank" states="draft" string="Confirm" type="object" /> <button name="button_confirm_bank" states="draft" string="Confirm" type="object" />
<button name="button_dummy" states="draft" string="Compute" type="object"/> <button name="button_dummy" states="draft" string="Compute" type="object"/>
<button name="button_cancel" states="confirm" string="Cancel" type="object"/> <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Bank Statement" layout="auto"> <sheet string="Bank Statement" layout="auto">
<group col="7" colspan="4" class="oe_form_header"> <group col="7" colspan="4" class="oe_form_header">
@ -1364,10 +1352,7 @@
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="button_validate" states="draft" string="Post" type="object"/> <button name="button_validate" states="draft" string="Post" type="object"/>
<button name="button_cancel" states="posted" string="Cancel" type="object"/> <button name="button_cancel" states="posted" string="Cancel" type="object"/>
<div class="oe_right"> <field name="state" select="1" widget="statusbar" nolabel="1" />
<field name="state" select="1" widget="statusbar" nolabel="1" />
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Journal Entries" layout="auto"> <sheet string="Journal Entries" layout="auto">
<group colspan="4" col="6" class="oe_form_header"> <group colspan="4" col="6" class="oe_form_header">
@ -2636,10 +2621,7 @@ action = pool.get('res.config').next(cr, uid, [], context)
<button name="button_confirm_cash" states="open" string="Close CashBox" type="object"/> <button name="button_confirm_cash" states="open" string="Close CashBox" type="object"/>
<button name="button_open" states="draft" string="Open CashBox" type="object"/> <button name="button_open" states="draft" string="Open CashBox" type="object"/>
<button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/> <button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Statement" layout="auto"> <sheet string="Statement" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -83,10 +83,7 @@
<button name="validate" states="draft" string="Confirm Asset" type="object"/> <button name="validate" states="draft" string="Confirm Asset" type="object"/>
<button name="set_to_close" states="open" string="Set to Close" type="object"/> <button name="set_to_close" states="open" string="Set to Close" type="object"/>
<button name="set_to_draft" states="open" string="Set to Draft" type="object"/> <button name="set_to_draft" states="open" string="Set to Draft" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Asset" layout="auto"> <sheet string="Asset" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -111,10 +111,7 @@
<button string="Done" name="done" states="validate" type="workflow" /> <button string="Done" name="done" states="validate" type="workflow" />
<button name="draft" states="cancel" string="Reset to Draft" type="workflow"/> <button name="draft" states="cancel" string="Reset to Draft" type="workflow"/>
<button string="Cancel" name="cancel" states="confirm,validate" type="workflow"/> <button string="Cancel" name="cancel" states="confirm,validate" type="workflow"/>
<div class="oe_right"> <field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
<field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Budget" layout="auto"> <sheet string="Budget" layout="auto">
<group class="oe_form_header"> <group class="oe_form_header">

View File

@ -106,10 +106,7 @@
<button name="set_done" states="open" string="Make Payments" type="object"/> <button name="set_done" states="open" string="Make Payments" type="object"/>
<button name="set_to_draft" states="cancel" string="Set to draft" type="object"/> <button name="set_to_draft" states="cancel" string="Set to draft" type="object"/>
<button name="cancel" states="draft,open" string="Cancel"/> <button name="cancel" states="draft,open" string="Cancel"/>
<div class="oe_right"> <field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
<field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Payment order" layout="auto"> <sheet string="Payment order" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -45,10 +45,7 @@
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to unreconcile this record?"/> <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to unreconcile this record?"/>
<button name="cancel_voucher" string="Cancel" states="draft,proforma" /> <button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Accounting Voucher" layout="auto"> <sheet string="Accounting Voucher" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -149,10 +149,7 @@
<button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/> <button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/> <button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Bill Payment" layout="auto"> <sheet string="Bill Payment" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">
@ -303,10 +300,7 @@
<button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/> <button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/>
<button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/> <button name="cancel_voucher" string="Unreconcile" type="object" states="posted" invisible="context.get('line_type', False)" confirm="Are you sure to unreconcile and cancel this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Customer Payment" layout="auto"> <sheet string="Customer Payment" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -87,10 +87,7 @@
<button name="cancel_voucher" string="Cancel" states="draft,proforma" /> <button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/> <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Sales Receipt" layout="auto"> <sheet string="Sales Receipt" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">
@ -216,10 +213,7 @@
<button name="cancel_voucher" string="Cancel" states="draft,proforma" /> <button name="cancel_voucher" string="Cancel" states="draft,proforma" />
<button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/> <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure to confirm this record ?"/>
<button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Supplier Voucher" layout="auto"> <sheet string="Supplier Voucher" layout="auto">
<field name="pay_now" invisible="1"/> <field name="pay_now" invisible="1"/>

View File

@ -26,10 +26,7 @@
<button name="do_decline" string="Decline" <button name="do_decline" string="Decline"
states="needs-action,tentative,accepted" states="needs-action,tentative,accepted"
type="object" /> type="object" />
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="tentative,needs-action,accepted" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="tentative,needs-action,accepted" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Invitation details" layout="auto"> <sheet string="Invitation details" layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">
@ -230,10 +227,7 @@
states="tentative,confirmed" states="tentative,confirmed"
type="object" type="object"
/> />
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="tentative,confirmed" statusbar_colors='{"proforma":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="tentative,confirmed" statusbar_colors='{"proforma":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Events" layout="auto"> <sheet string="Events" layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">

View File

@ -70,11 +70,8 @@
states="cancel"/> states="cancel"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/> states="draft,open,pending"/>
<div class="oe_right"> <field name="stage_id" widget="statusbar"
<field name="stage_id" nolabel="1" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/> on_change="onchange_stage_id(stage_id)"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet layout="auto"> <sheet layout="auto">
<group colspan="4" col="7"> <group colspan="4" col="7">

View File

@ -35,10 +35,7 @@
states="cancel,done"/> states="cancel,done"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open"/> states="draft,open"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open,done"/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,open,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet layout="auto"> <sheet layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">

View File

@ -72,10 +72,7 @@
states="cancel" icon="gtk-convert"/> states="cancel" icon="gtk-convert"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending" icon="gtk-cancel"/> states="draft,open,pending" icon="gtk-cancel"/>
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,done"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,done" select="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Phone Call" layout="auto"> <sheet string="Phone Call" layout="auto">
<group colspan="6" col="7"> <group colspan="6" col="7">

View File

@ -104,11 +104,8 @@
states="cancel,done"/> states="cancel,done"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/> states="draft,open,pending"/>
<div class="oe_right"> <field name="stage_id" widget="statusbar"
<field name="stage_id" nolabel="1" widget="statusbar"
on_change="onchange_stage_id(stage_id)"/> on_change="onchange_stage_id(stage_id)"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Claims" layout="auto"> <sheet string="Claims" layout="auto">
<group> <group>

View File

@ -69,10 +69,7 @@
<button name="case_escalate" string="Escalate" states="open,draft,pending" type="object" groups="base.group_extended" /> <button name="case_escalate" string="Escalate" states="open,draft,pending" type="object" groups="base.group_extended" />
<button name="case_reset" string="Reset to Draft" states="done,cancel" type="object" /> <button name="case_reset" string="Reset to Draft" states="done,cancel" type="object" />
<button name="case_cancel" string="Cancel" states="draft,open,pending" type="object" /> <button name="case_cancel" string="Cancel" states="draft,open,pending" type="object" />
<div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Funds Form" layout="auto"> <sheet string="Funds Form" layout="auto">
<group colspan="4" col="6" class="oe_form_header"> <group colspan="4" col="6" class="oe_form_header">

View File

@ -42,10 +42,7 @@
states="open,draft,pending"/> states="open,draft,pending"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/> states="draft,open,pending"/>
<div class="oe_right"> <field name="state" select="1" nolabel="1" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
<field name="state" select="1" nolabel="1" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Helpdesk Support" layout="auto"> <sheet string="Helpdesk Support" layout="auto">
<group colspan="4" col="7" class="oe_form_header"> <group colspan="4" col="7" class="oe_form_header">

View File

@ -56,10 +56,7 @@
<button string="Event Ended" name="button_done" states="confirm" type="object"/> <button string="Event Ended" name="button_done" states="confirm" type="object"/>
<button string="Set To Draft" name="button_draft" states="cancel,done" type="object"/> <button string="Set To Draft" name="button_draft" states="cancel,done" type="object"/>
<button string="Cancel Event" name="button_cancel" states="draft,confirm" type="object"/> <button string="Cancel Event" name="button_cancel" states="draft,confirm" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm,done"/>
<field name="state" select="1" nolabel="1" widget="statusbar" statusbar_visible="draft,confirm,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet layout="manual"> <sheet layout="manual">
@ -360,10 +357,7 @@
<button name="button_reg_close" string="Attended" states="open" type="object"/> <button name="button_reg_close" string="Attended" states="open" type="object"/>
<button string="Set To Unconfirmed" name="do_draft" states="cancel,done" type="object"/> <button string="Set To Unconfirmed" name="do_draft" states="cancel,done" type="object"/>
<button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object"/> <button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object"/>
<div class="oe_right"> <field name="state" select="1" nolabel="1" colspan="2" widget="statusbar" statusbar_visible="draft,open,done"/>
<field name="state" select="1" nolabel="1" colspan="2" widget="statusbar" statusbar_visible="draft,open,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Registration" layout="auto"> <sheet string="Registration" layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">

View File

@ -350,10 +350,7 @@
<button name="job_recruitement" string="In Recruitement" states="open" type="object"/> <button name="job_recruitement" string="In Recruitement" states="open" type="object"/>
<button name="job_open" string="In Position" states="old,recruit" type="object"/> <button name="job_open" string="In Position" states="old,recruit" type="object"/>
<button name="job_old" string="Mark as Old" states="open,recruit" type="object"/> <button name="job_old" string="Mark as Old" states="open,recruit" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="recruit,open"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="recruit,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Job" layout="auto"> <sheet string="Job" layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">

View File

@ -161,10 +161,7 @@
<button name="button_done" string="Done" states="progress" type="object"/> <button name="button_done" string="Done" states="progress" type="object"/>
<button name="button_draft" string="Reset to Draft" states="cancel" type="object"/> <button name="button_draft" string="Reset to Draft" states="cancel" type="object"/>
<button name="button_cancel" string="Cancel" states="draft,wait,progress" type="object"/> <button name="button_cancel" string="Cancel" states="draft,wait,progress" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,progress,wait,done" statusbar_colors='{"progress":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,progress,wait,done" statusbar_colors='{"progress":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Appraisal" layout="auto"> <sheet string="Appraisal" layout="auto">
<group col="4" colspan="3"> <group col="4" colspan="3">

View File

@ -70,10 +70,7 @@
<button name="draft" states="confirm,cancelled" string="Set to Draft" type="workflow" groups="base.group_hr_user"/> <button name="draft" states="confirm,cancelled" string="Set to Draft" type="workflow" groups="base.group_hr_user"/>
<button name="invoice" states="accepted" string="Invoice" type="object" groups="base.group_hr_user"/> <button name="invoice" states="accepted" string="Invoice" type="object" groups="base.group_hr_user"/>
<button name="refuse" states="confirm,accepted" string="Refuse" type="workflow" groups="base.group_hr_user" /> <button name="refuse" states="confirm,accepted" string="Refuse" type="workflow" groups="base.group_hr_user" />
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm,accepted" statusbar_colors='{"confirm":"blue","cancelled":"red"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm,accepted" statusbar_colors='{"confirm":"blue","cancelled":"red"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Expenses Sheet" layout="auto"> <sheet string="Expenses Sheet" layout="auto">
<group colspan="4" col="6"> <group colspan="4" col="6">

View File

@ -70,10 +70,7 @@
<button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user"/> <button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user"/>
<button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user,base.group_hr_manager"/> <button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user,base.group_hr_manager"/>
<button string="Reset to New" name="set_to_draft" states="refuse,validate" type="object" groups="base.group_hr_user"/> <button string="Reset to New" name="set_to_draft" states="refuse,validate" type="object" groups="base.group_hr_user"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Leave Request" layout="auto"> <sheet string="Leave Request" layout="auto">
<group col="8" colspan="4"> <group col="8" colspan="4">
@ -122,10 +119,7 @@
<button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user"/> <button string="Validate" name="second_validate" states="validate1" type="workflow" groups="base.group_hr_user"/>
<button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user"/> <button string="Refuse" name="refuse" states="confirm,validate1" type="workflow" groups="base.group_hr_user"/>
<button string="Reset to New" name="set_to_draft" states="cancel,validate,refuse" type="object" groups="base.group_hr_user"/> <button string="Reset to New" name="set_to_draft" states="cancel,validate,refuse" type="object" groups="base.group_hr_user"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm,validate" statusbar_colors='{"confirm":"blue","validate1":"blue","refuse":"red"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Allocation Request" layout="auto"> <sheet string="Allocation Request" layout="auto">
<group col="8" colspan="4" class="oe_form_header"> <group col="8" colspan="4" class="oe_form_header">

View File

@ -267,10 +267,7 @@
<button string="Set to Draft" name="draft" states="cancel"/> <button string="Set to Draft" name="draft" states="cancel"/>
<button string="Compute Sheet" name="compute_sheet" type="object" states="draft"/> <button string="Compute Sheet" name="compute_sheet" type="object" states="draft"/>
<button string="Cancel" name="cancel_sheet" states="draft,hr_check,confirm,verify"/> <button string="Cancel" name="cancel_sheet" states="draft,hr_check,confirm,verify"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Payslip" layout="auto"> <sheet string="Payslip" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">
@ -729,10 +726,7 @@
<button name="close_payslip_run" type="object" string="Close" states="draft"/> <button name="close_payslip_run" type="object" string="Close" states="draft"/>
<button name="%(action_hr_payslip_by_employees)d" type="action" states="draft" string="Generate Payslips" /> <button name="%(action_hr_payslip_by_employees)d" type="action" states="draft" string="Generate Payslips" />
<button string="Set to Draft" name="draft_payslip_run" type="object" states="close"/> <button string="Set to Draft" name="draft_payslip_run" type="object" states="close"/>
<div class="oe_right"> <field name="state" widget="statusbar"/>
<field name="state" widget="statusbar" nolabel="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Payslips Batches" layout="auto"> <sheet string="Payslips Batches" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -86,10 +86,7 @@
states="open" icon="gtk-go-back"/> states="open" icon="gtk-go-back"/>
<button name="stage_next" string="Next" type="object" <button name="stage_next" string="Next" type="object"
states="open" icon="gtk-go-forward"/> states="open" icon="gtk-go-forward"/>
<div class="oe_right"> <field name="stage_id" widget="statusbar"/>
<field name="stage_id" nolabel="1" widget="statusbar"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Jobs - Recruitment Form" layout="auto"> <sheet string="Jobs - Recruitment Form" layout="auto">
<group colspan="4" col="4"> <group colspan="4" col="4">

View File

@ -28,11 +28,8 @@
<button name="set_close" string="Close" type="object" states="open,pending"/> <button name="set_close" string="Close" type="object" states="open,pending"/>
<button name="set_open" string="Re-open project" type="object" states="pending,cancelled,close,draft"/> <button name="set_open" string="Re-open project" type="object" states="pending,cancelled,close,draft"/>
<button name="set_cancel" string="Cancel" type="object" states="open,pending"/> <button name="set_cancel" string="Cancel" type="object" states="open,pending"/>
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar"
<field name="state" readonly="1" widget="statusbar" nolabel="1"
statusbar_visible="open,pending,close" statusbar_colors='{"pending":"red", "template":"blue"}'/> statusbar_visible="open,pending,close" statusbar_colors='{"pending":"red", "template":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
</xpath> </xpath>
</field> </field>

View File

@ -66,10 +66,7 @@
<button name="done" states="confirm" string="Approve" type="workflow" groups="base.group_hr_user"/> <button name="done" states="confirm" string="Approve" type="workflow" groups="base.group_hr_user"/>
<button name="action_set_to_draft" states="done" string="Set to Draft" type="object"/> <button name="action_set_to_draft" states="done" string="Set to Draft" type="object"/>
<button name="cancel" states="confirm" string="Refuse" type="workflow" groups="base.group_hr_user"/> <button name="cancel" states="confirm" string="Refuse" type="workflow" groups="base.group_hr_user"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="new,confirm,done"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="new,confirm,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Timesheet" layout="auto"> <sheet string="Timesheet" layout="auto">
<group colspan="4" col="6" class="oe_form_header"> <group colspan="4" col="6" class="oe_form_header">

View File

@ -187,10 +187,7 @@
<button name="idea_open" string="Open" states="draft"/> <button name="idea_open" string="Open" states="draft"/>
<button name="idea_close" string="Accept" states="open"/> <button name="idea_close" string="Accept" states="open"/>
<button name="idea_cancel" string="Refuse" states="open" /> <button name="idea_cancel" string="Refuse" states="open" />
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open,close"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,open,close"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="New Idea" layout="auto"> <sheet string="New Idea" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -27,10 +27,7 @@
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" attrs="{'invisible':[('state','=','confirmed')]}"/> <button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" attrs="{'invisible':[('state','=','confirmed')]}"/>
<button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action"/> <button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirmed"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Order" layout="auto"> <sheet string="Order" layout="auto">
<field name="user_id" select="1"/> <field name="user_id" select="1"/>

View File

@ -21,10 +21,7 @@
<button name="state_done_set" string="Done" states="running"/> <button name="state_done_set" string="Done" states="running"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled"/> <button name="state_draft_set" string="Set to Draft" states="done,cancelled"/>
<button name="state_cancel_set" string="Cancel" states="running"/> <button name="state_cancel_set" string="Cancel" states="running"/>
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/>
<field name="state" readonly="1" widget="statusbar" nolabel="1" statusbar_visible="draft,running,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Campaign" layout="auto"> <sheet string="Campaign" layout="auto">
<group colspan="4" col="6"> <group colspan="4" col="6">
@ -145,10 +142,7 @@
<button name="state_done_set" string="Close" states="running"/> <button name="state_done_set" string="Close" states="running"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled"/> <button name="state_draft_set" string="Set to Draft" states="done,cancelled"/>
<button name="state_cancel_set" string="Cancel" states="running"/> <button name="state_cancel_set" string="Cancel" states="running"/>
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/>
<field name="state" readonly="1" nolabel="1" widget="statusbar" statusbar_visible="draft,running,done"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Segments" layout="auto"> <sheet string="Segments" layout="auto">
<group colspan="2" col="2"> <group colspan="2" col="2">
@ -368,10 +362,7 @@
<button string="Process" states="todo" name="process" type="object"/> <button string="Process" states="todo" name="process" type="object"/>
<button string="Reset" states="exception,cancelled" name="button_draft" type="object"/> <button string="Reset" states="exception,cancelled" name="button_draft" type="object"/>
<button string="Cancel" states="todo,exception" name="button_cancel" type="object"/> <button string="Cancel" states="todo,exception" name="button_cancel" type="object"/>
<div class="oe_right"> <field name="state" readonly="True" widget="statusbar" statusbar_visible="todo,done" statusbar_colors='{"exception":"red"}'/>
<field name="state" readonly="True" nolabel="1" widget="statusbar" statusbar_visible="todo,done" statusbar_colors='{"exception":"red"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Marketing Campaign Activities" layout="auto"> <sheet string="Marketing Campaign Activities" layout="auto">
<group colspan="4" col="6"> <group colspan="4" col="6">

View File

@ -640,10 +640,7 @@
<button name="button_recreate" states="picking_except" string="Recreate Picking"/> <button name="button_recreate" states="picking_except" string="Recreate Picking"/>
<button name="button_cancel" states="draft,ready,in_production,picking_except" string="Cancel"/> <button name="button_cancel" states="draft,ready,in_production,picking_except" string="Cancel"/>
<button name="action_cancel" type="object" states="confirmed" string="Cancel"/> <button name="action_cancel" type="object" states="confirmed" string="Cancel"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,ready,in_production,done" statusbar_colors='{"picking_except":"red","confirmed":"blue"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,ready,in_production,done" statusbar_colors='{"picking_except":"red","confirmed":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Manufacturing Orders" layout="auto"> <sheet string="Manufacturing Orders" layout="auto">
<group colspan="4" col="7"> <group colspan="4" col="7">

View File

@ -75,10 +75,7 @@
<button name="button_pause" string="Pending" states="startworking"/> <button name="button_pause" string="Pending" states="startworking"/>
<button name="button_draft" string="Set Draft" states="cancel"/> <button name="button_draft" string="Set Draft" states="cancel"/>
<button name="button_cancel" string="Cancel" states="draft,startworking"/> <button name="button_cancel" string="Cancel" states="draft,startworking"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,startworking"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,startworking"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Work Orders" layout="auto"> <sheet string="Work Orders" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -40,10 +40,7 @@
<button name="%(action_cancel_repair)d" states="confirmed,2binvoiced,ready,under_repair" string="Cancel Repair" type="action"/> <button name="%(action_cancel_repair)d" states="confirmed,2binvoiced,ready,under_repair" string="Cancel Repair" type="action"/>
<button name="%(action_cancel_repair)d" states="invoice_except" string="Cancel Repair" type="action"/> <button name="%(action_cancel_repair)d" states="invoice_except" string="Cancel Repair" type="action"/>
<button name="cancel" states="draft" string="Cancel Repair"/> <button name="cancel" states="draft" string="Cancel Repair"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,ready" />
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirmed,ready" />
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Repairs order" layout="auto"> <sheet string="Repairs order" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -22,10 +22,7 @@
<button name="%(action_report_pos_receipt)d" string="Reprint" type="action" states="paid,done,invoiced"/> <button name="%(action_report_pos_receipt)d" string="Reprint" type="action" states="paid,done,invoiced"/>
<button name="refund" string="Return Products" type="object" <button name="refund" string="Return Products" type="object"
attrs="{'invisible':[('state','=','draft')]}"/> attrs="{'invisible':[('state','=','draft')]}"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,paid,done" statusbar_colors='{"cancel":"red"}'/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,paid,done" statusbar_colors='{"cancel":"red"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="PoS Orders" layout="auto"> <sheet string="PoS Orders" layout="auto">
<group col="7" colspan="4" class="oe_form_header"> <group col="7" colspan="4" class="oe_form_header">

View File

@ -52,10 +52,7 @@
<button name="button_check" states="confirmed" string="Run Procurement"/> <button name="button_check" states="confirmed" string="Run Procurement"/>
<button name="button_restart" states="exception" string="Retry"/> <button name="button_restart" states="exception" string="Retry"/>
<button name="button_cancel" states="draft,exception,waiting" string="Cancel"/> <button name="button_cancel" states="draft,exception,waiting" string="Cancel"/>
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,confirmed" />
<field name="state" readonly="1" widget="statusbar" nolabel="1" statusbar_visible="draft,confirmed" />
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Procurement" layout="auto"> <sheet string="Procurement" layout="auto">
<group col="2" colspan="2" class="oe_form_header"> <group col="2" colspan="2" class="oe_form_header">

View File

@ -27,10 +27,7 @@
<button string="New Project Based on Template" name="duplicate_template" type="object" states="template" context="{'parent_id':parent_id}"/> <button string="New Project Based on Template" name="duplicate_template" type="object" states="template" context="{'parent_id':parent_id}"/>
<button name="reset_project" string="Reset as Project" type="object" states="template"/> <button name="reset_project" string="Reset as Project" type="object" states="template"/>
<button name="set_cancel" string="Cancel" type="object" states="open,pending"/> <button name="set_cancel" string="Cancel" type="object" states="open,pending"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="open,close" statusbar_colors='{"pending":"blue"}' readonly="1"/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="open,close" statusbar_colors='{"pending":"blue"}' select="1" readonly="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Project" layout="auto"> <sheet string="Project" layout="auto">
<group colspan="6" col="6"> <group colspan="6" col="6">
@ -323,10 +320,7 @@
states="open,pending" icon="gtk-go-back" attrs="{'invisible': [('stage_id','=', False)]}"/> states="open,pending" icon="gtk-go-back" attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="stage_next" string="Next Stage" type="object" <button name="stage_next" string="Next Stage" type="object"
states="open,pending" icon="gtk-go-forward" attrs="{'invisible': [('stage_id','=', False)]}"/> states="open,pending" icon="gtk-go-forward" attrs="{'invisible': [('stage_id','=', False)]}"/>
<div class="oe_right"> <field name="stage_id" widget="statusbar"/>
<field name="stage_id" nolabel="1" widget="statusbar"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Task edition" layout="auto"> <sheet string="Task edition" layout="auto">
<group colspan="6" col="6"> <group colspan="6" col="6">

View File

@ -70,10 +70,7 @@
attrs="{'invisible': [('stage_id','=', False)]}"/> attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="case_cancel" string="Cancel" type="object" <button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/> states="draft,open,pending"/>
<div class="oe_right"> <field name="stage_id" widget="statusbar"/>
<field name="stage_id" nolabel="1" widget="statusbar"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Issue Tracker Form" layout="auto"> <sheet string="Issue Tracker Form" layout="auto">
<group colspan="4" col="6"> <group colspan="4" col="6">

View File

@ -148,10 +148,7 @@
<button string="Pending" name="set_pending" states="open"/> <button string="Pending" name="set_pending" states="open"/>
<button string="Draft" name="set_draft" states="open"/> <button string="Draft" name="set_draft" states="open"/>
<button string="Cancel" name="set_cancel" states="draft,open,pending"/> <button string="Cancel" name="set_cancel" states="draft,open,pending"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}' select="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Project Phase" layout="auto"> <sheet string="Project Phase" layout="auto">
<group colspan="6" col="6"> <group colspan="6" col="6">

View File

@ -32,10 +32,7 @@
<button name="action_done" states="open" string="Done" type="object" /> <button name="action_done" states="open" string="Done" type="object" />
<button name="action_draft" states="done,cancel" string="Reset to Draft" type="object" /> <button name="action_draft" states="done,cancel" string="Reset to Draft" type="object" />
<button name="action_cancel" states="draft,open" string="Cancel" type="object" /> <button name="action_cancel" states="draft,open" string="Cancel" type="object" />
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open"/>
<field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Planning by Account" layout="auto"> <sheet string="Planning by Account" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -60,10 +60,7 @@
<button type="action" string="Convert to Task" name="%(action_scrum_backlog_to_task)d" states="pending"/> <button type="action" string="Convert to Task" name="%(action_scrum_backlog_to_task)d" states="pending"/>
<button type="object" string="Set to Draft" name="button_draft" states="cancel,done"/> <button type="object" string="Set to Draft" name="button_draft" states="cancel,done"/>
<button type="object" string="Cancel" name="button_cancel" states="draft,open,pending"/> <button type="object" string="Cancel" name="button_cancel" states="draft,open,pending"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open"/>
<field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Product backlog" layout="auto"> <sheet string="Product backlog" layout="auto">
<group colspan="4" col="8" class="oe_form_header"> <group colspan="4" col="8" class="oe_form_header">
@ -235,10 +232,7 @@
<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d" <button name="%(project_scrum.report_scrum_sprint_burndown_chart)d"
string="Burndown Chart" type="action"/> string="Burndown Chart" type="action"/>
<button type="object" string="Set to Draft" name="button_draft" states="cancel,done"/> <button type="object" string="Set to Draft" name="button_draft" states="cancel,done"/>
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,open"/>
<field name="state" readonly="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Scrum Sprint" layout="auto"> <sheet string="Scrum Sprint" layout="auto">
<group colspan="4" col="6" class="oe_form_header"> <group colspan="4" col="6" class="oe_form_header">

View File

@ -144,10 +144,7 @@
<button name="view_picking" string="Receive Products" type="object" attrs="{'invisible': ['|', ('shipped','=',True), ('state','!=', 'approved')]}"/> <button name="view_picking" string="Receive Products" type="object" attrs="{'invisible': ['|', ('shipped','=',True), ('state','!=', 'approved')]}"/>
<button name="action_cancel_draft" states="cancel,sent,confirmed" string="Set to Draft" type="object"/> <button name="action_cancel_draft" states="cancel,sent,confirmed" string="Set to Draft" type="object"/>
<button name="purchase_cancel" states="draft,confirmed,wait_auth,sent" string="Cancel"/> <button name="purchase_cancel" states="draft,confirmed,wait_auth,sent" string="Cancel"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,approved,done" statusbar_colors='{"except_picking":"red","except_invoice":"red","confirmed":"blue","wait":"blue"}' readonly="1"/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,approved,done" statusbar_colors='{"except_picking":"red","except_invoice":"red","confirmed":"blue","wait":"blue"}' readonly="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Purchase Order" layout="auto"> <sheet string="Purchase Order" layout="auto">
<group col="6" colspan="4"> <group col="6" colspan="4">

View File

@ -38,10 +38,7 @@
<button name="tender_reset" states="done,cancel" string="Reset to Draft" type="object" /> <button name="tender_reset" states="done,cancel" string="Reset to Draft" type="object" />
<button name="tender_done" states="in_progress" string="Done" type="object" /> <button name="tender_done" states="in_progress" string="Done" type="object" />
<button name="tender_cancel" states="draft,in_progress" string="Cancel" type="object" /> <button name="tender_cancel" states="draft,in_progress" string="Cancel" type="object" />
<div class="oe_right"> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,in_progress,done" statusbar_colors='{"in_progress":"blue"}'/>
<field name="state" nolabel="1" select="1" readonly ="1" widget="statusbar" statusbar_visible="draft,in_progress,done" statusbar_colors='{"in_progress":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Purchase Requisition" layout="auto"> <sheet string="Purchase Requisition" layout="auto">
<group colspan="4" col="6"> <group colspan="4" col="6">

View File

@ -118,10 +118,7 @@
<button name="action_cancel" states="manual,progress" string="Cancel" type="object"/> <button name="action_cancel" states="manual,progress" string="Cancel" type="object"/>
<button name="ship_cancel" states="shipping_except" string="Cancel"/> <button name="ship_cancel" states="shipping_except" string="Cancel"/>
<button name="invoice_cancel" states="invoice_except" string="Cancel"/> <button name="invoice_cancel" states="invoice_except" string="Cancel"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,sent,progress,invoiced,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,sent,progress,invoiced,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Sales Order" layout="auto"> <sheet string="Sales Order" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -1378,10 +1378,7 @@
<button name="force_assign" states="confirmed" string="Set Available" type="object"/> <button name="force_assign" states="confirmed" string="Set Available" type="object"/>
<button name="%(action_partial_move_server)d" string="Process" type="action" states="assigned"/> <button name="%(action_partial_move_server)d" string="Process" type="action" states="assigned"/>
<button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object"/> <button name="action_cancel" states="assigned,confirmed" string="_Cancel" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
<field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,confirmed,assigned,done" statusbar_colors='{"waiting":"blue","confirmed":"blue"}'/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Receive Products" layout="auto"> <sheet string="Receive Products" layout="auto">
<group colspan="4" col="7"> <group colspan="4" col="7">

View File

@ -16,10 +16,7 @@
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="button_open" string="Open" states="draft" type="object"/> <button name="button_open" string="Open" states="draft" type="object"/>
<button name="button_close" string="Close" states="open" type="object"/> <button name="button_close" string="Close" states="open" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,open"/>
<field name="state" select="1" widget="statusbar" nolabel="1" statusbar_visible="draft,open"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Stock Periods" layout="auto"> <sheet string="Stock Periods" layout="auto">
<group class="oe_form_header"> <group class="oe_form_header">
@ -87,10 +84,7 @@
<form layout="manual"> <form layout="manual">
<div class="oe_form_topbar"> <div class="oe_form_topbar">
<button name="action_validate" string="Approve" states="draft" type="object" /> <button name="action_validate" string="Approve" states="draft" type="object" />
<div class="oe_right"> <field name="state" widget="statusbar"/>
<field name="state" widget="statusbar" nolabel="1"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Stock and Sales Forecast" layout="auto"> <sheet string="Stock and Sales Forecast" layout="auto">
<group colspan = "4" col = "4" class="oe_form_header"> <group colspan = "4" col = "4" class="oe_form_header">

View File

@ -18,10 +18,7 @@
<button name="set_process" states="draft" string="Process" type="object"/> <button name="set_process" states="draft" string="Process" type="object"/>
<button name="set_done" states="running" string="Stop" type="object"/> <button name="set_done" states="running" string="Stop" type="object"/>
<button name="set_draft" states="done" string="Set to Draft" type="object"/> <button name="set_draft" states="done" string="Set to Draft" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,running"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,running"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Subscriptions" layout="auto"> <sheet string="Subscriptions" layout="auto">
<group col="6" colspan="4" class="oe_form_header"> <group col="6" colspan="4" class="oe_form_header">

View File

@ -23,10 +23,7 @@
<button name="survey_open" string="Open" states="cancel,close" type="object"/> <button name="survey_open" string="Open" states="cancel,close" type="object"/>
<button name="survey_close" string="Close" states="open" type="object"/> <button name="survey_close" string="Close" states="open" type="object"/>
<button name="survey_cancel" string="Cancel" states="open" type="object"/> <button name="survey_cancel" string="Cancel" states="open" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="open,close"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="open,close"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Survey" layout="auto"> <sheet string="Survey" layout="auto">
<field name="title" select="1"/> <field name="title" select="1"/>
@ -1065,10 +1062,7 @@
<button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object"/> <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object"/>
<button name="survey_req_done" string="Done" states="waiting_answer" type="object"/> <button name="survey_req_done" string="Done" states="waiting_answer" type="object"/>
<button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/> <button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/>
<div class="oe_right"> <field name="state" widget="statusbar" statusbar_visible="draft,waiting_answer"/>
<field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,waiting_answer"/>
</div>
<div class="oe_clear"/>
</div> </div>
<sheet string="Survey Request" layout="auto"> <sheet string="Survey Request" layout="auto">
<group class="oe_form_header"> <group class="oe_form_header">