Technical 보관된 메일 그룹

technical@mail.odoo.com

Avatar

Re: Some questions about payroll programming

작성자
sudhir
- 2019년 05월 24일 07시 36분 13초
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 <joao.jeronimo.pro@gmail.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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/technical-62
Post to: mailto:technical@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



--


Sudhir Arya
Director
ERP Harbor Consulting Services
In the Top 5 Position in Odoo Community Forum
Skype:sudhir@erpharbor.com
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.

참조