Eval company or -1 in context m2o fields #163427
This commit is contained in:
parent
7afc01e334
commit
ab42363870
|
@ -34,7 +34,7 @@ class GalateaWebSite(metaclass=PoolMeta):
|
||||||
'Catalog Category Menu', domain=[
|
'Catalog Category Menu', domain=[
|
||||||
('esale_active', '=', True),
|
('esale_active', '=', True),
|
||||||
], context={
|
], context={
|
||||||
'company': Eval('company'),
|
'company': Eval('company', -1),
|
||||||
}, depends=['company'],
|
}, depends=['company'],
|
||||||
help='Main menu of catalog category')
|
help='Main menu of catalog category')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue