Allow to change the carrier until the shipment is done
issue4413 review5881002
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
* Allow to change the carrier until the shipment is done
|
||||
|
||||
Version 3.4.0 - 2014-10-20
|
||||
* Bug fixes (see mercurial logs for details)
|
||||
|
||||
|
||||
@@ -12,7 +12,8 @@ __metaclass__ = PoolMeta
|
||||
class ShipmentOut:
|
||||
__name__ = 'stock.shipment.out'
|
||||
carrier = fields.Many2One('carrier', 'Carrier', states={
|
||||
'readonly': Eval('state') != 'draft',
|
||||
'readonly': ~Eval('state').in_(['draft', 'waiting', 'assigned',
|
||||
'packed']),
|
||||
},
|
||||
depends=['state'])
|
||||
cost_currency = fields.Many2One('currency.currency',
|
||||
|
||||
Reference in New Issue
Block a user