@Sandy, This code relies on the constructed view which guarantees that when 
selection_fieldname occurs in vals, then so does 'fieldname'. In the case of 
m2m, it's value is guaranteed to be in the form [(6, 0, list)], so accessing 
the list through vals[model_field][0][2] should be fine.
-- 
https://code.launchpad.net/~therp-nl/server-env-tools/6.1-mass_editing-fix_dataloss/+merge/201321
Your team OpenERP Community is subscribed to branch 
lp:~openerp-community/server-env-tools/6.1-mass_editing.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to