Technical mailing list archives
Re: Some questions about payroll programmingby
Às 12:37 de 24/05/19, Sudhir Arya escreveu:
Yes, you can see the actual error arising behind the scene.
Go to hr_payroll module and search for "compute_rule" method in "hr.salary.rule" object. Now, comment the try / except lines from the method and try agian.This time you will be able to see the actual error.
On Fri, May 24, 2019 at 1:59 PM João Jerónimo <email@example.com> wrote:
Hello, I'm creating payroll rules for a client of mine. Very often I need to write python code to compute the result of a salary rule. When I make a mistake it says: "Wrong python condition defined for salary rule" when I try to generate the payslip. Is there a way to make ODOO show the actual python error message? Thank you. João Jerónimo
Sudhir Arya Director ERP Harbor Consulting Services
In the Top 5 Position in Odoo Community Forum
Skype: firstname.lastname@example.org Website: http://www.erpharbor.com
The company accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.