diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index c8972e1aaf5..61ae10b2242 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -25,6 +25,7 @@ alter table llx_propal add column note_public text after note; ALTER TABLE llx_societe ADD mode_reglement INT( 11 ) DEFAULT NULL ; ALTER TABLE llx_societe ADD cond_reglement INT( 11 ) DEFAULT '1' NOT NULL ; +ALTER TABLE llx_societe ADD tva_assuj tinyint DEFAULT '1' NOT NULL ; alter table llx_product add gencode varchar(255) DEFAULT NULL; @@ -49,4 +50,4 @@ create table llx_commande_fournisseur_model_pdf nom varchar(50) PRIMARY KEY, libelle varchar(255), description text -)type=innodb; \ No newline at end of file +)type=innodb; diff --git a/mysql/tables/llx_societe.sql b/mysql/tables/llx_societe.sql index bd6b733a75a..d5b2df24c06 100644 --- a/mysql/tables/llx_societe.sql +++ b/mysql/tables/llx_societe.sql @@ -63,6 +63,6 @@ create table llx_societe fk_user_modif integer, -- utilisateur qui a modifié l'info remise_client real DEFAULT 0, -- remise systématique pour le client mode_reglement integer DEFAULT 0, -- mode de réglement - cond_reglement integer DEFAULT 1 NOT NULL -- condition de réglement + cond_reglement integer DEFAULT 1 NOT NULL, -- condition de réglement + tva_assuj tinyint DEFAULT 1 NOT NULL,-- assujéti ou non à la TVA )type=innodb; -