[FIX] fields: convert_to_cache() on *2many fields must take record's current value
authorRaphael Collet <rco@openerp.com>
Wed, 9 Jul 2014 15:06:29 +0000 (17:06 +0200)
committerRaphael Collet <rco@openerp.com>
Wed, 6 Aug 2014 07:07:57 +0000 (09:07 +0200)
commit4c18c5fb6e518e9b36f6f9bb9c279e530ecde255
tree8b5c4de03245d9b6b18b04deb1e23df833d94cb9
parent836b0f864eb0603af12f762f207252e8bdec18c2
[FIX] fields: convert_to_cache() on *2many fields must take record's current value

The existing code was buggy when writing on *2many fields with a list of
commands: the value was converted for the cache, but taking an empty recordset
as the current value of the field.
openerp/fields.py
openerp/models.py