diff --git a/addons/sale/sale.py b/addons/sale/sale.py index 9caaa86878c..76980dd068f 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -209,8 +209,8 @@ class sale_order(osv.osv): ('progress', 'In Progress'), ('shipping_except', 'Shipping Exception'), ('invoice_except', 'Invoice Exception'), + ('cancel', 'Cancelled'), ('done', 'Done'), - ('cancel', 'Cancelled') ], 'Order State', readonly=True, help="Gives the state of the quotation or sales order. \nThe exception state is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception). \nThe 'Waiting Schedule' state is set when the invoice is confirmed but waiting for the scheduler to run on the order date.", select=True), 'date_order': fields.date('Date', required=True, readonly=True, select=True, states={'draft': [('readonly', False)]}), 'create_date': fields.datetime('Creation Date', readonly=True, select=True, help="Date on which sales order is created."), diff --git a/addons/stock/stock.py b/addons/stock/stock.py index dee8e2a6c25..087a9b4f166 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -632,8 +632,8 @@ class stock_picking(osv.osv): ('auto', 'Waiting Another Operation'), ('confirmed', 'Waiting Availability'), ('assigned', 'Ready to Process'), - ('done', 'Done'), ('cancel', 'Cancelled'), + ('done', 'Done'), ], 'State', readonly=True, select=True, help="* Draft: not confirmed yet and will not be scheduled until confirmed\n"\ "* Confirmed: still waiting for the availability of products\n"\ diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 2e68e5a9282..8d439a6ea40 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -701,7 +701,7 @@