From 4da205602164d1b24d1e28e03530b979aca92fce Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 10 Feb 2022 19:05:05 +0100 Subject: [PATCH] Doc --- htdocs/install/mysql/tables/llx_product_pricerules.key.sql | 3 +++ htdocs/install/mysql/tables/llx_product_pricerules.sql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/htdocs/install/mysql/tables/llx_product_pricerules.key.sql b/htdocs/install/mysql/tables/llx_product_pricerules.key.sql index 25ad889d8d2..c31dfc5e240 100644 --- a/htdocs/install/mysql/tables/llx_product_pricerules.key.sql +++ b/htdocs/install/mysql/tables/llx_product_pricerules.key.sql @@ -16,4 +16,7 @@ -- -- =========================================================================== +-- Table used only when PRODUIT_MULTIPRICES is set (prices per level) + PRODUIT_MULTIPRICES_ALLOW_AUTOCALC_PRICELEVEL is set +-- A checkbox become available on product to allow to set price rules + ALTER TABLE llx_product_pricerules ADD CONSTRAINT unique_level UNIQUE (level); diff --git a/htdocs/install/mysql/tables/llx_product_pricerules.sql b/htdocs/install/mysql/tables/llx_product_pricerules.sql index 4089d2f3a60..4e02eb0808f 100644 --- a/htdocs/install/mysql/tables/llx_product_pricerules.sql +++ b/htdocs/install/mysql/tables/llx_product_pricerules.sql @@ -16,6 +16,9 @@ -- -- =========================================================================== +-- Table used only when PRODUIT_MULTIPRICES is set (prices per level) + PRODUIT_MULTIPRICES_ALLOW_AUTOCALC_PRICELEVEL is set +-- A checkbox become available on product to allow to set price rules + CREATE TABLE llx_product_pricerules ( rowid INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,