Odoo Help

--Qutechs, Ahmed M.Elmubarak--

Qutechs, Ahmed M.Elmubarak
On 3/10/15, 2:20 PM


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




Is it Professional to create 6 fileds as counters for every students ?

Hi, I think you'll make them for the subjects !, if you've just 6 subjects I think you can make this, but if you've table for subjects [unknow no. of subjects] this will not work.

Qutechs, Qutechs, Ahmed M.Elmubarak
on 3/12/15, 1:48 AM

As i know ... Every student is rolled in only 6 subjects no more... should i create 6 fileds for every student to count number of absences for every student in every subject ?

Mostafa Mohamed Abdel Monaem
on 3/12/15, 12:28 PM

Hi, it'll work if you just neet to save the number of the absences, but what If you want to know the date of that absence ... I think you can make a new model for this ... If you're using Odoo V8 you can use the new buttons mechanism you can make 6 buttons in your student form view with the number of absences . You can check fleet module 'vehicle form view' you will find Costs, Contracts , Fuel ... with numbers

Qutechs, Qutechs, Ahmed M.Elmubarak
on 3/14/15, 1:29 AM

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/10/15, 1:08 PM
Seen: 1166 times
Last updated: 4/8/15, 3:13 PM