I have a one2many field represented as a tree in a form. When "Add an item" button is clicked, it opens a form, and I'd like to be able to import some field information of the parent and show as default, but default_get doesn't have the parent ID anywhere, so I don't know how to access.
I'm thinking about sending this value by context, but I don't know what method is called when clicking here. Any suggestion?
Thanks,
Pau