From b27c51c59e7a44cd1b558c280f86ee725eda06f2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 May 2006 22:55:28 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20le=20nouveau=20droit=20lire=20tous=20les?= =?UTF-8?q?=20clients=20doit=20etre=20mis=20a=20on=20par=20defaut=20pour?= =?UTF-8?q?=20compatibilit=E9=20ascendante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/2.0.0-2.1.0.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 53e6375615d..e214943830c 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -100,6 +100,7 @@ drop table if exists llx_soc_recontact; update llx_const set name='PRODUIT_CHANGE_PROD_DESC' where name='CHANGE_PROD_DESC'; update llx_const set name='COMMANDE_ADD_PROD_DESC' where name='COM_ADD_PROD_DESC'; +update llx_const set name='PROPALE_ADD_PROD_DESC' where name='PROP_ADD_PROD_DESC'; update llx_const set name='DON_FORM' where name='DONS_FORM'; update llx_const set name='MAIN_SIZE_LISTE_LIMIT' where name='SIZE_LISTE_LIMIT'; update llx_const set name='SOCIETE_FISCAL_MONTH_START' where name='FISCAL_MONTH_START'; @@ -237,3 +238,8 @@ alter table llx_bank_account add column ref varchar(12) NOT NULL; rename table llx_accountingsystem_det to llx_accountingaccount; + + +insert into llx_rights_def (id, libelle, module, type, bydefault, subperms, perms) values (262,'Consulter tous les clients','commercial','r',1,'voir','client'); +insert into llx_user_rights(fk_user,fk_id) select distinct fk_user, '262' from llx_user_rights where fk_id = 261; +