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.
hope you all are fine
I’m creating Odoo module for my university and i want to make something but i need some help. i create a model to catch a students absence in a lecture by creating sheets and mark their absence, but i want to do one more thing that every student has a max of 3 absences from any subject (hint :every student take 6 subjects) and in the forth his name should be moved to another table model called absences with remark that he has been absent from that subject lecture for more than 3 times
I need to know how to do it logically in Odoo.
sorry for my bad English.
Thanks in advance
You can do this by using several ways depends on your requirement :
- you can use functional field to check the number of absence then create a new entry in the other model.
- you can override the create and write functions ...
- also you can use the _contraints ...
- you can use button with type object e.g "Confirm" then apply your validations and entries on that function
I hope this could helps
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/10/15, 1:08 PM|
|Seen: 1017 times|
|Last updated: 4/8/15, 3:13 PM|