From fcc3a7d7e7975c8f3b027db66a6af3aa2c9e31f6 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 20 Oct 2020 12:55:16 +0200 Subject: [PATCH] Use payment company as clearing move company issue9736 review328501002 --- payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payment.py b/payment.py index 996715c625..bbd7a49595 100644 --- a/payment.py +++ b/payment.py @@ -217,7 +217,7 @@ class Payment(metaclass=PoolMeta): 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