Add model, record and records attribute on Wizard

issue9421
review309861012
This commit is contained in:
Cédric Krier committed 2020-07-07 23:56:09 +02:00
1 parent 67a5fe7841
commit 15f301332a
1 file changed
+1 -1
+1 -1
View File
@@ -293,7 +293,7 @@ class OpenAccount(Wizard):
def do_open_(self, action):
action['pyson_domain'] = [
('account', '=', Transaction().context['active_id']),
('account', '=', self.record.id if self.record else None),
]
if Transaction().context.get('start_date'):
action['pyson_domain'].append(