changeset 2d7ba47702bf in modules/project_plan:default
details:
https://hg.tryton.org/modules/project_plan?cmd=changeset;node=2d7ba47702bf
description:
Add model, record and records attribute on Wizard
issue9421
review309861012
diffstat:
work.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (11 lines):
diff -r 3fdb953bd5e6 -r 2d7ba47702bf work.py
--- a/work.py Mon May 04 12:23:09 2020 +0200
+++ b/work.py Tue Jul 07 23:56:10 2020 +0200
@@ -651,6 +651,5 @@
leveling = StateTransition()
def transition_leveling(self):
- Work = Pool().get('project.work')
- Work(Transaction().context['active_id']).create_leveling()
+ self.record.create_leveling()
return 'end'