New #0001983: CA - permettre désactivation poste
This commit is contained in:
parent
ec83bf69e2
commit
5593b786f1
5 changed files with 26 additions and 4 deletions
14
include/sql/patch/upgrade161.sql
Normal file
14
include/sql/patch/upgrade161.sql
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
begin;
|
||||
|
||||
alter table poste_analytique add po_state integer;
|
||||
|
||||
alter table poste_analytique alter po_state set default 1;
|
||||
|
||||
update poste_analytique set po_state=1;
|
||||
|
||||
alter table poste_analytique alter po_state set not null;
|
||||
|
||||
comment on column poste_analytique.po_state is 'Analytic Account state : 0 disabled 0 enabled ';
|
||||
|
||||
insert into version (val,v_description) values (162,'Analytic accountancy : enable or disable #1983');
|
||||
commit ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue