Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4238 Zobrazení

Hello,

I downloaded the Payroll model to make payslips and I looking for a way to create my own style of report.

With Odoo Studio, I then go to the report section in the payslips, I create a new custom report, but once done, the Print dropdown button doesn't show hiself, while in the sale.order it's get added to the list of report type or add a print option in a custom model, for exemple.

There is a PRINT button in the of the payroll, unlike the whey the others model propose it. And I don't find the view that generate the report.


Why the print dropdown doesn't show and how to ? Or where is the report linked to the action button print in the payslips views ?

Avatar
Zrušit

Hi, did you manage to find a solution to this?

I also don't see the native Odoo button to print payroll reports.

Nejlepší odpověď

Hi,


Why the print dropdown doesn't show...?


This is an intended change in get_views method of hr_payroll.hr_payslip which pops the Print button from toolbar.


Where is the report linked to the action button print in the payslips views?


You can associate your desired report template to the salary structures in the configuration menu.

Avatar
Zrušit
Nejlepší odpověď

Hi,

The issue has been reported in this issue ticket:  https://github.com/odoo/odoo/issues/124745 and see the response for the same:   https://github.com/odoo/odoo/issues/124745#issuecomment-1612537903

Thanks

Avatar
Zrušit
Nejlepší odpověď

It's likely that the payroll module you downloaded doesn't allow for custom reports to be created through Odoo Studio. In that case, you would need to create a custom module to add the desired functionality to the payroll module. This would involve creating a new report template and linking it to the payroll module through code.

Alternatively, you could try using the existing report template and modifying it to suit your needs. You can do this by going to the "Technical" tab in the payroll module, selecting "Reports" from the dropdown menu, and then clicking on the existing report template. From there, you can edit the template to change its style and layout.

Keep in mind that making modifications to existing modules can be complex and may require advanced knowledge of Odoo and programming. It's always a good idea to carefully test any customizations you make to ensure that they work as intended and don't cause any issues with the rest of the system.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
čvc 25
3531
1
čvc 25
2635
0
pro 24
1395
0
pro 23
1270
0
zář 20
1557