OCA / openupgradelib

A library with support functions to be called from Odoo migration scripts.
GNU Affero General Public License v3.0
85 stars 171 forks source link

[FIX] merge_records: assure don't break on method="orm" if KeyError on model #340

Closed MiquelRForgeFlow closed 1 year ago

MiquelRForgeFlow commented 1 year ago

Fixes https://github.com/OCA/openupgradelib/issues/339

pedrobaeza commented 1 year ago

See my comment at https://github.com/OCA/openupgradelib/issues/339#issuecomment-1637803600

Probably this problem is because of an unexisting model in such version.

MiquelRForgeFlow commented 1 year ago

Probably this problem is because of an unexisting model in such version.

Yeah, but before https://github.com/OCA/openupgradelib/commit/7819744da0af84cf38ec5629ae91a578aafd70e1, the case was not breaking. Now breaks, so we need to avoid the break.