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.
In salary rules I can get worked days by value:
How to get number of days for leaves "Sick Leaves", "Legal Leaves" and other leave types that has more than one word?
Because this would not work:
yes Emad Jaddou, I know that it works when you have one word but leaves and payslips that has leaves included in its lines are as documents, so it would be better to have it with names that was given to leaves. The solution with quotes does not work. To have it as a variable:
leaveName = "Sick Leaves"
also does not work.
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: 6/15/15, 9:04 AM|
|Seen: 660 times|
|Last updated: 7/2/15, 3:10 AM|