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 am trying to create a salary rule based on the nationality as we need to have to book air ticket allawance based on the home country of the employee.
I tried result = employee.nationality == 'Philippines' or false
but I am getting an error on that.
any help will be appreciated.
Thanks for the quick response, but how can make that with a nested if? is that possible as I need to test difference conditions against the country of the empoyee.
I had to edit this since I can reply to the second reply.
Thank Zbik, but I assume this code goes in the Conditions section. what would be used on the compution part?
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: 3/3/15, 12:41 PM|
|Seen: 1025 times|
|Last updated: 3/16/15, 8:10 AM|