From c8ab038585ac9eeea46c7577fbcd1bb27564622a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 24 Nov 2024 01:07:39 +0100 Subject: [PATCH] Add missing migration of open lines button of product price list 68816ce94559 moves the button definition from product_price_list_dates module to product_price_list but as product_price_list is updated first it can not create the button because of the unique constraint. --- doc/migration.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/migration.rst b/doc/migration.rst index 8abb92cd88..e7a6ec2966 100644 --- a/doc/migration.rst +++ b/doc/migration.rst @@ -11,6 +11,19 @@ a database from another series. .. note:: If you skip a series, all actions between them must be performed. +7.4 +--- + +Before +~~~~~~ + +* If ``product_price_list`` and ``product_price_list_dates`` are activated, + remove ``open_lines`` button: + + .. code-block:: SQL + + DELETE FROM "ir_model_button" WHERE "name" = 'open_lines' AND "model" = 'product.price_list'; + 7.2 ---