Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Is it possible to add worked_days and worked_hours below the date.from and date.to line in payslip report?
I have tried to modify the payslip_report under settings/technical/userinterface/views/, but I'm honestly not really knowledgeable at writing code.
So, I just thought I could add this piece of code at line 45 of said payslip_report:
"<tr t-foreach="get_payslip_lines(o.worked_days_line_ids)" t-as="q">
But when I try to print the payslip, I get an error with the following message at the bottom:
QWebException: "'hr.payslip.worked_days' object has no attribute 'appears_on_payslip'" while evaluating
Can any one provide some insight into what I'm trying to accomplish?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/15/15, 1:28 PM|
|Seen: 920 times|
|Last updated: 7/20/15, 8:07 AM|