[IMP]pms_api_rest: added sale_line_id to invoice line GET service

This commit is contained in:
braisab
2022-11-03 14:38:21 +01:00
committed by Darío Lodeiros
parent 7a989e9d07
commit 3b1c1f44c1
2 changed files with 4 additions and 1 deletions

View File

@@ -521,6 +521,9 @@ class PmsFolioService(Component):
displayType=move_line.display_type displayType=move_line.display_type
if move_line.display_type if move_line.display_type
else None, else None,
saleLineId=move_line.folio_line_ids
if move_line.folio_line_ids
else None,
) )
) )
portal_url = ( portal_url = (

View File

@@ -71,7 +71,7 @@ class PmsInvoiceService(Component):
{ {
"name": line_info.name, "name": line_info.name,
"quantity": line_info.quantity, "quantity": line_info.quantity,
"sale_line_ids": [(6, 0, line_info.saleLineIds)], "sale_line_ids": [(6, 0, line_info.saleLineId)],
}, },
) )
) )