diff --git a/doc/migration.rst b/doc/migration.rst index 3aa4e6afca..1a9034b686 100644 --- a/doc/migration.rst +++ b/doc/migration.rst @@ -14,9 +14,13 @@ a database from another series. .. warning:: You cannot skip more than 2 series ending with ``.0``. +.. _migration-8.0: + 8.0 --- +.. _migration-8.0-before: + Before ~~~~~~ @@ -26,9 +30,13 @@ Before DELETE FROM "ir_module" WHERE name = 'google_maps'; +.. _migration-7.8: + 7.8 --- +.. _migration-7.8-before: + Before ~~~~~~ @@ -40,6 +48,7 @@ Before ALTER TABLE "incoterm_incoterm" ALTER COLUMN "before_carrier" DROP NOT NULL; ALTER TABLE "incoterm_incoterm" ALTER COLUMN "after_carrier" DROP NOT NULL; +.. _migration-7.8-after: After ~~~~~ @@ -60,9 +69,13 @@ After Mandate.save(mandates) +.. _migration-7.6: + 7.6 --- +.. _migration-7.6-before: + Before ~~~~~~ @@ -77,6 +90,8 @@ Before * ``pbkdf2_sha512`` and ``scrypt`` password hashes are no more supported. Make sure to enable ``argon2`` and update old passwords by logging in. +.. _migration-7.6-after: + After ~~~~~ @@ -108,9 +123,13 @@ After UPDATE "analytic_account_budget_line" SET amount = -amount; +.. _migration-7.4: + 7.4 --- +.. _migration-7.4-before: + Before ~~~~~~ @@ -121,9 +140,13 @@ Before DELETE FROM "ir_model_button" WHERE "name" = 'open_lines' AND "model" = 'product.price_list'; +.. _migration-7.2: + 7.2 --- +.. _migration-7.2-before: + Before ~~~~~~ @@ -138,9 +161,13 @@ Before UPDATE "ir_action_report" SET "module" = NULL WHERE "module" = ''; UPDATE "ir_translation" SET "module" = NULL WHERE "module" = ''; +.. _migration-7.0: + 7.0 --- +.. _migration-7.0-before: + Before ~~~~~~ @@ -151,6 +178,8 @@ Before UPDATE "account_payment" SET "account" = NULL WHERE "line" IS NOT NULL; +.. _migration-7.0-after: + After ~~~~~ @@ -177,9 +206,13 @@ After * If ``product_price_list`` module is activated, add a default price list line if price list does not have one and it was relying on the fallback price. +.. _migration-6.0: + 6.0 --- +.. _migration-6.0-before: + Before ~~~~~~ @@ -198,6 +231,8 @@ Before UPDATE "account_invoice_line" SET "invoice_type" = (SELECT "type" FROM "account_invoice" WHERE "id" = "account_invoice_line"."invoice") WHERE "invoice_type" IS NOT NULL AND "invoice" IS NOT NULL; UPDATE "account_invoice_line" SET "party" = (SELECT "party" FROM "account_invoice" WHERE "id" = "account_invoice_line"."invoice") WHERE "party" IS NOT NULL AND "invoice" IS NOT NULL; +.. _migration-6.0-after: + After ~~~~~