Fix typo in super call of _parse_2_line_reference

Closes #14407
This commit is contained in:
Cédric Krier
2025-12-05 10:03:01 +01:00
parent 9df1b3ed84
commit 8f824d3d2a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1021,8 +1021,8 @@ class Invoice_Purchase(metaclass=PoolMeta):
PurchaseLine = pool.get('purchase.line')
UoM = pool.get('product.uom')
origin = super()._parse_2_item_reference(
line_reference, line, supplier=supplier)
origin = super()._parse_2_line_reference(
line_reference, line, company, supplier=supplier)
if origin:
return origin
if not line or not line.product or not line.unit:
@@ -18,7 +18,7 @@ Imports::
Activate modules::
>>> modules = ['edocument_ubl', 'account_invoice']
>>> modules = ['edocument_ubl', 'account_invoice', 'purchase']
>>> if cash_rounding:
... modules.append('account_cash_rounding')
>>> config = activate_modules(modules, create_company, create_chart)