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