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:
1
htdocs/install/mysql/tables/llx_product.sql
Normal file → Executable file
1
htdocs/install/mysql/tables/llx_product.sql
Normal file → Executable 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;
|
||||
|
||||
@@ -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
1
htdocs/install/mysql/tables/llx_product_price.sql
Normal file → Executable 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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user