This method is defined at def resolve_2many_commands Found at: openerp.osv.orm
I'm especially confused about the "commands" parameter, I know 0 = Create and 1 = Write but not sure about others. Documentation gives an usage example
values = self.resolve_2many_commands(cr, uid, 'my_o2m', my_o2m_values, ['price', 'tax'], context)
my_o2m is the o2m field that the onchange method is applied to, what is my_o2m_values?