[UPG] Base migration upgrade for fields rename.#125
[UPG] Base migration upgrade for fields rename.#125BT-dherreros wants to merge 2 commits intoOCA:masterfrom
Conversation
b18e530 to
72db965
Compare
72db965 to
6b23df0
Compare
bosd
left a comment
There was a problem hiding this comment.
Code review of the fix. No func test yet.
|
@CLaurelB @legalsylvain @lef-adhoc Could you please review this PR? |
44574c7 to
9c274be
Compare
|
@CLaurelB @legalsylvain @lef-adhoc I've updated this code with master, cleaned it slightly and also introduced data to be tested so the code coverage is improved |
|
This PR has the |
|
@gurneyalex @dreispt @simahawk Could you please review and merge it? |
| @@ -0,0 +1 @@ | |||
| - ["utm.campaign", "name", "title", "Commit https://github.com/brain-tec/odoo/commit/4dbcefb5e5b1878e81fe9be9fe48a785f813334f"] | |||
There was a problem hiding this comment.
| - ["utm.campaign", "name", "title", "Commit https://github.com/brain-tec/odoo/commit/4dbcefb5e5b1878e81fe9be9fe48a785f813334f"] | |
| - ["utm.campaign", "name", "title", "Commit https://github.com/odoo/odoo/commit/4dbcefb5e5b1878e81fe9be9fe48a785f813334f"] |
| @@ -1 +1 @@ | |||
| - ["stock.production.lot", "stock.lot", None] | |||
| - ["stock.production.lot", "stock.lot", "c1b41bcd08ea26032904b3fdd34d743f4342ac62"] | |||
There was a problem hiding this comment.
| - ["stock.production.lot", "stock.lot", "c1b41bcd08ea26032904b3fdd34d743f4342ac62"] | |
| - ["stock.production.lot", "stock.lot", "https://github.com/odoo/odoo/commit/c1b41bcd08ea26032904b3fdd34d743f4342ac62"] |
stock.lot)
| @@ -0,0 +1 @@ | |||
| - ["product.supplierinfo", "name", "partner_id", "Commit https://github.com/odoo/odoo/commit/f3fe2d50d99698eb0261c2309bd63f9f64b3d703"] | |||
There was a problem hiding this comment.
the name of the file should be product.yaml I guess
| @@ -0,0 +1 @@ | |||
| - ["payment.transaction", "date", "last_state_change", "Commit https://github.com/odoo/odoo/commit/f3fe2d50d99698eb0261c2309bd63f9f64b3d703"] | |||
| - ["calendar.event", "mo", "mon", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] | ||
| - ["calendar.event", "we", "wed", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] | ||
| - ["calendar.recurrence", "mo", "mon", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] | ||
| - ["calendar.recurrence", "we", "wed", "Commit https://github.com/odoo/odoo/commit/7fb9c8129606538b004dea4e6ad071eabf6c6fb1"] |
There was a problem hiding this comment.
You listed only Monday and Wednesday here, we are missing the other days of the week for both calendar.event and calendar.recurrence, see:
odoo/odoo@7fb9c81#diff-6f507918d49ed37455fca2208ee1d5c546bd6368371d99cf261c8bc4d167a160
| @@ -0,0 +1 @@ | |||
| - ["payment.acquirer", "image", "image_128", "Commit https://github.com/odoo/odoo/commit/f0ffbea17381cb117f2eed4ea18a76e2b0f37f00"] | |||
There was a problem hiding this comment.
Should we add also image_64? I won't block for that as we are talking about 12.0/13.0 here, up to you.
| @@ -0,0 +1 @@ | |||
| - ["product.attribute", "type", "display_type", "Commit https://github.com/odoo/odoo/commit/58a2ffa26f1a3b0f9630ce16d11b758d18e20a21"] | |||
There was a problem hiding this comment.
Commit seems wrong, and the file should be named differently too
| @@ -0,0 +1 @@ | |||
| - ["hr.plan.activity.type", "name", "summary", "Commit https://github.com/odoo/odoo/commit/58a2ffa26f1a3b0f9630ce16d11b758d18e20a21"] | |||
| @@ -0,0 +1,2 @@ | |||
| - ["image.mixin", "image_original", "image_1920", "Commit https://github.com/odoo/odoo/commit/58a2ffa26f1a3b0f9630ce16d11b758d18e20a21"] | |||
| - ["mail.channel", "image", "image_128", "Commit https://github.com/odoo/odoo/commit/f0ffbea17381cb117f2eed4ea18a76e2b0f37f00"] | |||
There was a problem hiding this comment.
From the commit, it's image_medium (not image) that became image_128 (and also image_small -> image_64)
There was a problem hiding this comment.
@sebalix I don't see image_medium in that commit, could you link the line you are referencing?
| - ["stock.inventory", "Commit https://github.com/brain-tec/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] | ||
| - ["stock.inventory.line", "Commit https://github.com/brain-tec/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] |
There was a problem hiding this comment.
| - ["stock.inventory", "Commit https://github.com/brain-tec/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] | |
| - ["stock.inventory.line", "Commit https://github.com/brain-tec/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] | |
| - ["stock.inventory", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] | |
| - ["stock.inventory.line", "Commit https://github.com/odoo/odoo/commit/bdcb3d192be1e01e1141aa09c60027337009a67b"] |
9c274be to
9c221c6
Compare
|
@sebalix Can you please re-review? |
…-add-field-rename
No description provided.