From 5feacdccef81f4af63f8d097986bdfce6e3d6cad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 4 Dec 2021 21:20:55 +0100 Subject: [PATCH] Fill company on the waiting commission move --- commission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commission.py b/commission.py index 387257e258..f61e404ccf 100644 --- a/commission.py +++ b/commission.py @@ -74,7 +74,7 @@ class Commission(metaclass=PoolMeta): period = Period.find(self.agent.company.id, date=date) move = Move(journal=self.get_journal(), origin=self, - date=date, period=period) + date=date, period=period, company=self.agent.company) amount = Currency.compute(self.currency, self.amount, self.agent.company.currency) line = Line()