Fixed: Bad sql requests

This commit is contained in:
Laurent Destailleur 2015-01-18 20:49:57 +01:00
parent e220ce5a82
commit 28148f8637

View File

@ -47,11 +47,11 @@ ALTER TABLE llx_product_fournisseur_price ADD fk_price_expression integer DEFAUL
insert into llx_c_tva(rowid,fk_pays,taux,recuperableonly,note,active) values ( 2131, 213, '5', '0', 'VAT 5%', 1);
-- Add situation invoices
ALTER TABLE llx_facture ADD situation_cycle_ref integer;
ALTER TABLE llx_facture ADD situation_counter integer;
ALTER TABLE llx_facture ADD situation_final integer;
ALTER TABLE llx_facturedet ADD situation_percent real;
ALTER TABLE llx_facturedet ADD fk_prev_id integer;
ALTER TABLE llx_facture ADD COLUMN situation_cycle_ref integer;
ALTER TABLE llx_facture ADD COLUMN situation_counter integer;
ALTER TABLE llx_facture ADD COLUMN situation_final integer;
ALTER TABLE llx_facturedet ADD COLUMN situation_percent real;
ALTER TABLE llx_facturedet ADD COLUMN fk_prev_id integer;
-- Convert SMTP config to main entity, so new entities don't get the old values
UPDATE llx_const SET entity = 1 WHERE entity = 0 AND name = "MAIN_MAIL_SENDMODE";