From 986a586feb7a2b2dcdd808ec97394fe69917c913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 3 Apr 2021 14:27:10 +0200 Subject: [PATCH] Add company pattern to multivalue calls issue10162 review335761002 --- project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.py b/project.py index b4aece214a..52f65c6ff0 100644 --- a/project.py +++ b/project.py @@ -554,7 +554,7 @@ class Work(Effort, Progress, Timesheet, metaclass=PoolMeta): product=product.rec_name)) else: invoice_line.account = account_config.get_multivalue( - 'default_category_account_revenue') + 'default_category_account_revenue', company=invoice.company.id) if not invoice_line.account: raise InvoicingError( gettext('project_invoice.msg_missing_account_revenue',