Fix warehouse default value: use list instead of string for domain.

This commit is contained in:
Bertrand Chenal committed 2009-01-26 22:29:00 +01:00
1 parent 3af1de18c4
commit 591fbccd77
1 file changed
+1 -1
+1 -1
View File
@@ -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'",