changeset 07303e1cd11d in modules/account_payment_clearing:5.6
details:
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=07303e1cd11d
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 802065136a1d -r 07303e1cd11d payment.py
--- a/payment.py Mon May 04 12:10:29 2020 +0200
+++ b/payment.py Tue Oct 20 12:55:16 2020 +0200
@@ -172,7 +172,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