Skip to Content
Menu
This question has been flagged
1221 Views

good morning,

I have an invoice report that is personalized and that works well when the report is generated from the invoicing module.

but when the report is displayed from the point of sale module, the same report is displayed incorrectly (poorly structured, in another format)

that could be happening??


the report is called from a point of sale button.

is called this way:

<a t-att-href="'/report/pdf/account.report_invoice/'+item['invoice_id'][0]" target="_blank"> Imprimir </a>

by clicking on the button the route is correct, where 7 is the id number of the invoice.

http://xx.xx.xx.xx:xxxx/report/pdf/account.report_invoice/7


If I generate the report directly from the invoice, everything looks good.

release: odoo12

I will appreciate your help

Avatar
Discard