Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

upsert - openupgrade

by Yurdik Cervantes Mendoza <ycervantes@elegosoft.com> - 30/05/2017 18:24:58

Hello,

Attached the experimental test of an original Idea of Mark Draheim, to use the upsert during openupgrade.

This might be useful also in other contexts.

Pedro: Maybe I can submit a branch, but It might be best that would never be merged.


Just use it when you have many reference errors for related entities when upgrading a module, you have a big test coverage, OCA has not still migrated the module and you want fast results.

It is always better that the every error is careful resolved instead of using this.

Remember that the database should be migrated in postgres 9.5 and dumped to 9.4 after that.


Cheers, Y.

Reference