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.
I try to inherit the existing model, define some new fields and redefine the state of the default model also, but i do not want this new fields affect the default model (keeping the behaviour of the default model).
Is it possible to achieve that (besides copy the default model)?
Use 'ir.action.act_window.view' in the action view definition and utilize a method named 'fields_view_get', you can override this method to modify the view that inherit another view without change/affect the default view.
Thanks for the quick response :).
Besides of copy the default model, is there another way to achieve that?
I inherit a sale.order model, and redefine the state fields. When i load/open the web, this model is already updated with the new state. (what i mean is the default state of sale.order model is not affect by the inherit model -- is it possible?)
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: 5/22/15, 6:10 AM|
|Seen: 659 times|
|Last updated: 5/25/15, 4:47 AM|