From b5d31f9d5d102403c9d97d0b84e76f6608bfa9ea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 30 Sep 2008 00:02:41 +0000 Subject: [PATCH] Add patch http://www.matelli.fr/showcases/patchs-dolibarr/add-action-button-behaviour.html --- htdocs/comm/prospect/fiche.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index 14afd2b57bc..9f769292bc7 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -230,7 +230,9 @@ if ($socid > 0) if ($conf->agenda->enabled) { - print ''.$langs->trans("AddAction").''; + // Updated by Matelli (See http://matelli.fr/showcases/patchs-dolibarr/add-action-button-behaviour.html) + // Don't force the user to add a "todo action"; he could report an action that he did + print ''.$langs->trans("AddAction").''; } if ($conf->propal->enabled && defined("MAIN_MODULE_PROPALE") && MAIN_MODULE_PROPALE && $user->rights->propale->creer)