[FIX] orm: when duplicating a record, if duplicates translations on a field from...
authorMartin Trigaux <mat@openerp.com>
Mon, 4 Nov 2013 14:34:08 +0000 (15:34 +0100)
committerMartin Trigaux <mat@openerp.com>
Mon, 4 Nov 2013 14:34:08 +0000 (15:34 +0100)
commit91cf53228b0ba7c998dd8c4950671e74bcea0183
treeb73a6fba3a830f0fcf5a3bf9859d3db47c7f712e
parente3c98d3b5bdb69902e9838178f586afc185c0250
[FIX] orm: when duplicating a record, if duplicates translations on a field from _inherits model, use the id of the parent record instead.
Avoid getting old value by removing 'source' value from read result.

lp bug: https://launchpad.net/bugs/1237878 fixed

bzr revid: mat@openerp.com-20131104143408-o71lyws8uba679hd
openerp/osv/orm.py