Workflow is empty by default but can be modified with module workflow

This commit is contained in:
Laurent Destailleur 2011-03-01 09:46:34 +00:00
parent f5b43e0d08
commit f5a2db4f12
4 changed files with 15 additions and 2 deletions

View File

@ -30,6 +30,7 @@ require("../main.inc.php");
require_once(DOL_DOCUMENT_ROOT."/lib/admin.lib.php");
$langs->load("admin");
$langs->load("workflow");
if (!$user->admin)
accessforbidden();
@ -101,7 +102,7 @@ if (sizeof($workflowcodes) > 0)
{
$var = !$var;
print "<tr ".$bc[$var].">\n";
print "<td>".$langs->trans($code)."</td>\n";
print "<td>".$langs->trans('desc'.$code)."</td>\n";
if (! empty($conf->global->$code))
{
print '<td align="center"><a href="'.$_SERVER['PHP_SELF'].'?action=del'.$code.'">';

View File

@ -44,7 +44,7 @@ class InterfaceWorkflowManager
$this->name = preg_replace('/^Interface/i','',get_class($this));
$this->family = "core";
$this->description = "Triggers of this module allows to manage workflows";
$this->version = 'experimental'; // 'development', 'experimental', 'dolibarr' or version
$this->version = 'dolibarr'; // 'development', 'experimental', 'dolibarr' or version
}

View File

@ -0,0 +1,6 @@
# Dolibarr language file - fr_FR - admin
CHARSET= UTF-8
WorkflowSetup=Workflow module setup
WorkflowDesc=This module is desinged to modify the behaviour of automatic actions into application. By default, workflow is opened (you make thing in order you want). You can enabled automatic actions that you are interesting in.
ThereIsNoWorkflowToModify=There is no workflow you can modify for module you have activated.
descWORKFLOW_PROPAL_AUTOCREATE_ORDER=Create a customer order automatically after a commercial proposal is signed

View File

@ -0,0 +1,6 @@
# Dolibarr language file - fr_FR - admin
CHARSET= UTF-8
WorkflowSetup=Configuration du module workflow
WorkflowDesc=Ce module vous permet de modifier le comportement d'enchainement automatisé. Par défaut, le workflow est ouvert et non imposé. A vous d'activer les liens automatiques qui vous intéressent.
ThereIsNoWorkflowToModify=Il n'y a pas de flux workflow modifiable pour les modules que vous avez activés.
descWORKFLOW_PROPAL_AUTOCREATE_ORDER=Créer une commande client automatiquement à la signature d'une proposition commerciale