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.
Hi ! I'm on Odoo (v8).
A user can change the value of a many2one field.
There should be another field, probably many2many, with many2many_cheboxes as widget type, which would be computed, depending on the value of the first field.
If the user select 'computer' in the first field, the second field will show 'format', 'diagnosis' and 'change screen' for example. Then the user will be able to check which reparation he wants to choose (multi-selection, that explain the checkboxes).
Is it even possible ?
Yes it is possible,
first you'll save the services on the 'many2one' field [e.g "computer" ] I think it'll be one2many. So in the computer form you have the list of services e.g 'format', 'diagnosis' and 'change screen' etc ..
In your main form [ where the user chooses the type e.g computer] I think it is better to make a one2many relation with e.g service_line 'just like the sale order' if you need to enter the price or something ... and you use on_change method to fill this one2many lines with the services ...
I hope it will 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/19/15, 9:38 AM|
|Seen: 806 times|
|Last updated: 3/19/15, 10:13 AM|