Set default printing option to action run by wizard
issue4575 review10971002
This commit is contained in:
1 parent
f4881e38a5
commit
f30b538665
1 file changed
+6
@@ -107,6 +107,12 @@ class Wizard(object):
|
||||
|
||||
def execute_actions():
|
||||
for action in result.get('actions', []):
|
||||
for k, v in [
|
||||
('direct_print', self.direct_print),
|
||||
('email_print', self.email_print),
|
||||
('email', self.email),
|
||||
]:
|
||||
action[0].setdefault(k, v)
|
||||
Action._exec_action(*action, context=self.context.copy())
|
||||
|
||||
if self.state == self.end_state:
|
||||
|
||||
Reference in new issue
Block a user