diff options
| author | Olivier Dony <odo@openerp.com> | 2013-02-25 14:38:04 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-02-25 14:38:04 +0100 |
| commit | cd0714b78d8599bd62af2cdcc159db33e82b9c68 (patch) | |
| tree | 601905d341dc081491ff9dc9510dd1376d0fcaaa | |
| parent | 9bb28d2dfed5a5eb8210dc2b3f19e70f6196f9c8 (diff) | |
[FIX] all: change confusing labels on Cancel buttons in form views
lp bug: https://launchpad.net/bugs/1103426 fixed
bzr revid: odo@openerp.com-20130225133804-k7012p8p81e6g8vg
22 files changed, 35 insertions, 35 deletions
diff --git a/addons/account_budget/account_budget_view.xml b/addons/account_budget/account_budget_view.xml index 35194e96b82..80c9b699183 100644 --- a/addons/account_budget/account_budget_view.xml +++ b/addons/account_budget/account_budget_view.xml @@ -99,7 +99,7 @@ <button string="Approve" name="validate" states="confirm" type="workflow" class="oe_highlight"/> <button string="Done" name="done" states="validate" type="workflow" class="oe_highlight"/> <button name="draft" states="cancel" string="Reset to Draft" type="workflow" /> - <button string="Cancel" name="cancel" states="confirm,validate" type="workflow"/> + <button string="Cancel Budget" name="cancel" states="confirm,validate" type="workflow"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/> </header> <sheet string="Budget"> diff --git a/addons/account_cancel/account_cancel_view.xml b/addons/account_cancel/account_cancel_view.xml index 4ed8093a0aa..37e9dcd1ee8 100644 --- a/addons/account_cancel/account_cancel_view.xml +++ b/addons/account_cancel/account_cancel_view.xml @@ -18,7 +18,7 @@ <field name="inherit_id" ref="account.invoice_form"/> <field name="arch" type="xml"> <xpath expr="//button[@name='invoice_cancel']" position="replace"> - <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="account.group_account_invoice"/> + <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel Invoice" groups="account.group_account_invoice"/> </xpath> </field> </record> @@ -29,7 +29,7 @@ <field name="inherit_id" ref="account.invoice_supplier_form"/> <field name="arch" type="xml"> <xpath expr="//button[@name='invoice_cancel']" position="replace"> - <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="account.group_account_invoice"/> + <button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel Invoice" groups="account.group_account_invoice"/> </xpath> </field> </record> diff --git a/addons/account_payment/account_payment_view.xml b/addons/account_payment/account_payment_view.xml index e07043c495a..c2f27a576a2 100644 --- a/addons/account_payment/account_payment_view.xml +++ b/addons/account_payment/account_payment_view.xml @@ -88,7 +88,7 @@ <button name="open" states="draft" string="Confirm Payments" class="oe_highlight"/> <button name="set_done" states="open" string="Make Payments" type="object" class="oe_highlight"/> <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 Payments"/> <field name="state" widget="statusbar" statusbar_visible="draft,open"/> </header> <sheet string="Payment order"> diff --git a/addons/account_voucher/account_voucher_view.xml b/addons/account_voucher/account_voucher_view.xml index 1e1481c3f2b..f429480f656 100644 --- a/addons/account_voucher/account_voucher_view.xml +++ b/addons/account_voucher/account_voucher_view.xml @@ -43,8 +43,8 @@ <form string="Accounting Voucher" version="7.0"> <header> <button name="proforma_voucher" string="Post" states="draft" class="oe_highlight"/> - <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 Voucher" type="object" states="posted" confirm="Are you sure you want to unreconcile this record?"/> + <button name="cancel_voucher" string="Cancel Voucher" states="draft,proforma" /> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/> </header> diff --git a/addons/account_voucher/voucher_payment_receipt_view.xml b/addons/account_voucher/voucher_payment_receipt_view.xml index b869f6c83b2..de873c9195c 100644 --- a/addons/account_voucher/voucher_payment_receipt_view.xml +++ b/addons/account_voucher/voucher_payment_receipt_view.xml @@ -126,7 +126,7 @@ <form string="Voucher Payment" version="7.0"> <header> <button name="proforma_voucher" string="Validate" states="draft" invisible="context.get('line_type', False)" class="oe_highlight"/> - <button name="cancel_voucher" string="Cancel" states="draft,proforma" invisible="context.get('line_type', False)"/> + <button name="cancel_voucher" string="Cancel Voucher" 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="action_cancel_draft" type="object" states="cancel" string="Set to Draft" invisible="context.get('line_type', False)"/> <field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/> @@ -394,7 +394,7 @@ <form string="Receipt" version="7.0"> <header invisible="context.get('line_type', False)"> <button name="proforma_voucher" string="Validate" states="draft" class="oe_highlight"/> - <button name="cancel_voucher" string="Cancel" states="draft,proforma"/> + <button name="cancel_voucher" string="Cancel Receipt" states="draft,proforma"/> <button name="cancel_voucher" string="Unreconcile" type="object" states="posted" confirm="Are you sure to unreconcile and cancel this record ?"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/> diff --git a/addons/account_voucher/voucher_sales_purchase_view.xml b/addons/account_voucher/voucher_sales_purchase_view.xml index 9a3841a13f0..83adaf2828b 100644 --- a/addons/account_voucher/voucher_sales_purchase_view.xml +++ b/addons/account_voucher/voucher_sales_purchase_view.xml @@ -63,8 +63,8 @@ <header> <button name="proforma_voucher" string="Validate" states="draft" class="oe_highlight"/> <button name="%(act_pay_voucher)d" context="{'narration':narration, 'title':'Customer Payment', 'type':'receipt', 'partner_id':partner_id, 'reference':reference, 'amount':amount}" type="action" string="Validate Payment" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_highlight"/> - <button name="cancel_voucher" string="Cancel" states="draft,proforma" /> - <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure you want to cancel this receipt?"/> + <button name="cancel_voucher" string="Cancel Voucher" states="draft,proforma" /> + <button name="cancel_voucher" string="Cancel Voucher" type="object" states="posted" confirm="Are you sure you want to cancel this receipt?"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/> </header> @@ -208,8 +208,8 @@ <header> <button name="proforma_voucher" string="Validate" states="draft" class="oe_highlight"/> <button name="%(act_pay_bills)d" context="{'narration':narration, 'title':'Bill Payment', 'type':'payment', 'partner_id': partner_id, 'reference':reference}" type="action" string="Pay Bill" attrs="{'invisible':['|',('pay_now','=','pay_now'),'|',('state','=','draft'), ('paid','=',True)]}" class="oe_highlight"/> - <button name="cancel_voucher" string="Cancel" states="draft,proforma" /> - <button name="cancel_voucher" string="Cancel" type="object" states="posted" confirm="Are you sure you want to cancel this receipt?"/> + <button name="cancel_voucher" string="Cancel Voucher" states="draft,proforma" /> + <button name="cancel_voucher" string="Cancel Voucher" type="object" states="posted" confirm="Are you sure you want to cancel this receipt?"/> <button name="action_cancel_draft" type="object" states="cancel" string="Set to Draft"/> <field name="state" widget="statusbar" statusbar_visible="draft,posted" statusbar_colors='{"proforma":"blue"}'/> </header> diff --git a/addons/base_calendar/base_calendar_view.xml b/addons/base_calendar/base_calendar_view.xml index e3ad980dae7..92ffad4be9a 100644 --- a/addons/base_calendar/base_calendar_view.xml +++ b/addons/base_calendar/base_calendar_view.xml @@ -70,7 +70,7 @@ <header> <button name="do_confirm" string="Confirm" states="tentative,cancelled" type="object" class="oe_highlight"/> <button name="do_tentative" states="confirmed,cancelled" string="Uncertain" type="object" class="oe_highlight"/> - <button name="do_cancel" string="Cancel" states="tentative,confirmed" type="object"/> + <button name="do_cancel" string="Cancel Event" states="tentative,confirmed" type="object"/> <field name="state" widget="statusbar" statusbar_visible="tentative,confirmed" statusbar_colors='{"proforma":"blue"}'/> </header> diff --git a/addons/crm/crm_lead_view.xml b/addons/crm/crm_lead_view.xml index 87c130547cd..6979b782f91 100644 --- a/addons/crm/crm_lead_view.xml +++ b/addons/crm/crm_lead_view.xml @@ -97,7 +97,7 @@ states="draft,open,pending" help="Convert to Opportunity" class="oe_highlight"/> <button name="case_reset" string="Reset" type="object" states="cancel"/> - <button name="case_cancel" string="Cancel" type="object" + <button name="case_cancel" string="Cancel Case" type="object" states="draft,open,pending"/> <field name="stage_id" widget="statusbar" clickable="True" on_change="onchange_stage_id(stage_id)"/> diff --git a/addons/crm/crm_phonecall_view.xml b/addons/crm/crm_phonecall_view.xml index 74b2ecd5069..de424c67e08 100644 --- a/addons/crm/crm_phonecall_view.xml +++ b/addons/crm/crm_phonecall_view.xml @@ -73,7 +73,7 @@ states="open,pending"/> <button name="case_reset" string="Reset to Todo" type="object" states="cancel"/> - <button name="case_cancel" string="Cancel" type="object" + <button name="case_cancel" string="Cancel Call" type="object" states="draft,open,pending"/> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="open,done"/> </header> diff --git a/addons/crm_helpdesk/crm_helpdesk_view.xml b/addons/crm_helpdesk/crm_helpdesk_view.xml index 1640b9d0318..5f3492387a3 100644 --- a/addons/crm_helpdesk/crm_helpdesk_view.xml +++ b/addons/crm_helpdesk/crm_helpdesk_view.xml @@ -31,8 +31,8 @@ <header> <button name="case_open" string="Open" type="object" class="oe_highlight" states="draft,pending"/> - <button name="case_close" string="Close" type="object" states="draft,pending"/> - <button name="case_close" string="Close" type="object" states="open" class="oe_highlight"/> + <button name="case_close" string="Close Case" type="object" states="draft,pending"/> + <button name="case_close" string="Close Case" type="object" states="open" class="oe_highlight"/> <button name="case_pending" string="Pending" type="object" states="draft"/> <button name="case_pending" string="Pending" type="object" @@ -41,7 +41,7 @@ states="cancel,done"/> <button name="case_escalate" string="Escalate" type="object" states="open,draft,pending"/> - <button name="case_cancel" string="Cancel" type="object" + <button name="case_cancel" string="Cancel Case" type="object" states="draft,open,pending"/> <field name="state" nolabel="1" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/> </header> diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml index 52b288fdad5..2462daa6301 100644 --- a/addons/hr_evaluation/hr_evaluation_view.xml +++ b/addons/hr_evaluation/hr_evaluation_view.xml @@ -160,7 +160,7 @@ <button name="button_final_validation" string="Validate Appraisal" states="wait" type="object" class="oe_highlight"/> <button name="button_done" string="Done" states="progress" type="object" class="oe_highlight"/> <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 Appraisal" states="draft,wait,progress" type="object"/> <field name="state" widget="statusbar" statusbar_visible="draft,progress,wait,done" statusbar_colors='{"progress":"blue"}'/> </header> <sheet> @@ -282,7 +282,7 @@ <field name="arch" type="xml"> <form string="Interview Appraisal" version="7.0"> <header> - <button string="Cancel" name="survey_req_cancel" type="object" + <button string="Cancel Survey" name="survey_req_cancel" type="object" states="draft,waiting_answer" class="oe_left"/> <button string="Print Survey" name="action_print_survey" type="object" states="draft" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0}" diff --git a/addons/hr_payroll/hr_payroll_view.xml b/addons/hr_payroll/hr_payroll_view.xml index c87d36de591..ccd87ba2616 100644 --- a/addons/hr_payroll/hr_payroll_view.xml +++ b/addons/hr_payroll/hr_payroll_view.xml @@ -217,7 +217,7 @@ <button string="Refund" name="refund_sheet" states="confirm,done" type='object' /> <button string="Set to Draft" name="draft" states="cancel"/> <button string="Compute Sheet" name="compute_sheet" type="object" states="draft" class="oe_highlight"/> - <button string="Cancel" name="cancel_sheet" states="draft,hr_check,confirm,verify"/> + <button string="Cancel Payslip" name="cancel_sheet" states="draft,hr_check,confirm,verify"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/> </header> <sheet> diff --git a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml index 37d2f865770..51c63c730ff 100644 --- a/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml +++ b/addons/l10n_in_hr_payroll/l10n_in_hr_payroll_view.xml @@ -80,7 +80,7 @@ <header> <button name="confirm_sheet" string="Confirm Sheet" states="draft" type="object" class="oe_highlight"/> <button name="compute_advice" string="Compute Advice" states="draft" type="object" class="oe_highlight"/> - <button name="cancel_sheet" string="Cancel" states="draft" type="object"/> + <button name="cancel_sheet" string="Cancel Advice" states="draft" type="object"/> <button name="set_to_draft" string="Set to Draft" states="cancel,confirm" type="object"/> <div class="oe_right"> <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft"/> diff --git a/addons/mail/mail_mail_view.xml b/addons/mail/mail_mail_view.xml index 72d41e33a84..b6c4fc55977 100644 --- a/addons/mail/mail_mail_view.xml +++ b/addons/mail/mail_mail_view.xml @@ -75,7 +75,7 @@ <field name="type" invisible="1"/> <button name="send" string="Send Now" type="object" icon="gtk-media-play" states='outgoing'/> <button name="mark_outgoing" string="Retry" type="object" icon="gtk-redo" states='exception,cancel'/> - <button name="cancel" string="Cancel" type="object" icon="terp-gtk-stop" states='outgoing'/> + <button name="cancel" string="Cancel Email" type="object" icon="terp-gtk-stop" states='outgoing'/> </tree> </field> </record> diff --git a/addons/marketing_campaign/marketing_campaign_view.xml b/addons/marketing_campaign/marketing_campaign_view.xml index 2b479be709c..2d7501a8333 100644 --- a/addons/marketing_campaign/marketing_campaign_view.xml +++ b/addons/marketing_campaign/marketing_campaign_view.xml @@ -59,7 +59,7 @@ <button name="state_running_set" string="Run" states="draft" class="oe_highlight"/> <button name="state_done_set" string="Done" states="running" class="oe_highlight"/> <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 Campaign" states="running"/> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/> </header> <sheet string="Campaign"> @@ -190,7 +190,7 @@ <button name="state_running_set" string="Run" states="draft" class="oe_highlight"/> <button name="state_done_set" string="Close" states="running" class="oe_highlight"/> <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 Segment" states="running"/> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/> </header> <sheet string="Segments" > @@ -387,7 +387,7 @@ <header> <button string="Process" states="todo" name="process" 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 Workitem" states="todo,exception" name="button_cancel" type="object"/> <field name="state" readonly="True" widget="statusbar" statusbar_visible="todo,done" statusbar_colors='{"exception":"red"}'/> <button string="Preview" states="todo" name="preview" icon="gtk-zoom-fit" type="object"/> </header> diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 00e8369e6b7..ba509c970c7 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -625,8 +625,8 @@ <button name="force_production" states="picking_except" string="Force Reservation" type="object"/> <button name="button_produce" states="ready" string="Mark as Started"/> <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="action_cancel" type="object" states="confirmed" string="Cancel"/> + <button name="button_cancel" states="draft,ready,in_production,picking_except" string="Cancel Production"/> + <button name="action_cancel" type="object" states="confirmed" string="Cancel Production"/> <field name="state" widget="statusbar" statusbar_visible="draft,ready,in_production,done" statusbar_colors='{"picking_except":"red","confirmed":"blue"}'/> </header> <sheet> diff --git a/addons/mrp_operations/mrp_operations_view.xml b/addons/mrp_operations/mrp_operations_view.xml index dbe5ed83d0d..207c5d975d7 100644 --- a/addons/mrp_operations/mrp_operations_view.xml +++ b/addons/mrp_operations/mrp_operations_view.xml @@ -10,7 +10,7 @@ <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_cancel" string="Cancel Order" 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_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"/> diff --git a/addons/procurement/procurement_view.xml b/addons/procurement/procurement_view.xml index a59838a3a01..747111416c4 100644 --- a/addons/procurement/procurement_view.xml +++ b/addons/procurement/procurement_view.xml @@ -47,7 +47,7 @@ <button name="button_confirm" states="draft" string="Confirm" class="oe_highlight"/> <button name="button_check" states="confirmed" string="Run Procurement" class="oe_highlight"/> <button name="button_restart" states="exception" string="Retry" class="oe_highlight"/> - <button name="button_cancel" states="draft,exception,waiting" string="Cancel"/> + <button name="button_cancel" states="draft,exception,waiting" string="Cancel Procurement"/> <field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,confirmed" /> </header> <sheet> diff --git a/addons/project_long_term/project_long_term_view.xml b/addons/project_long_term/project_long_term_view.xml index e8e21caab0a..4066b6133c1 100644 --- a/addons/project_long_term/project_long_term_view.xml +++ b/addons/project_long_term/project_long_term_view.xml @@ -146,7 +146,7 @@ <button string="Done" name="set_done" states="pending,open"/> <button string="Pending" name="set_pending" states="open"/> <button string="Draft" name="set_draft" states="open"/> - <button string="Cancel" name="set_cancel" states="draft,open,pending"/> + <button string="Cancel Phase" name="set_cancel" states="draft,open,pending"/> <field name="state" widget="statusbar" statusbar_visible="draft,open,done" statusbar_colors='{"pending":"blue"}'/> </header> <sheet> diff --git a/addons/purchase_requisition/purchase_requisition_view.xml b/addons/purchase_requisition/purchase_requisition_view.xml index 230c81a0bfc..55427de6573 100644 --- a/addons/purchase_requisition/purchase_requisition_view.xml +++ b/addons/purchase_requisition/purchase_requisition_view.xml @@ -33,7 +33,7 @@ <button name="tender_in_progress" states="draft" string="Send to Suppliers" type="object" class="oe_highlight"/> <button name="tender_reset" states="done,cancel" string="Reset to Draft" type="object" /> <button name="tender_done" states="in_progress" string="Purchase Done" type="object" class="oe_highlight"/> - <button name="tender_cancel" states="draft,in_progress" string="Cancel" type="object" /> + <button name="tender_cancel" states="draft,in_progress" string="Cancel Requisition" type="object" /> <field name="state" widget="statusbar" statusbar_visible="draft,in_progress,done" statusbar_colors='{"in_progress":"blue"}'/> </header> <sheet> diff --git a/addons/sale_stock/sale_stock_view.xml b/addons/sale_stock/sale_stock_view.xml index bebb95f0088..770a9ac3805 100644 --- a/addons/sale_stock/sale_stock_view.xml +++ b/addons/sale_stock/sale_stock_view.xml @@ -43,7 +43,7 @@ attrs="{'invisible': ['|','|','|',('picking_ids','=',False),('picking_ids','=',[]), ('state', 'not in', ('progress','manual')),('shipped','=',True)]}" groups="base.group_user"/> </xpath> <xpath expr="//button[@name='action_cancel']" position="after"> - <button name="ship_cancel" states="shipping_except" string="Cancel"/> + <button name="ship_cancel" states="shipping_except" string="Cancel Order"/> </xpath> <field name="state" position="replace"> <field name="state" widget="statusbar" statusbar_visible="draft,sent,progress,invoiced,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/> diff --git a/addons/survey/survey_view.xml b/addons/survey/survey_view.xml index 7da3f26fc2f..f41d257cf63 100644 --- a/addons/survey/survey_view.xml +++ b/addons/survey/survey_view.xml @@ -23,7 +23,7 @@ <header> <button name="survey_open" string="Open" states="cancel,close" type="object"/> <button name="survey_close" string="Close" states="open" type="object" class="oe_highlight"/> - <button name="survey_cancel" string="Cancel" states="open" type="object"/> + <button name="survey_cancel" string="Cancel Survey" states="open" type="object"/> <field name="state" widget="statusbar" statusbar_visible="open,close"/> </header> <sheet> @@ -1117,7 +1117,7 @@ <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object"/> <button name="survey_req_waiting_answer" string="Waiting Answer" states="draft" type="object" class="oe_highlight"/> <button name="survey_req_done" string="Done" states="waiting_answer" type="object" class="oe_highlight"/> - <button name="survey_req_cancel" string="Cancel" states="waiting_answer" type="object"/> + <button name="survey_req_cancel" string="Cancel Request" states="waiting_answer" type="object"/> <field name="state" widget="statusbar" statusbar_visible="draft,waiting_answer"/> </header> <sheet string="Survey Request"> |
