mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[ADD]pms_api_rest: invoicing proforma report
This commit is contained in:
@@ -527,9 +527,14 @@ class PmsFolioService(Component):
|
||||
else None,
|
||||
)
|
||||
)
|
||||
move_url = (
|
||||
move.get_proforma_portal_url()
|
||||
if move.state == "draft"
|
||||
else move.get_portal_url()
|
||||
)
|
||||
portal_url = (
|
||||
self.env["ir.config_parameter"].sudo().get_param("web.base.url")
|
||||
+ move.get_portal_url()
|
||||
+ move_url
|
||||
)
|
||||
invoices.append(
|
||||
PmsFolioInvoiceInfo(
|
||||
|
||||
Reference in New Issue
Block a user