Something like:
def onchange_my_o2m(self, cr, uid, o2m_field):
....< How to access "o2m_field[0].name", e.g.?>
return result
<field name="my_o2m" on_change="onchange_my_o2m(my_o2m)"/>
What is the structure of the o2m_field in the onchange method?
I first thought it's just a list of ids. But that turned out to be false. And it's certainly not a list of browse_record objects...
I'm currently assuming that it is a list of tuples... [(ID, {field1: ..}), ... ]
Thanks for your help.