Config: setting for booking-wizard - 'fixate'
This commit is contained in:
parent
865a2c7fa6
commit
400ebed692
7 changed files with 62 additions and 3 deletions
|
@ -157,7 +157,8 @@ class EnterBookingWizard(Wizard):
|
|||
book_ids.append(getattr(cfg1, x, None).id)
|
||||
|
||||
result = {
|
||||
'fixate': False,
|
||||
'fixate': cfg1.fixate
|
||||
if cfg1 and cfg1.fixate is not None else False,
|
||||
'cashbooks': [x.id for x in Cashbook.search([
|
||||
('state', '=', 'open'),
|
||||
('btype', '!=', None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue