Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
2771 Vistas

Hi,

I am working on odoo12, new to everything. I am trying to add a print option under the action button to print individual leaves. I do not know where to start. 


Avatar
Descartar
Autor

Hello,

When I go to settings/Technical/Reporting/reports Then type leaves.

I am able to see what I have created. which is just a new line of report.

I am stuck trying to create a template for the leaves to be printed.

And confused as of where the user will be printing from. I assumed that using the hidden print button could work but so far It has not been fruitful.

Mejor respuesta

Hi,

There is a third-party module for the HR employee leave report. By downloading and analyzing it you will come to know the coding and its method.

Link : https://apps.odoo.com/apps/modules/12.0/bt_leave_summary_report/

Avatar
Descartar
Mejor respuesta

Hi,

You can define the PDF/Qweb report for the corresponding model, once you add the report for that model it will get displayed under the action button. As you are new to Odoo, you can check this links and see how to create a PDF report in Odoo.

1. Odoo Doc :  QWeb Reports

2.  How to Create Qweb Reports In Odoo 12


Also you can check the odoo app store and see whether there is a module already available for the same in it: Odoo Apps

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
jul 22
11749
7
mar 22
41939
0
jul 20
2973
2
feb 20
2904
1
nov 15
10830