2
0
forked from Wavyzz/dolibarr

Merge branch 'dinamic-prices-product' of

https://github.com/IonAgorria/dolibarr into
IonAgorria-dinamic-prices-product

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/fournisseurs.php
This commit is contained in:
Laurent Destailleur
2015-01-31 14:53:14 +01:00
16 changed files with 503 additions and 176 deletions

1
htdocs/install/mysql/tables/llx_product.sql Normal file → Executable file
View File

@@ -76,5 +76,6 @@ create table llx_product
finished tinyint DEFAULT NULL,
hidden tinyint DEFAULT 0, -- Not used. Deprecated.
import_key varchar(14), -- Import key
fk_price_expression integer, -- Link to the rule for dynamic price calculation
desiredstock integer DEFAULT 0
)ENGINE=innodb;

View File

@@ -39,6 +39,6 @@ create table llx_product_fournisseur_price
tva_tx double(6,3) NOT NULL,
info_bits integer NOT NULL DEFAULT 0,
fk_user integer,
fk_price_expression integer, -- Link to the rule for dynamic amount calculation
fk_supplier_price_expression integer, -- Link to the rule for dynamic price calculation
import_key varchar(14) -- Import key
)ENGINE=innodb;

1
htdocs/install/mysql/tables/llx_product_price.sql Normal file → Executable file
View File

@@ -38,6 +38,7 @@ create table llx_product_price
fk_user_author integer,
tosell tinyint DEFAULT 1,
price_by_qty integer NOT NULL DEFAULT 0,
fk_price_expression integer, -- Link to the rule for dynamic price calculation
import_key varchar(14)
)ENGINE=innodb;