NEW POS support in order
Save informations for online / API shopping and push to invoice
This commit is contained in:
parent
a3a89b755f
commit
d490dd4dec
@ -100,7 +100,6 @@ ALTER TABLE llx_prelevement_facture_demande ADD COLUMN sourcetype varchar(32);
|
|||||||
ALTER TABLE llx_prelevement_facture_demande ADD COLUMN ext_payment_id varchar(128) NULL;
|
ALTER TABLE llx_prelevement_facture_demande ADD COLUMN ext_payment_id varchar(128) NULL;
|
||||||
ALTER TABLE llx_prelevement_facture_demande ADD COLUMN ext_payment_site varchar(128) NULL;
|
ALTER TABLE llx_prelevement_facture_demande ADD COLUMN ext_payment_site varchar(128) NULL;
|
||||||
|
|
||||||
|
|
||||||
-- Fix if table exists
|
-- Fix if table exists
|
||||||
ALTER TABLE llx_c_units DROP INDEX uk_c_units_code;
|
ALTER TABLE llx_c_units DROP INDEX uk_c_units_code;
|
||||||
ALTER TABLE llx_c_units ADD COLUMN scale integer;
|
ALTER TABLE llx_c_units ADD COLUMN scale integer;
|
||||||
@ -119,7 +118,6 @@ CREATE TABLE llx_c_units(
|
|||||||
|
|
||||||
ALTER TABLE llx_c_units ADD UNIQUE uk_c_units_code(code);
|
ALTER TABLE llx_c_units ADD UNIQUE uk_c_units_code(code);
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('T', '3','WeightUnitton','T', 'weight', 1);
|
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('T', '3','WeightUnitton','T', 'weight', 1);
|
||||||
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('KG', '0','WeightUnitkg','Kg', 'weight', 1);
|
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('KG', '0','WeightUnitkg','Kg', 'weight', 1);
|
||||||
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('G', '-3','WeightUnitg','g', 'weight', 1);
|
INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VALUES ('G', '-3','WeightUnitg','g', 'weight', 1);
|
||||||
@ -162,3 +160,7 @@ INSERT INTO llx_c_units (code, scale, label, short_label, unit_type, active) VAL
|
|||||||
|
|
||||||
-- Default Warehouse id for a user
|
-- Default Warehouse id for a user
|
||||||
ALTER TABLE llx_user ADD COLUMN fk_warehouse INTEGER NULL;
|
ALTER TABLE llx_user ADD COLUMN fk_warehouse INTEGER NULL;
|
||||||
|
|
||||||
|
-- Save informations for online / API shopping and push to invoice
|
||||||
|
ALTER TABLE llx_commande ADD COLUMN module_source varchar(32);
|
||||||
|
ALTER TABLE llx_commande ADD COLUMN pos_source varchar(32);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user