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 added a one2many field on a view, the purpose of this is to have a view of another object (stock.picking), and not to store data on this other object (stock.picking).
So I made an onchange method that displays data on this one2many field, but when actionning the save button it tries to save the data on the one2many field, is there any solution to override the orm create method, so as to don't save the one2many field data displayed by the onchange ?
I made the one2many field on readonly=True, it no longer store the data diplayed, but I want to be able to edit this data and at the same time this data not to be stored on DB.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 12/12/14, 6:05 AM|
|Seen: 708 times|
|Last updated: 3/16/15, 8:10 AM|