diff options
| -rw-r--r-- | addons/repair/views/repair_views.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/repair/views/repair_views.xml b/addons/repair/views/repair_views.xml index ca2f0fd5aec..937301a7176 100644 --- a/addons/repair/views/repair_views.xml +++ b/addons/repair/views/repair_views.xml @@ -24,14 +24,14 @@ <field name="arch" type="xml"> <form string="Repair Order"> <header> - <button name="action_send_mail" states="draft" string="Send Quotation" type="object"/> - <button name="print_repair_order" states="draft" string="Print Quotation" type="object"/> <button name="action_validate" states="draft" type="object" string="Confirm Repair" class="oe_highlight"/> <button name="action_repair_start" attrs="{'invisible': ['&', ('state','!=','confirmed'), '!', '&', ('state','=','ready'), ('invoice_method','=','b4repair')]}" type="object" string="Start Repair" class="oe_highlight"/> - <button name="action_repair_cancel_draft" states="cancel" string="Set to Draft" type="object"/> <button name="action_repair_end" states="under_repair" type="object" string="End Repair" class="oe_highlight"/> <button name="action_repair_invoice_create" states="2binvoiced" type="object" string="Create Invoice" class="oe_highlight" groups="account.group_account_invoice"/> + <button name="action_send_mail" states="draft" string="Send Quotation" type="object"/> + <button name="print_repair_order" states="draft" string="Print Quotation" type="object"/> + <button name="action_repair_cancel_draft" states="cancel" string="Set to Draft" type="object"/> <button name="action_repair_cancel" string="Cancel Repair" type="object" attrs="{'invisible':['|',('invoice_method','!=','none'), ('state', 'not in',('confirmed','2binvoiced','ready','under_repair'))]}"/> <button name="action_repair_cancel" states="draft" type="object" string="Cancel Repair"/> <field name="state" widget="statusbar" statusbar_visible="draft,confirmed,done"/> |
