Task # 559 : start of price by quantity management
This commit is contained in:
parent
864f038370
commit
94c12cfb2e
@ -781,3 +781,17 @@ ALTER TABLE llx_categorie MODIFY COLUMN label varchar(255) NOT NULL;
|
|||||||
ALTER TABLE llx_categorie ADD UNIQUE INDEX uk_categorie_ref (entity, fk_parent, label, type);
|
ALTER TABLE llx_categorie ADD UNIQUE INDEX uk_categorie_ref (entity, fk_parent, label, type);
|
||||||
ALTER TABLE llx_categorie ADD INDEX idx_categorie_type (type);
|
ALTER TABLE llx_categorie ADD INDEX idx_categorie_type (type);
|
||||||
ALTER TABLE llx_categorie ADD INDEX idx_categorie_label (label);
|
ALTER TABLE llx_categorie ADD INDEX idx_categorie_label (label);
|
||||||
|
|
||||||
|
-- [ task #559 ] Price by quantity management
|
||||||
|
CREATE TABLE llx_product_price_by_qty
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
fk_product_price integer NOT NULL,
|
||||||
|
date_price timestamp,
|
||||||
|
price double (24,8) DEFAULT 0,
|
||||||
|
price_ttc double (24,8) DEFAULT NULL,
|
||||||
|
qty_min real DEFAULT 0,
|
||||||
|
qty_max real DEFAULT 99999
|
||||||
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
ALTER TABLE llx_product_price ADD price_by_qty INT NOT NULL DEFAULT 0;
|
||||||
|
|||||||
@ -181,3 +181,5 @@ HelpAddThisServiceCard=This option allows you to create or clone a service if it
|
|||||||
CurrentProductPrice=Current price
|
CurrentProductPrice=Current price
|
||||||
AlwaysUseNewPrice=Always use current price of product/service
|
AlwaysUseNewPrice=Always use current price of product/service
|
||||||
AlwaysUseFixedPrice=Use the fixed price
|
AlwaysUseFixedPrice=Use the fixed price
|
||||||
|
PriceByQuantity=Price by quantity
|
||||||
|
PriceByQuantityRange=Quantity range
|
||||||
@ -181,3 +181,5 @@ HelpAddThisServiceCard=Cette option permet de créer ou de cloner une fiche serv
|
|||||||
CurrentProductPrice=Prix actuel
|
CurrentProductPrice=Prix actuel
|
||||||
AlwaysUseNewPrice=Toujours utiliser le prix du jour
|
AlwaysUseNewPrice=Toujours utiliser le prix du jour
|
||||||
AlwaysUseFixedPrice=Utiliser le prix fixé
|
AlwaysUseFixedPrice=Utiliser le prix fixé
|
||||||
|
PriceByQuantity=Prix par quantité
|
||||||
|
PriceByQuantityRange=Grille de quantités
|
||||||
Loading…
Reference in New Issue
Block a user