From 564bc8e04f1f364b16f757c931464e06a6a8f733 Mon Sep 17 00:00:00 2001 From: simontosser <simontosser> Date: Thu, 20 Oct 2005 21:05:59 +0000 Subject: [PATCH] Ajout support ventilation sur facture fournisseur --- mysql/migration/1.1.0-2.0.0.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mysql/migration/1.1.0-2.0.0.sql b/mysql/migration/1.1.0-2.0.0.sql index 62656d87f73..6614b8dd6d1 100644 --- a/mysql/migration/1.1.0-2.0.0.sql +++ b/mysql/migration/1.1.0-2.0.0.sql @@ -480,6 +480,9 @@ ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_user_author ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_user_valid FOREIGN KEY (fk_user_valid) REFERENCES llx_user (rowid); ALTER TABLE llx_facture_fourn ADD CONSTRAINT fk_facture_fourn_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); +ALTER TABLE llx_facture_fourn_det ADD fk_export_compta INT( 11 ) NOT NULL AFTER total_ttc; +ALTER TABLE llx_facture_fourn_det ADD fk_code_ventilation INT( 11 ) NOT NULL AFTER fk_export_compta ; + update llx_facture_fourn set date_lim_reglement = datef where fk_cond_reglement = 1; alter table llx_bank_account modify bank varchar(60); @@ -1889,4 +1892,4 @@ alter table llx_facture add model varchar(50) after note; alter table llx_facturedet modify fk_product integer NULL; alter table llx_contratdet modify fk_product integer NULL; -update llx_facturedet set fk_product = null where fk_product=0; \ No newline at end of file +update llx_facturedet set fk_product = null where fk_product=0; -- GitLab