Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1567 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лип. 25
1692
4
квіт. 25
12026
1
лют. 25
3421
1
січ. 25
1342
1
січ. 25
4730