New : 0002190: Journaux : option pour supprimer la quantité
This commit is contained in:
parent
868d78a862
commit
192060909d
9 changed files with 110 additions and 8 deletions
14
include/sql/patch/upgrade176.sql
Normal file
14
include/sql/patch/upgrade176.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
begin;
|
||||
|
||||
ALTER TABLE public.jrn_def ADD jrn_def_quantity int2 NULL DEFAULT 1;
|
||||
COMMENT ON COLUMN public.jrn_def.jrn_def_quantity IS 'Use the quantity column, 0->disable,1->enable,used only with Sale and Purchase otherwise ignored';
|
||||
update public.jrn_def set jrn_def_quantity=1;
|
||||
ALTER TABLE public.jrn_def ALTER COLUMN jrn_def_quantity SET NOT NULL;
|
||||
-- change PARAM by CFG
|
||||
|
||||
update menu_ref set me_code='CFG' , me_menu='Configuration' ,me_description ='Configuration de votre dossier' where me_code='PARAM';
|
||||
|
||||
update profile_menu set me_code ='CFG' where me_code='PARAM';
|
||||
update profile_menu set me_code_dep ='CFG' where me_code_dep ='PARAM';
|
||||
insert into version (val,v_description) values (177,'Use of quantity column optional and rename PARAM');
|
||||
commit;
|
||||
Loading…
Add table
Add a link
Reference in a new issue