Change select=1|2 to select=True
issue2305 review269003
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ class PriceList(ModelSQL, ModelView):
|
||||
_description = __doc__
|
||||
name = fields.Char('Name', required=True, translate=True)
|
||||
company = fields.Many2One('company.company', 'Company', required=True,
|
||||
select=1, domain=[
|
||||
select=True, domain=[
|
||||
('id', If(Eval('context', {}).contains('company'), '=', '!='),
|
||||
Eval('context', {}).get('company', 0)),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user