Make package on stock move not editable instead of readonly
This commit is contained in:
1 parent
eb3fbb1882
commit
29890edba2
1 file changed
+4
-1
@@ -364,7 +364,10 @@ class Type(MeasurementsMixin, DeactivableMixin, ModelSQL, ModelView):
|
||||
class Move(metaclass=PoolMeta):
|
||||
__name__ = 'stock.move'
|
||||
package = fields.Many2One(
|
||||
'stock.package', "Package", readonly=True,
|
||||
'stock.package', "Package",
|
||||
states={
|
||||
'editable': False,
|
||||
},
|
||||
domain=[
|
||||
('company', '=', Eval('company', -1)),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user