Works on multi-currency

This commit is contained in:
Regis Houssin 2011-03-10 10:38:07 +00:00
parent c0aefd09c6
commit 512914b791
2 changed files with 2 additions and 1 deletions

View File

@ -39,4 +39,4 @@ ALTER TABLE llx_commande_fournisseur ADD column ref_ext varchar(30) after entity
ALTER TABLE llx_facturedet DROP INDEX uk_fk_remise_except;
ALTER TABLE llx_facturedet ADD UNIQUE INDEX uk_fk_remise_except (fk_remise_except, fk_facture);
ALTER TABLE llx_societe ADD column fk_currency integer DEFAULT 0 after fk_forme_juridique;

View File

@ -52,6 +52,7 @@ create table llx_societe
fk_effectif integer DEFAULT 0, --
fk_typent integer DEFAULT 0, --
fk_forme_juridique integer DEFAULT 0, -- forme juridique INSEE
fk_currency integer DEFAULT 0, -- currency
siren varchar(16), -- IDProf1: siren ou RCS pour france
siret varchar(16), -- IDProf2: siret pour france
ape varchar(16), -- IDProf3: code ape pour france