diff --git a/addons/account/account_invoice.py b/addons/account/account_invoice.py index d0f7579a86e..965fda9c804 100644 --- a/addons/account/account_invoice.py +++ b/addons/account/account_invoice.py @@ -201,11 +201,11 @@ class account_invoice(osv.osv): 'state': fields.selection([ ('draft','Draft'), + ('cancel','Cancelled'), ('proforma','Pro-forma'), ('proforma2','Pro-forma'), ('open','Open'), - ('paid','Paid'), - ('cancel','Cancelled') + ('paid','Paid') ],'State', select=True, readonly=True, help=' * The \'Draft\' state is used when a user is encoding a new and unconfirmed Invoice. \ \n* The \'Pro-forma\' when invoice is in Pro-forma state,invoice does not have an invoice number. \ diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 5a9e808bf2d..8fe6624525c 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -144,8 +144,20 @@ form 2 -
- + +
+