Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1543 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
1662
4
dub 25
11961
1
úno 25
3378
1
led 25
1289
1
led 25
4671