changeset b4181b036567 in modules/stock_assign_manual:default
details:
https://hg.tryton.org/modules/stock_assign_manual?cmd=changeset;node=b4181b036567
description:
Remove record and model from wizard
issue9604
review298581002
diffstat:
stock.py | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diffs (22 lines):
diff -r 63a6db1e629f -r b4181b036567 stock.py
--- a/stock.py Sat Sep 12 16:24:11 2020 +0200
+++ b/stock.py Sun Oct 04 23:43:28 2020 +0200
@@ -90,18 +90,6 @@
skip = StateTransition()
assign = StateTransition()
- # TODO: move on Wizard
- @cached_property
- def model(self):
- pool = Pool()
- context = Transaction().context
- return pool.get(context['active_model'])
-
- @cached_property
- def record(self):
- context = Transaction().context
- return self.model(context['active_id'])
-
def transition_next_(self):
def next_move():