Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
be791734 by Cédric Krier at 2023-03-24T12:33:54+01:00
Ensure clearing account is from the same company as the payment journal
Closes #12159
- - - - -
1 changed file:
- modules/account_payment_clearing/payment.py
Changes:
=====================================
modules/account_payment_clearing/payment.py
=====================================
@@ -19,6 +19,7 @@
__name__ = 'account.payment.journal'
clearing_account = fields.Many2One('account.account', 'Clearing Account',
domain=[
+ ('company', '=', Eval('company', -1)),
('type', '!=', None),
('closed', '!=', True),
('party_required', '=', False),
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/be791734c17fd815f383a7d3fbcb72e0ef06cb47
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/be791734c17fd815f383a7d3fbcb72e0ef06cb47
You're receiving this email because of your account on foss.heptapod.net.