Skip to Content
Menu
This question has been flagged
3 Replies
2185 Views

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
Discard
Author

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.

Best Answer

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
Discard
Best Answer

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
Discard
Related Posts Replies Views Activity
3
Jul 22
9325
7
Mar 22
40328
0
Jul 20
2077
2
Feb 20
2298
1
Nov 15
9656