From 3d0353cdf33660f23e54be178561be44f6eadb0b Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Fri, 3 Dec 2010 09:39:53 +0000 Subject: [PATCH] Fix: Withdrawals, debug notifications tasks --- htdocs/install/mysql/migration/2.9.0-3.0.0.sql | 1 + .../install/mysql/tables/llx_prelevement_notifications.sql | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql index bb7f46bcb03..e14f115edd6 100644 --- a/htdocs/install/mysql/migration/2.9.0-3.0.0.sql +++ b/htdocs/install/mysql/migration/2.9.0-3.0.0.sql @@ -143,5 +143,6 @@ ALTER TABLE llx_user ADD COLUMN openid varchar(255); -- Enhance Withdrawal module INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (7,'NOTIFY_TRN_WITHDRAW','Transmission prélèvement','Executed when a withdrawal is transmited','withdraw'); INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (8,'NOTIFY_CRD_WITHDRAW','Créditer prélèvement','Executed when a withdrawal is credited','withdraw'); +INSERT INTO llx_action_def (rowid,code,titre,description,objet_type) values (9,'NOTIFY_EMT_WITHDRAW','Emission prélèvement','Executed when a withdrawal is emited','withdraw'); ALTER TABLE llx_prelevement_notifications MODIFY action varchar(32); diff --git a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql index ac820003542..90a4cf0e343 100644 --- a/htdocs/install/mysql/tables/llx_prelevement_notifications.sql +++ b/htdocs/install/mysql/tables/llx_prelevement_notifications.sql @@ -23,9 +23,9 @@ -- Utilisateur a notifier -- -- actions : --- 'em' emission d'un bon --- 'tr' tranmission d'un bon --- 'cr' credit du bon par la banque +-- 'NOTIFY_EMT_WITHDRAW' emission d'un bon +-- 'NOTIFY_TRN_WITHDRAW' tranmission d'un bon +-- 'NOTIFY_CRD_WITHDRAW' credit du bon par la banque create table llx_prelevement_notifications (