Add model, record and records attribute on Wizard
issue9421 review309861012
This commit is contained in:
1 parent
67a5fe7841
commit
15f301332a
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user