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.
I need the salary rule NET to function as:
Basic + Allowances -Salary deducted from No. of Unpaid leaves of the employee (i.e wage/30 *no of absent days) - 1% TDS
The python code I used for this was:
result=(categories.Basic + categories.ALW + categories.Deduction)
result=(worked_days.WORK100.number_of_days * (contract.wage / 30) + categories.Deduction )
Its giving me error: Error!Wrong python code defined for salary rule Net (NET).
Does anybody knows what the problem is here?
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: 4/18/16, 3:59 AM|
|Seen: 465 times|
|Last updated: 4/18/16, 4:21 AM|