details:   https://code.tryton.org/tryton/commit/bf121ddb8b7a
branch:    default
user:      Cédric Krier <[email protected]>
date:      Tue Jan 20 09:26:56 2026 +0100
description:
        Add labels to migration documentation
diffstat:

 doc/migration.rst |  35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diffs (136 lines):

diff -r ed4f43b8e4a9 -r bf121ddb8b7a doc/migration.rst
--- a/doc/migration.rst Mon Mar 30 22:20:54 2026 +0200
+++ b/doc/migration.rst Tue Jan 20 09:26:56 2026 +0100
@@ -14,9 +14,13 @@
 .. 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 @@
 
       DELETE FROM "ir_module" WHERE name = 'google_maps';
 
+.. _migration-7.8:
+
 7.8
 ---
 
+.. _migration-7.8-before:
+
 Before
 ~~~~~~
 
@@ -40,6 +48,7 @@
      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 @@
 
      Mandate.save(mandates)
 
+.. _migration-7.6:
+
 7.6
 ---
 
+.. _migration-7.6-before:
+
 Before
 ~~~~~~
 
@@ -77,6 +90,8 @@
 * ``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 @@
 
       UPDATE "analytic_account_budget_line" SET amount = -amount;
 
+.. _migration-7.4:
+
 7.4
 ---
 
+.. _migration-7.4-before:
+
 Before
 ~~~~~~
 
@@ -121,9 +140,13 @@
 
      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 @@
      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 @@
 
      UPDATE "account_payment" SET "account" = NULL WHERE "line" IS NOT NULL;
 
+.. _migration-7.0-after:
+
 After
 ~~~~~
 
@@ -177,9 +206,13 @@
 * 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 @@
      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
 ~~~~~
 

Reply via email to