[FIX] ir_translation: correctly match old and new ids on inherit fields
authorMartin Trigaux <mat@openerp.com>
Fri, 22 Nov 2013 17:59:39 +0000 (18:59 +0100)
committerMartin Trigaux <mat@openerp.com>
Fri, 22 Nov 2013 17:59:39 +0000 (18:59 +0100)
commit10608a5d1890b700b8493fa1f7fdb53d80c75318
treecd549062690eafa8b24c7835026d8aa4fc2676e2
parent1be71fdae6d01169b50dff6f3eb7657a98436dce
[FIX] ir_translation: correctly match old and new ids on inherit fields

new_id was correctly handled at rev 5118 but the old_id wasn't which could produce inconsistency if there was a gap in ids

bzr revid: mat@openerp.com-20131122175939-lvlf4ih4pyidqxjp
openerp/osv/orm.py