I wanted to use one form view which will contain multiple models. Not just like Manytoone field. All fields are to be open in the form view.
I am a beginner in Odoo. Please tell what wold be the right process to achieve this.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I wanted to use one form view which will contain multiple models. Not just like Manytoone field. All fields are to be open in the form view.
I am a beginner in Odoo. Please tell what wold be the right process to achieve this.
Hi,
If you are looking to display fields from different models into one view, either you can use the concept of the related fields or create the view using the query. While using the query you can fetch the values from the different tables and display it in the view.
Take an example we have model sale.order and pos.order and if you have to display these records of the different model as a single table you can create a new view using the query. Please see this sample here in this question: how do set multiple models in single form view ?.
Thanks
Yes, This solution work while displaying the model. But how it is possible to insert into those two model from one view.
@Rasmikant
You can add a button that direct the user to custom form wizard view. From there, you can process the data to each model. It will be complicated. But it's the only way. Because you are trying to manage multiple model in a view
Still no answer to how modify/insert fields ??
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrácia