2
0
forked from Wavyzz/dolibarr

New: Add a public url as a property for products/services.

This commit is contained in:
Laurent Destailleur
2014-03-14 13:51:46 +01:00
parent aab4800f87
commit 4154f07dfd
7 changed files with 34 additions and 10 deletions

View File

@@ -996,6 +996,8 @@ ALTER TABLE llx_product_customer_price ADD CONSTRAINT fk_customer_price_fk_soc F
ALTER TABLE llx_user ADD COLUMN barcode varchar(255) DEFAULT NULL;
ALTER TABLE llx_user ADD COLUMN fk_barcode_type integer DEFAULT 0;
ALTER TABLE llx_product ADD COLUMN url varchar(255);
create table llx_product_customer_price_log
(
rowid integer AUTO_INCREMENT PRIMARY KEY,

View File

@@ -54,6 +54,7 @@ create table llx_product
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),
seuil_stock_alerte integer DEFAULT 0,
url varchar(255),
barcode varchar(255) DEFAULT NULL,
fk_barcode_type integer DEFAULT 0,
accountancy_code_sell varchar(15), -- Selling accountancy code