Add company pattern to multivalue calls
issue10162 review335761002
This commit is contained in:
1 parent
948a99e1a1
commit
986a586feb
1 file changed
+1
-1
+1
-1
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user