From 335a8afe79d0d25c91508d881d49d06c862b79f1 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Mon, 18 May 2015 14:52:06 +0200 Subject: [PATCH] [FIX] stock: remove state modifiers for field note in stock.picking Remove the state modifiers for field note in stock.picking in order to have a behavior which is consistent with sales orders or invoices. opw-639956 --- addons/stock/stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 9354fa0bf4f..f01e0995acc 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -642,7 +642,7 @@ class stock_picking(osv.osv): 'origin': fields.char('Source Document', size=64, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="Reference of the document", select=True), 'backorder_id': fields.many2one('stock.picking', 'Back Order of', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="If this shipment was split, then this field links to the shipment which contains the already processed part.", select=True), 'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."), - 'note': fields.text('Notes', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), + 'note': fields.text('Notes'), 'stock_journal_id': fields.many2one('stock.journal','Stock Journal', select=True, states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}), 'location_id': fields.many2one('stock.location', 'Location', states={'done':[('readonly', True)], 'cancel':[('readonly',True)]}, help="Keep empty if you produce at the location where the finished products are needed." \ "Set a location if you produce at a fixed location. This can be a partner location " \