status 'abgeglichen' ok + test

This commit is contained in:
Frederik Jaeckel 2022-11-16 21:56:02 +01:00
parent 403729d75f
commit 70fd1a83fb
9 changed files with 99 additions and 28 deletions

View file

@ -71,7 +71,7 @@ class OpenCashBook(OLineMixin, Wizard):
Button('Cancel', 'end', 'tryton-cancel'),
Button('Open', 'open_', 'tryton-ok', default=True),
])
open_ = StateAction('cashbook.act_line_view')
open_ = StateAction('cashbook.act_line_view2')
def transition_check(self):
""" dont ask and open cashbook if user has 1x only
@ -141,7 +141,7 @@ class OpenCashBookTree(OLineMixin, Wizard):
__name__ = 'cashbook.open_lines_tree'
start_state = 'open_'
open_ = StateAction('cashbook.act_line_view')
open_ = StateAction('cashbook.act_line_view2')
def do_open_(self, action):
""" open view from doubleclick