Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1557 Visualizzazioni

Hello,

Other then the reports offered by Odoo, we would like to add another (contract) in the sales module, the report is in PDF and it wont be modified, we would just like it to be in the print menu.

Does Odoo allow PDF imports ?

Thanks

Avatar
Abbandona
Risposta migliore

Hi,

If you need to adjust content of your pdf based on the record data, you have to design a report in odoo in needed format using the studio or from custom module.

If just need to print a common PDF always, you can add a button and return the static PDF stored in your module or you can add some options in the user interface to store this data, in sale settings or as per your need.

Easy solution:
* add it as attachment in the db, from attachment menu
* make it public and get the url of attachment from local_url variable in the attachment model
* add a button in sales, redirect to this url on clicking the button

Thanks

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 25
1678
4
apr 25
12000
1
feb 25
3405
1
gen 25
1317
1
gen 25
4707