Missing on_change on party

(transplanted from e3c518c64971fddc7f52462513b274a4a4f5e0a5)
This commit is contained in:
Cédric Krier committed 2012-09-23 16:25:47 +02:00
1 parent 65a7adbed4
commit 4983f0ccb5
1 file changed
+1 -1
+1 -1
View File
@@ -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'],