mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[FIX]inv.number for inv.name
Description of the issue/feature this PR addresses: Throwing error when try to select 'Originating Sales Order Line'. Current behavior before PR: Raise following errors: RecursionError: maximum recursion depth exceeded while calling a Python object UnicodeError: unable to convert <odoo.tools.func.lazy object at 0x7f3af88aa240> Desired behavior after PR is merged: Select 'Originating Sales Order Line' normally.
This commit is contained in:
committed by
AaronHForgeFlow
parent
97e2d3ed02
commit
e57f217b4a
@@ -47,7 +47,7 @@ class SaleOrderLine(models.Model):
|
||||
" ".join(
|
||||
str(x)
|
||||
for x in [
|
||||
inv.number for inv in sale.order_id.invoice_ids
|
||||
inv.name for inv in sale.order_id.invoice_ids
|
||||
]
|
||||
),
|
||||
sale.product_id.name,
|
||||
|
||||
Reference in New Issue
Block a user