Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1542 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
1661
4
abr 25
11961
1
feb 25
3377
1
ene 25
1289
1
ene 25
4668