mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: added sale_line_id to invoice line GET service
This commit is contained in:
@@ -521,6 +521,9 @@ class PmsFolioService(Component):
|
||||
displayType=move_line.display_type
|
||||
if move_line.display_type
|
||||
else None,
|
||||
saleLineId=move_line.folio_line_ids
|
||||
if move_line.folio_line_ids
|
||||
else None,
|
||||
)
|
||||
)
|
||||
portal_url = (
|
||||
|
||||
@@ -71,7 +71,7 @@ class PmsInvoiceService(Component):
|
||||
{
|
||||
"name": line_info.name,
|
||||
"quantity": line_info.quantity,
|
||||
"sale_line_ids": [(6, 0, line_info.saleLineIds)],
|
||||
"sale_line_ids": [(6, 0, line_info.saleLineId)],
|
||||
},
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user