altocompta/html/admin/sql/patch/upgrade7.sql
2005-09-28 13:27:10 +00:00

18 lines
571 B
PL/PgSQL

begin;
insert into tva_rate values (5,'0%',0, 'Pas soumis à la TVA',null);
update fiche_def_ref set frd_class_base=2400 where frd_id=7;
update version set val=8;
-- banque n'a pas de gestion stock
delete from jnt_fic_attr where fd_id=1 and ad_id=19;
-- client n'a pas de gestion stock
delete from jnt_fic_attr where fd_id=2 and ad_id=19;
-- default periode for phpcompta
update user_pref set pref_periode=40 where pref_user='phpcompta';
-- create index ix_j_grp jrnx(j_grpt);
-- create index ix_jr_grp jrn(jr_grpt_id);
-- version 8
update version set val=8;
commit;