Eval company or -1 in context m2o fields #163427

This commit is contained in:
Raimon Esteve 2023-11-16 09:17:16 +01:00
parent 7afc01e334
commit ab42363870
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class GalateaWebSite(metaclass=PoolMeta):
'Catalog Category Menu', domain=[
('esale_active', '=', True),
], context={
'company': Eval('company'),
'company': Eval('company', -1),
}, depends=['company'],
help='Main menu of catalog category')