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.
If you could elaborate why you need it, maybe a better help can be provided. For now, it seems that you are trying to workaround for something and face a stumbling block. Maybe the workaround need to be changed.