Fix warehouse default value: use list instead of string for domain.
This commit is contained in:
1 parent
3af1de18c4
commit
591fbccd77
1 file changed
+1
-1
+1
-1
@@ -318,7 +318,7 @@ class PackingOut(OSV):
|
||||
warehouse = fields.Many2One('stock.location', "Warehouse", required=True,
|
||||
states={
|
||||
'readonly': "state != 'draft'",
|
||||
}, domain="[('type', '=', 'warehouse')]")
|
||||
}, domain=[('type', '=', 'warehouse')])
|
||||
customer_location = fields.Many2One('stock.location', "Customer Location",
|
||||
required=True, states={
|
||||
'readonly': "state != 'draft'",
|
||||
|
||||
Reference in new issue
Block a user