Set company in the context of clearing journal
Closes #13591 (grafted from 20987ca4c2cacef09fa96c5d0b8d35150f5df00f) --HG-- branch : 6.0
This commit is contained in:
1 parent
f511dd33b4
commit
4fb9ed1582
2 files changed
+5
-1
No files matched your search
@@ -26,7 +26,10 @@ class Journal(metaclass=PoolMeta):
|
||||
states={
|
||||
'required': Bool(Eval('clearing_account')),
|
||||
},
|
||||
depends=['clearing_account'])
|
||||
context={
|
||||
'company': Eval('company', None),
|
||||
},
|
||||
depends=['clearing_account', 'company'])
|
||||
clearing_posting_delay = fields.TimeDelta(
|
||||
"Clearing Posting Delay",
|
||||
help="Post automatically the clearing moves after the delay.\n"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
[tryton]
|
||||
version=6.0.4
|
||||
depends:
|
||||
company
|
||||
account_payment
|
||||
ir
|
||||
extras_depend:
|
||||
|
||||
Reference in new issue
Block a user