From db1bc82390a4392d3cd111476b4840af9b629016 Mon Sep 17 00:00:00 2001 From: "Amit Patel (OpenERP)" Date: Fri, 27 Apr 2012 16:14:54 +0530 Subject: [PATCH] [IMP] bzr revid: apa@tinyerp.com-20120427104454-m070c4w0ia6m4knx --- addons/sale/sale.py | 2 +- addons/stock/stock.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"\