Allow null in stock alert threshold to be compatible with #7162
This commit is contained in:
parent
a8b4d216e5
commit
ffb3823655
@ -41,6 +41,9 @@ ALTER TABLE llx_website_page ADD COLUMN fk_user_modif integer;
|
|||||||
|
|
||||||
-- For 7.0
|
-- For 7.0
|
||||||
|
|
||||||
|
ALTER TABLE llx_product MODIFY COLUMN seuil_stock_alerte integer DEFAULT NULL;
|
||||||
|
-- VPGSQL8.2 ALTER TABLE llx_product ALTER COLUMN seuil_stock_alerte SET DEFAULT NULL;
|
||||||
|
|
||||||
ALTER TABLE llx_facture_rec ADD COLUMN suspended integer DEFAULT 0;
|
ALTER TABLE llx_facture_rec ADD COLUMN suspended integer DEFAULT 0;
|
||||||
|
|
||||||
ALTER TABLE llx_facture_rec MODIFY COLUMN titre VARCHAR(100);
|
ALTER TABLE llx_facture_rec MODIFY COLUMN titre VARCHAR(100);
|
||||||
|
|||||||
@ -60,7 +60,7 @@ create table llx_product
|
|||||||
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
tobatch tinyint DEFAULT 0 NOT NULL, -- Is it a product that need a batch management (eat-by or lot management)
|
||||||
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
fk_product_type integer DEFAULT 0, -- Type of product: 0 for regular product, 1 for service, 9 for other (used by external module)
|
||||||
duration varchar(6),
|
duration varchar(6),
|
||||||
seuil_stock_alerte integer DEFAULT 0,
|
seuil_stock_alerte integer DEFAULT NULL,
|
||||||
url varchar(255),
|
url varchar(255),
|
||||||
barcode varchar(255) DEFAULT NULL, -- barcode
|
barcode varchar(255) DEFAULT NULL, -- barcode
|
||||||
fk_barcode_type integer DEFAULT NULL, -- barcode type
|
fk_barcode_type integer DEFAULT NULL, -- barcode type
|
||||||
|
|||||||
@ -71,7 +71,7 @@ NoPredefinedProductToDispatch=No predefined products for this object. So no disp
|
|||||||
DispatchVerb=Dispatch
|
DispatchVerb=Dispatch
|
||||||
StockLimitShort=Limit for alert
|
StockLimitShort=Limit for alert
|
||||||
StockLimit=Stock limit for alert
|
StockLimit=Stock limit for alert
|
||||||
StockLimitDesc="" (empty) default value means no alert. <br>"0" can be used with 'Stock can be negative' configuration.
|
StockLimitDesc=(empty) means no warning.<br>0 can be used for a warning as soon as stock is empty.
|
||||||
PhysicalStock=Physical stock
|
PhysicalStock=Physical stock
|
||||||
RealStock=Real Stock
|
RealStock=Real Stock
|
||||||
RealStockDesc=Physical or real stock is the stock you currently have into your internal warehouses/emplacements.
|
RealStockDesc=Physical or real stock is the stock you currently have into your internal warehouses/emplacements.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user