Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
1548 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1662
4
kwi 25
11967
1
lut 25
3379
1
sty 25
1289
1
sty 25
4672