Missing on_change on party
(transplanted from e3c518c64971fddc7f52462513b274a4a4f5e0a5)
This commit is contained in:
1 parent
65a7adbed4
commit
4983f0ccb5
1 file changed
+1
-1
+1
-1
@@ -30,7 +30,7 @@ class SaleOpportunity(ModelWorkflow, ModelSQL, ModelView):
|
||||
_rec_name = 'description'
|
||||
|
||||
party = fields.Many2One('party.party', 'Party', required=True, select=1,
|
||||
states=_STATES_STOP, depends=['state'])
|
||||
on_change=['party'], states=_STATES_STOP, depends=['state'])
|
||||
address = fields.Many2One('party.address', 'Address',
|
||||
domain=[('party', '=', Eval('party'))],
|
||||
select=2, depends=['party', 'state'],
|
||||
|
||||
Reference in new issue
Block a user