[FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format
[FIX] BufferedDataSet to not break the m2o read contract of returning a name_get format

BufferedDataSet simply shoves stuff read() or create()d in its cache,
but m2o is asymmetric: client writes a single id, but reads a pair of
[id, name].

Since create() and write() are async (by definition) it's the best
place to check if the data being written contains any m2o field, and
to fix those m2o values.

vnc-biz/openerp-web,vnc-biz/openerp-web,vnc-biz/openerp-web,splbio/openerp-web,MarkusTeufelberger/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,splbio/openerp-web,gisce/openerp-web,splbio/openerp-web,MarkusTeufelberger/openerp-web,gisce/openerp-web,vnc-biz/openerp-web