changeset 8e2eb7217c41 in modules/account_payment_clearing:5.0
details: 
https://hg.tryton.org/modules/account_payment_clearing?cmd=changeset;node=8e2eb7217c41
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 ada00fe75113 -r 8e2eb7217c41 payment.py
--- a/payment.py        Sat Apr 04 17:47:15 2020 +0200
+++ b/payment.py        Tue Oct 20 12:55:16 2020 +0200
@@ -168,7 +168,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

Reply via email to