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.
So in this module I'm writing, I have a lot of fields (100+) and I thought it would be better to separate these fields into their own little sub modules. The main class of the module has many2one fields that point to the sub classes.
I have one form view that requires the use of all of the fields, seperated with pages in a notebook. I've found that if I put one of my many2one fields on a page, and within that field define the fields that I require, I can see them in the form. However I am not able to edit this data unless I click the many2one field itself (which I plan to have invisible eventually) and use the built in "Create and edit" option.
How would I go about changing this to do one of the options below:
When I click the create button, the module creates new records for all these many2one fields and allows me to edit them in the notebook
When I click the create button, the module will require some preliminary information and when they save it, create new records for these many2one fields and allow me to edit them within the notebook
Note that I do not want to use the built-in "Create and edit" option as I need to style these fields, and the employees that I'm writing this module for require the module be very easy to use without unnecessary steps that they would have to perform.
I suspect that I will need to override the save or create functions to get this to work, which should be fine.
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: 11/22/16, 5:09 PM|
|Seen: 334 times|
|Last updated: 11/23/16, 1:46 AM|