mirror of
https://github.com/NaN-tic/trytond-activity.git
synced 2023-12-14 02:12:57 +01:00
Eval company or -1 in context m2o fields #163427
This commit is contained in:
parent
bb7b360461
commit
ec61388124
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class Activity(Workflow, ModelSQL, ModelView):
|
|||
location = fields.Char('Location')
|
||||
party = fields.Many2One('party.party', "Party",
|
||||
context={
|
||||
'company': Eval('company'),
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
depends=['company'])
|
||||
summary = fields.Function(fields.Char('Summary'), 'get_summary')
|
||||
|
|
Loading…
Reference in a new issue