changeset ce5e760efe23 in modules/account_payment_clearing:5.4
details:
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=ce5e760efe23
description:
Use payment company as clearing move company
issue9736
review328501002
(grafted from 8437e3ac1ac15cd22f5d5ac1703a83a202a2e17a)
diffstat:
payment.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d6cf0caeba26 -r ce5e760efe23 payment.py
--- a/payment.py Sat Apr 04 16:30:24 2020 +0200
+++ b/payment.py Tue Oct 20 12:55:16 2020 +0200
@@ -169,7 +169,7 @@
local_amount = self.amount
move = Move(journal=self.journal.clearing_journal, origin=self,
- date=date, period=period)
+ date=date, period=period, company=self.company)
line = Line()
if self.kind == 'payable':
line.debit, line.credit = local_amount, 0