<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bgenere</id>
	<title>Dolibarr ERP CRM Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dolibarr.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Bgenere"/>
	<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php/Special:Contributions/Bgenere"/>
	<updated>2026-10-22T23:30:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Lot_/_Serial&amp;diff=44861</id>
		<title>Module Lot / Serial</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Lot_/_Serial&amp;diff=44861"/>
		<updated>2019-11-24T13:33:56Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */ Orthography&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- BEGIN origin interlang links --&amp;gt;&lt;br /&gt;
&amp;lt;!-- You can edit this section but do NOT remove these comments&lt;br /&gt;
     Links below will be automatically replicated on translated pages by PolyglotBot --&amp;gt;&lt;br /&gt;
[[fr:Module_ProductBatch_FR]]&lt;br /&gt;
&amp;lt;!-- END interlang links --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Stock]][[Category:Product]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Module ProductBatch|&lt;br /&gt;
num=39000|&lt;br /&gt;
devdoc=[[Module ProductBatch (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
ProductBatch module allow user to manage the following fields:&lt;br /&gt;
* Serial number&lt;br /&gt;
* Sell-by date = Shelf life expiration date = Use by (foods must be removed from store after this date)&lt;br /&gt;
* Eat-by date = Best Before date = Best if Used By = Best by (eat-by-date is often &amp;gt; sell-by-date)&lt;br /&gt;
This module extends [[Module Stocks En]].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
There is no setup for this module but you will need at least to configure decreasing / increasing option in stock module for good operation.&lt;br /&gt;
* Stock decrease : on shipment validation&lt;br /&gt;
* Stock increase : on manual dispatch&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMS01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double&amp;diff=41239</id>
		<title>Module Comptabilité en Partie Double</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double&amp;diff=41239"/>
		<updated>2019-04-17T08:51:37Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Compta]]&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
{{TemplateModFR}}&lt;br /&gt;
{{BasculeDevUser|&lt;br /&gt;
nom=Comptabilité Avancée|&lt;br /&gt;
num=50400| &lt;br /&gt;
devdoc=[[Module Comptabilité Avancée (développeur)]]|&lt;br /&gt;
userdoc=Cette page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
Ce module offre des fonctions comptables plus évolués que le module comptabilité et permet de générer des écritures comptables.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Cycle de vie / Règles de gestion =&lt;br /&gt;
&lt;br /&gt;
L&#039;utilisation du module de comptabilité se fait en plusieurs étapes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
Les actions suivantes sont habituellement exécutées une seule fois, ou une fois par an ...&lt;br /&gt;
&lt;br /&gt;
 Etape 1: Créer un modèle de plan de compte depuis le menu Compta/Tréso-Comptabilité-Configuration-Modèle de plan de compte&lt;br /&gt;
&lt;br /&gt;
 Etape 2: Créer ou vérifier le contenu de votre plan de compte depuis le menu Compta/Tréso-Comptabilité-Configuration-Plan comptable&lt;br /&gt;
&lt;br /&gt;
Les prochaines étapes doivent être faites pour vous faire gagner du temps à l&#039;avenir en vous proposant le bon compte comptable par défaut lors de la journalisation (écrire des enregistrements dans les journaux et Grand Livre)&lt;br /&gt;
&lt;br /&gt;
 Etape 3: Vérifier que la liaison par défaut entre les lignes de transactions diverses et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes par défaut.&lt;br /&gt;
&lt;br /&gt;
 Etape 4: Vérifiez que la liaison entre le paiement de la TVA et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque taux de TVA sur la page Compta/Tréso-Comptabilité-Configuration-Compte TVA.&lt;br /&gt;
&lt;br /&gt;
 Etape 5: Vérifier que la liaison entre les dépenses spéciales (cotisations sociales ou fiscales) et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes charges.&lt;br /&gt;
&lt;br /&gt;
 Etape 6: Vérifiez que la liaison entre le type de notes de frais et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque type de ligne de note de frais sur la page Compta/Tréso-Comptabilité-Configuration-Comptes notes de frais.&lt;br /&gt;
&lt;br /&gt;
 Etape 7: Vérifier que la liaison entre les paiements de prêts et les comptes comptables est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Dépenses spéciales-Emprunts ou Compta/Tréso-Comptabilité-Configuration-Comptes par défaut.&lt;br /&gt;
&lt;br /&gt;
 Etape 8: Vérifier que la liaison entre les comptes bancaires et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, rendez-vous sur la fiche de chaque compte financier. Vous pouvez commencer à partir de la page Accueil-Banques/Caisses.&lt;br /&gt;
&lt;br /&gt;
 Etape 9: Vérifier que la liaison entre les produits/services et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes produits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
Les actions suivantes sont habituellement exécutées chaque mois, semaine, ou jour pour les très grandes entreprises ...&lt;br /&gt;
&lt;br /&gt;
 Etape 1: Vérifier que la liaison entre les lignes de factures client existantes et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Liaison factures client.&lt;br /&gt;
&lt;br /&gt;
 Etape 2: Vérifier que la liaison entre les lignes de factures fournisseurs existantes et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Liaison factures fournisseur.&lt;br /&gt;
&lt;br /&gt;
 Etape 3: Vérifiez que la liaison entre le type de notes de frais et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque type de ligne de note de frais sur la page Compta/Tréso-Comptabilité-Liaison notes de frais.&lt;br /&gt;
&lt;br /&gt;
 Etape 4: Ecrire les transactions dans le Grand Livre. Pour cela, aller sur chaque Journal, et cliquer sur le bouton &amp;quot;Enregistrer les opérations dans le Grand Livre&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Etape 5: Ajouter ou modifier les opérations existantes et générer des rapports et des exportations.&lt;br /&gt;
&lt;br /&gt;
= Plan comptable =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Exports =&lt;br /&gt;
&lt;br /&gt;
Voici un exemple des formats d&#039;export disponibles.  L&#039;expert se fait depuis le grand livre:&lt;br /&gt;
&lt;br /&gt;
{{AccountingExpertExportExamples}}&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double&amp;diff=41238</id>
		<title>Module Comptabilité en Partie Double</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Comptabilit%C3%A9_en_Partie_Double&amp;diff=41238"/>
		<updated>2019-04-17T08:51:15Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Compta]]&lt;br /&gt;
{{TemplateDocUtil}}&lt;br /&gt;
{{TemplateModFR}}&lt;br /&gt;
{{BasculeDevUser|&lt;br /&gt;
nom=Comptabilité Avancée|&lt;br /&gt;
num=50400| &lt;br /&gt;
devdoc=[[Module Comptabilité Avancée (développeur)]]|&lt;br /&gt;
userdoc=Cette page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
Ce module offre des fonctions comptables plus évolués que le module comptabilité et permet de générer des écritures comptables.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
Ce module ayant un statut développement, celui ci n&#039;est accessible qu&#039;en mettant la valeur &amp;quot;2&amp;quot; à la constante MAIN_FEATURES_LEVEL disponible dans Configuration =&amp;gt; Divers&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Cycle de vie / Règles de gestion =&lt;br /&gt;
&lt;br /&gt;
L&#039;utilisation du module de comptabilité se fait en plusieurs étapes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
Les actions suivantes sont habituellement exécutées une seule fois, ou une fois par an ...&lt;br /&gt;
&lt;br /&gt;
 Etape 1: Créer un modèle de plan de compte depuis le menu Compta/Tréso-Comptabilité-Configuration-Modèle de plan de compte&lt;br /&gt;
&lt;br /&gt;
 Etape 2: Créer ou vérifier le contenu de votre plan de compte depuis le menu Compta/Tréso-Comptabilité-Configuration-Plan comptable&lt;br /&gt;
&lt;br /&gt;
Les prochaines étapes doivent être faites pour vous faire gagner du temps à l&#039;avenir en vous proposant le bon compte comptable par défaut lors de la journalisation (écrire des enregistrements dans les journaux et Grand Livre)&lt;br /&gt;
&lt;br /&gt;
 Etape 3: Vérifier que la liaison par défaut entre les lignes de transactions diverses et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes par défaut.&lt;br /&gt;
&lt;br /&gt;
 Etape 4: Vérifiez que la liaison entre le paiement de la TVA et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque taux de TVA sur la page Compta/Tréso-Comptabilité-Configuration-Compte TVA.&lt;br /&gt;
&lt;br /&gt;
 Etape 5: Vérifier que la liaison entre les dépenses spéciales (cotisations sociales ou fiscales) et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes charges.&lt;br /&gt;
&lt;br /&gt;
 Etape 6: Vérifiez que la liaison entre le type de notes de frais et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque type de ligne de note de frais sur la page Compta/Tréso-Comptabilité-Configuration-Comptes notes de frais.&lt;br /&gt;
&lt;br /&gt;
 Etape 7: Vérifier que la liaison entre les paiements de prêts et les comptes comptables est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Dépenses spéciales-Emprunts ou Compta/Tréso-Comptabilité-Configuration-Comptes par défaut.&lt;br /&gt;
&lt;br /&gt;
 Etape 8: Vérifier que la liaison entre les comptes bancaires et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, rendez-vous sur la fiche de chaque compte financier. Vous pouvez commencer à partir de la page Accueil-Banques/Caisses.&lt;br /&gt;
&lt;br /&gt;
 Etape 9: Vérifier que la liaison entre les produits/services et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Configuration-Comptes produits.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
Les actions suivantes sont habituellement exécutées chaque mois, semaine, ou jour pour les très grandes entreprises ...&lt;br /&gt;
&lt;br /&gt;
 Etape 1: Vérifier que la liaison entre les lignes de factures client existantes et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Liaison factures client.&lt;br /&gt;
&lt;br /&gt;
 Etape 2: Vérifier que la liaison entre les lignes de factures fournisseurs existantes et le compte comptable est faite. Compléter les liaisons manquantes. Pour cela, vous pouvez utiliser l&#039;entrée de menu Compta/Tréso-Comptabilité-Liaison factures fournisseur.&lt;br /&gt;
&lt;br /&gt;
 Etape 3: Vérifiez que la liaison entre le type de notes de frais et le compte comptable est faite. Compléter les liaisons manquantes. Vous pouvez définir les comptes comptables à utiliser pour chaque type de ligne de note de frais sur la page Compta/Tréso-Comptabilité-Liaison notes de frais.&lt;br /&gt;
&lt;br /&gt;
 Etape 4: Ecrire les transactions dans le Grand Livre. Pour cela, aller sur chaque Journal, et cliquer sur le bouton &amp;quot;Enregistrer les opérations dans le Grand Livre&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 Etape 5: Ajouter ou modifier les opérations existantes et générer des rapports et des exportations.&lt;br /&gt;
&lt;br /&gt;
= Plan comptable =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Exports =&lt;br /&gt;
&lt;br /&gt;
Voici un exemple des formats d&#039;export disponibles.  L&#039;expert se fait depuis le grand livre:&lt;br /&gt;
&lt;br /&gt;
{{AccountingExpertExportExamples}}&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Documentation_utilisateur&amp;diff=41237</id>
		<title>Documentation utilisateur</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Documentation_utilisateur&amp;diff=41237"/>
		<updated>2019-04-17T07:26:36Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Utilisation (modules) */  orthographe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;keywords content=&amp;quot;utilisateur, documentation, guide, doc, tutorial, utilisation, aide&amp;quot; /&amp;gt;&lt;br /&gt;
Cette page est l&#039;index des articles en rapport avec la documentation utilisateur.&lt;br /&gt;
Pour la documentation développeur, [[Documentation Développeur|voir ici]].&lt;br /&gt;
&lt;br /&gt;
= Dolibarr et ses modules =&lt;br /&gt;
&lt;br /&gt;
== Fonctionnalités ==&lt;br /&gt;
* [[Ce que fait Dolibarr]]&lt;br /&gt;
* [[Ce que ne fait pas Dolibarr]]&lt;br /&gt;
&lt;br /&gt;
== Installation/Démarrage/Mise à jour ==&lt;br /&gt;
* [[Prérequis]]&lt;br /&gt;
* [[Installation / Mise a jour]]&lt;br /&gt;
* [[Premiers paramétrages|Configuration / Paramétrage]]&lt;br /&gt;
La documentation sur l&#039;utilisation de Dolibarr est décrite dans le chapitres suivants.&lt;br /&gt;
&lt;br /&gt;
== Administrations/Imports/Exports ==&lt;br /&gt;
* [[Imports_de_masse|Imports de mes données]] / [[Exports]]&lt;br /&gt;
* [[Sauvegardes]] / [[Restaurations]]&lt;br /&gt;
&lt;br /&gt;
== Utilisation (modules) ==&lt;br /&gt;
Les &#039;&#039;&#039;fonctionnalités&#039;&#039;&#039; de Dolibarr sont réparties en &#039;&#039;&#039;modules&#039;&#039;&#039;. Savoir utiliser Dolibarr, c&#039;est connaitre les menus et fonctions des modules qui ont été activés.&lt;br /&gt;
&lt;br /&gt;
Les modules dit &amp;quot;standards&amp;quot; sont ceux disponibles avec la version de base.&lt;br /&gt;
&lt;br /&gt;
Les modules dit &amp;quot;externes&amp;quot; sont des modules non inclus en standard dans Dolibarr. Ils peuvent être téléchargés via de nombreux moyens différents dont le téléchargement depuis la place de marché des modules externe comme https://www.dolistore.com&lt;br /&gt;
&lt;br /&gt;
Mais voyons dans un premier temps les concepts généraux:&lt;br /&gt;
* [[Utilisation générale de Dolibarr|Utilisation générale de Dolibarr]]&lt;br /&gt;
&lt;br /&gt;
Une fois la maitrise générale acquise, il convient d&#039;apprendre à utiliser un module en particulier. Pour cela, se référer à la documentation de ce module:&lt;br /&gt;
* La liste des modules standards est définie sur la page [[:Category:Liste des Modules|Liste des Modules]]&lt;br /&gt;
* La liste des modules externes complémentaires est définie sur la page [[:Category:Modules_complémentaires|Modules complémentaires]]&lt;br /&gt;
&lt;br /&gt;
= Autres sources de documentation =&lt;br /&gt;
* Guide d&#039;utilisation (Dolibarr the Book 7.0) [https://www.dolistore.com/fr/documentation/959-Dolibarr-The-Book-7-0--version-fran--aise-.html]&lt;br /&gt;
* Le livre Dolibarr [http://www.d-booker.fr/213-dolibarr]&lt;br /&gt;
* [http://doc.ubuntu-fr.org/dolibarr#dolibarr Ubuntu doc]&lt;br /&gt;
&lt;br /&gt;
= Glossaire =&lt;br /&gt;
Voir la page [[Glossaire]]&lt;br /&gt;
&lt;br /&gt;
= FAQ =&lt;br /&gt;
Toutes les FAQ (Foires Aux Questions) sont disponibles via la page d&#039;index [[:Category:FAQ FR|FAQ FR]]&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_subscription&amp;diff=39907</id>
		<title>Table llx subscription</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_subscription&amp;diff=39907"/>
		<updated>2018-10-02T09:04:44Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Table */  changed cotisation to subscription&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Foundations]]&lt;br /&gt;
[[Category:Adhérent]]&lt;br /&gt;
[[Category:Miembros]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains the afiliations of members of the association module. In version 7.xx of dolibarr, the table is now called llx_subscription&lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient les cotisations des adhérents du module association. Dans la version 7.xx de dolibarr, la table s&#039;appelle désormais llx_subscription&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene las cotizaciones de los miembros del módulo miembros. En la versión 7.xx de dolibarr, la tabla se llama ahora llx_subscription&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
{{FieldTms}}&lt;br /&gt;
|-&lt;br /&gt;
| datec&lt;br /&gt;
| datetime&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of creation&lt;br /&gt;
|-&lt;br /&gt;
| fk_adherent &lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| UNI&lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of member ([[Table llx_adherent|llx_adherent]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| dateadh&lt;br /&gt;
| datetime&lt;br /&gt;
| YES&lt;br /&gt;
| UNI&lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of affiliation&lt;br /&gt;
|-&lt;br /&gt;
| datef&lt;br /&gt;
| date&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of end affiliation&lt;br /&gt;
|-&lt;br /&gt;
| subscription&lt;br /&gt;
| double&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| amount of affiliation&lt;br /&gt;
|-&lt;br /&gt;
| fk_bank&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of bank to pay ([[Table llx_bank_account|llx_bank_account]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| notes&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY&lt;br /&gt;
| rowid&lt;br /&gt;
|- &lt;br /&gt;
| uk_cotisation  &lt;br /&gt;
| UNIQUE&lt;br /&gt;
| fk_adherent,dateadh &lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_cotisation&amp;diff=39906</id>
		<title>Table llx cotisation</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_cotisation&amp;diff=39906"/>
		<updated>2018-10-02T09:02:40Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: moved Table llx cotisation to Table llx subscription: table has been renamed some time ago and does not exists in v7.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Table llx subscription]]&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_subscription&amp;diff=39905</id>
		<title>Table llx subscription</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_subscription&amp;diff=39905"/>
		<updated>2018-10-02T09:02:40Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: moved Table llx cotisation to Table llx subscription: table has been renamed some time ago and does not exists in v7.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Foundations]]&lt;br /&gt;
[[Category:Adhérent]]&lt;br /&gt;
[[Category:Miembros]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains the afiliations of members of the association module. In version 7.xx of dolibarr, the table is now called llx_subscription&lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient les cotisations des adhérents du module association. Dans la version 7.xx de dolibarr, la table s&#039;appelle désormais llx_subscription&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene las cotizaciones de los miembros del módulo miembros. En la versión 7.xx de dolibarr, la tabla se llama ahora llx_subscription&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
{{FieldTms}}&lt;br /&gt;
|-&lt;br /&gt;
| datec&lt;br /&gt;
| datetime&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of creation&lt;br /&gt;
|-&lt;br /&gt;
| fk_adherent &lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| UNI&lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of member ([[Table llx_adherent|llx_adherent]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| dateadh&lt;br /&gt;
| datetime&lt;br /&gt;
| YES&lt;br /&gt;
| UNI&lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of afiliation&lt;br /&gt;
|-&lt;br /&gt;
| datef&lt;br /&gt;
| date&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of end afiliation&lt;br /&gt;
|-&lt;br /&gt;
| cotisation&lt;br /&gt;
| double&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| amount of afiliation&lt;br /&gt;
|-&lt;br /&gt;
| fk_bank&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of bank to pay ([[Table llx_bank_account|llx_bank_account]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| notes&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY&lt;br /&gt;
| rowid&lt;br /&gt;
|- &lt;br /&gt;
| uk_cotisation  &lt;br /&gt;
| UNIQUE&lt;br /&gt;
| fk_adherent,dateadh &lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_ecm_documents&amp;diff=38764</id>
		<title>Table llx ecm documents</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_ecm_documents&amp;diff=38764"/>
		<updated>2018-07-10T09:20:21Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: moved Table llx ecm documents to Table llx ecm files: Table llx_ecm_documents has been renamed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Table llx ecm files]]&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_ecm_files&amp;diff=38763</id>
		<title>Table llx ecm files</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_ecm_files&amp;diff=38763"/>
		<updated>2018-07-10T09:20:21Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: moved Table llx ecm documents to Table llx ecm files: Table llx_ecm_documents has been renamed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} contains the list of the documents of Electronic Content Management. The directories are in the [[Table llx ecm directories]]&lt;br /&gt;
&lt;br /&gt;
{{flag fr}} contient la liste des documents du Gestion Electronique de Documents. Les répertoires sont a la [[Table llx ecm directories]]&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene la lista de los documentos de la Gestión Electrónica de Documentos. Los directorios se encuentran en [[Table llx ecm directories]]&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
|- &lt;br /&gt;
| ref&lt;br /&gt;
| varchar(16)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ref. of document&lt;br /&gt;
|- &lt;br /&gt;
| entity&lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| 1&lt;br /&gt;
| &lt;br /&gt;
| multi company id&lt;br /&gt;
|- &lt;br /&gt;
| filename&lt;br /&gt;
| varchar(255)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| file name of document&lt;br /&gt;
|- &lt;br /&gt;
| filesize&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| file size of document&lt;br /&gt;
|- &lt;br /&gt;
| filenime&lt;br /&gt;
| varchar(32)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| file nime of document&lt;br /&gt;
|- &lt;br /&gt;
| fullpath_dol&lt;br /&gt;
| varchar(255)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| dolibarr path of file&lt;br /&gt;
|- &lt;br /&gt;
| fullpath_orig&lt;br /&gt;
| varchar(255)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| orig. path of file&lt;br /&gt;
|- &lt;br /&gt;
| description&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| description about document&lt;br /&gt;
|- &lt;br /&gt;
| manualkeyword&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| keyword for document&lt;br /&gt;
|-&lt;br /&gt;
| fk_create&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of creator user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_update&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of last updater user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|- &lt;br /&gt;
| date_c&lt;br /&gt;
| datetime &lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| creation date&lt;br /&gt;
|-&lt;br /&gt;
| date_u&lt;br /&gt;
| timestamp&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| CURRENT_TIMESTAMP&lt;br /&gt;
| &lt;br /&gt;
| last update date&lt;br /&gt;
|- &lt;br /&gt;
| fk_directory&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of related directory ([[Table llx ecm directories|llx ecm directories]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_status&lt;br /&gt;
| smallint(6)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| ID of status&lt;br /&gt;
|-&lt;br /&gt;
| private&lt;br /&gt;
| smallint(6)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| is the document private to user (0=no,1=yes)?&lt;br /&gt;
|-&lt;br /&gt;
| crc&lt;br /&gt;
| varchar(32)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| checksum&lt;br /&gt;
|-&lt;br /&gt;
| cryptkey&lt;br /&gt;
| varchar(50)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| crypt key&lt;br /&gt;
|-&lt;br /&gt;
| cipher&lt;br /&gt;
| varchar(50)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| twofish&lt;br /&gt;
| &lt;br /&gt;
| crypt cipher&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY&lt;br /&gt;
| rowid&lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Factures_Clients&amp;diff=38762</id>
		<title>Module Factures Clients</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Factures_Clients&amp;diff=38762"/>
		<updated>2018-07-10T08:57:09Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Création de facture */  suppression de la mention concernant la non existence d&amp;#039;une comptabilité&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocUtil}}&lt;br /&gt;
{{TemplateModFR}}&lt;br /&gt;
[[Category:Facture]]&lt;br /&gt;
{{BasculeDevUser|&lt;br /&gt;
nom=Factures|&lt;br /&gt;
num=30|&lt;br /&gt;
devdoc=[[Module Factures Clients (développeur)]]|&lt;br /&gt;
userdoc=Cette page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
Le module Factures Clients permet de saisir, modifier ou créer une facture composée de lignes de factures. &lt;br /&gt;
C&#039;est également ce module qui permet de saisir les paiements réalisés sur une facture.&lt;br /&gt;
Il inclut également les fonctions de génération d&#039;une facture dans un format de document comme un PDF.&lt;br /&gt;
&lt;br /&gt;
Les factures fournisseurs sont gérées par le [[Module Fournisseurs Factures]].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleFr}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleFr}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
La page [[Configuration module facture]] vous explique comment configurer le module Facturation et donne quelques exemples de modèles de factures.&lt;br /&gt;
&lt;br /&gt;
= Création de facture =&lt;br /&gt;
&lt;br /&gt;
Dolibarr vous permet d&#039;établir des factures aux clients que vous avez préalablement saisis (voir [[Module Tiers]]).&lt;br /&gt;
&lt;br /&gt;
Vous pouvez créer une facture directement à partir d&#039;une fiche client, depuis une proposition commerciale classée acceptée, ou à partir d&#039;une commande clôturée à l&#039;état &amp;quot;accepté&amp;quot;, ou encore depuis un contrat de service.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Types de factures&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Si vous créez une facture depuis une fiche client, vous pouvez choisir 4 types de factures:&lt;br /&gt;
&lt;br /&gt;
* Les factures de &amp;quot;doit&amp;quot;&lt;br /&gt;
Il s&#039;agit d&#039;une facture standard.&lt;br /&gt;
Il n&#039;y a aucun prérequis.&lt;br /&gt;
&lt;br /&gt;
* Les factures de &amp;quot;doit&amp;quot; de remplacement&lt;br /&gt;
Une facture de remplacement permet de refaire une facture sur laquelle il y aurait des erreurs et sur laquelle rien n&#039;aurait été fait (aucun paiement saisi).&lt;br /&gt;
&lt;br /&gt;
On ne peut créer qu&#039;une seule facture de remplacement pour une facture de &amp;quot;doit&amp;quot; donnée. Quand on créé une facture de remplacement R, on choisit la facture de doit F qui doit être remplacée. Il n&#039;est alors plus possible de faire d&#039;actions sur la facture F, bien que cette dernière ne change pas de statut après que la facture de remplacement R ait été créée au statut &#039;&#039;&#039;brouillon&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Si la facture de remplacement R est supprimée, la facture F reprends son état initial et le cycle de vie de la facture F peut reprendre.&lt;br /&gt;
&lt;br /&gt;
Si la facture de remplacement R est &#039;&#039;&#039;validée&#039;&#039;&#039;, la facture F passe alors au statut &#039;&#039;&#039;abandonnée&#039;&#039;&#039; automatiquement. Le cycle de vie continue sur la facture R.&lt;br /&gt;
&lt;br /&gt;
* Les factures d&#039;avoir&lt;br /&gt;
On crée une facture d&#039;avoir sur une facture de &amp;quot;doit&amp;quot;.&lt;br /&gt;
On peut créer plusieurs factures d&#039;avoir sur une facture donnée. La facture d&#039;avoir est transformée en réduction qui sert à réduire le paiement de n&#039;importe quelle autre facture en attente de paiement.&lt;br /&gt;
&lt;br /&gt;
* Les factures d&#039;acomptes&lt;br /&gt;
Vous pouvez créer autant de facture d&#039;acompte que désiré. Une facture d&#039;acompte sera ensuite convertie en réduction (déjà payé) pour une autre facture (la facture définitive) sur laquelle porte l&#039;acompte.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Procédure&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Une fois une facture créée (en mode &#039;&#039;brouillon&#039;&#039;), vous devez intégrer, dans la facture, des Produits ou Services déjà définis dans Dolibarr ou bien dont vous saisissez directement l&#039;intitulé, le taux de TVA, le prix unitaire.&lt;br /&gt;
Pour chaque ligne de la facture vous définissez aussi une quantité et éventuellement une remise (pourcentage).&lt;br /&gt;
&lt;br /&gt;
Une fois la facture prête vous devez la valider. Quand vous validez la facture un numéro lui est attribué selon le modèle de numérotation que vous avez choisi dans la configuration du module Facture.&lt;br /&gt;
Si une erreur est détectée après avoir validé la facture, vous pouvez modifier la facture en cliquant sur le bouton &#039;&#039;&#039;modifier&#039;&#039;&#039; en bas de la fiche facture ( si la facture n&#039;a pas atteint le status Payé), ou ré-ouvrir le facture pour la modification avec le bouton &#039;&#039;&#039;réouvrir&#039;&#039;&#039; en bas de la fiche facture( si la facture a atteint le statut Payé).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Règles de calcul de la TVA&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Les règles de calculs de la TVA sont expliquées sur la page: [[Règles de calcul et arrondi de TVA]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Timbre fiscal&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* Certains pays (comme la tunisie) sont soumis à un timbre fiscal (montant d&#039;une taxe fixe pour chaque facture produite). La liste des pays et montants concernés se paramètre dans la [[Table_llx_c_revenuestamp]]. Si le pays de la société fait partie de cette configuration, alors un champ &amp;quot;Timbre fiscal&amp;quot; apparait sur les écrans et documents de facture.&lt;br /&gt;
&lt;br /&gt;
= Réduire le montant total et/ou le solde à payer =&lt;br /&gt;
Il est possible de réduire le montant total et/ou le solde à payer d&#039;une facture, mais il convient de faire une distinction entre une remise et une réduction, bien que ces deux termes soient un peu amalgamés par endroits.&lt;br /&gt;
== Réduction ==&lt;br /&gt;
Une &#039;&#039;&#039;réduction&#039;&#039;&#039; est une réduction relative (pourcentage) du prix de vente d&#039;un ou de plusieurs produits ou services détaillés dans la facture. Cette réduction doit être définie ligne par ligne lors de l&#039;édition de la facture et être comprise entre 0% et 100% (NB : le pourcentage de remise est remplacé dans le cas 100% de réduction par la mention &#039;&#039;offert&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
== Remise ==&lt;br /&gt;
Une &#039;&#039;&#039;remise&#039;&#039;&#039; est une réduction du prix total de la facture. Elle peut être définie de deux manières selon qu&#039;elle est ou non associée à une autre facture, c&#039;est-à-dire à un versement déjà perçus ou non. &lt;br /&gt;
=== Remise associée à un trop perçu ===&lt;br /&gt;
Les factures d&#039;avoir et factures d&#039;acompte, qui sont saisies pour tracer des versements perçus (en trop pour la facture avoir ou en avance pour l&#039;acompte), peuvent être &#039;&#039;converties en réduction future&#039;&#039;. Après conversion en réduction, elles apparaissent dans la section &#039;&#039;Remises fixes&#039;&#039; du tiers. Il sera alors possible de l&#039;attribuer à une autre facture pour en réduire le montant. &lt;br /&gt;
&lt;br /&gt;
Le trop-perçu, lié au règlement d&#039;une facture supérieur au montant de la facture, apparaît également dans les remises.&lt;br /&gt;
&lt;br /&gt;
Lorsque le montant de la remise est supérieur à celui de la facture à régler, depuis la liste des remises, on sépare la remise en deux (bouton à droite de la ligne) avec un premier montant correspondant à la facture, puis le solde. On peut alors utiliser une partie de cette remise pour l&#039;appliquer au règlement de la facture qui peut alors être classer &amp;quot;Réglée&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Dans le cas de l&#039;utilisation d&#039;une remise dans une nouvelle facture, elle sera mentionnée soit sous forme de paiement réduisant le reste à payer, soit sous forme d&#039;une ligne de détail de la facture.&lt;br /&gt;
Par défaut, il s&#039;agit d&#039;une ligne de détail ajouté à la facture et donc réduisant le montant total de cette nouvelle facture.&lt;br /&gt;
&lt;br /&gt;
Rem: L&#039;option cachée FACTURE_DEPOSITS_ARE_JUST_PAYMENTS permet d&#039;avoir cette déduction qui apparaît comme montant déjà payé et non comme diminution du montant total de la facture finale. Dans ce cas, les factures acomptes ne sont pas incluses dans les calculs de chiffre d&#039;affaires (puisqu&#039;inclut dans le montant total de la facture finale). Le bon choix de cette option dépendra des règles comptable de votre pays, mais les 2 sont en général acceptés.&lt;br /&gt;
&lt;br /&gt;
=== Remise non associée à un versement déjà perçu ===&lt;br /&gt;
Il est aussi possible de définir une remise qui n&#039;est pas relative à un versement déjà perçu. Dans ce cas, il faut aller sur la fiche du client, onglet &#039;&#039;client&#039;&#039;, et définir la ou les remises fixes (montant) ou relatives (pourcentage) qu&#039;on attribue à ce client, et pourquoi (geste commercial, compensation suite à retard de livraison, etc). Une fois ces remises attribuées au client, elles seront disponibles lors de l&#039;édition de n&#039;importe quelle facture de ce client, dans la rubrique &#039;&#039;&#039;Remises&#039;&#039;&#039; en haut de page. A l&#039;inverse des remises consécutives à des versements déjà perçus, celles-ci seront mentionnées comme des lignes négatives dans le détail de la facture, et réduiront donc le montant total de celle-ci, avant déduction des versements éventuellement déjà perçus. Mais ces remises ne sont PAS associées à une facture avoir ou d&#039;acompte.&lt;br /&gt;
&lt;br /&gt;
== Rabais ==&lt;br /&gt;
A compléter&lt;br /&gt;
&lt;br /&gt;
== Escompte ==&lt;br /&gt;
A compléter&lt;br /&gt;
&lt;br /&gt;
== Résumé == &lt;br /&gt;
Il y a donc 3 possibilités pour réduire le prix d&#039;une facture : &lt;br /&gt;
* attribuer une &#039;&#039;&#039;réduction&#039;&#039;&#039; en pourcentage sur certains produits/service détaillés dans la facture, ce qui aura pour effet de définir un &#039;&#039;&#039;montant total&#039;&#039;&#039; plus bas que normalement prévu;&lt;br /&gt;
* attribuer au client une &#039;&#039;&#039;remise globale&#039;&#039;&#039;, non associée à une facture avoir ou d&#039;acompte, et qui sera alors ajoutée comme une ligne de montant négatif qui réduira le &#039;&#039;&#039;montant total&#039;&#039;&#039; de la facture;&lt;br /&gt;
* mentionner, via des &#039;&#039;&#039;factures avoir ou d&#039;acompte&#039;&#039;&#039; transformées en réduction future, que des versements anticipés ont déjà été perçus, ce qui réduira le &#039;&#039;&#039;solde à payer&#039;&#039;&#039; mais pas le montant total de la facture;&lt;br /&gt;
&lt;br /&gt;
= Génération PDF, Impression, Envoi =&lt;br /&gt;
Lorsqu&#039;un document est généré, il est fabriqué suivant un modèle choisi parmi une liste activée dans les écrans Accueil - Configuration - Modules - Facture&lt;br /&gt;
&lt;br /&gt;
Pour que le document intègre le numéro de compte bancaire de votre société ou l&#039;adresse de paiement par chèque (ou les 2), il convient de :&lt;br /&gt;
# activer le module Banques/Caisses&lt;br /&gt;
# Créer le compte de votre société&lt;br /&gt;
# Paramétrer le module Factures et Avoirs en allant dans &#039;&#039;&#039;Configuration - Modules - Factures et Avoirs&#039;&#039;&#039; puis cliquer sur l’icône configuration, choisir dans la rubrique &amp;quot;Mode de règlement&amp;quot; le compte créé à l&#039;étape 2 ci-dessus, où l&#039;adresse à utiliser pour le paiement par chèque, et valider le changement en cliquant sur le bouton &amp;quot;Modifier&amp;quot; de la rubrique.&lt;br /&gt;
Vous pouvez maintenant régénérer votre facture, et vous verrez, pour le modèle crabe, le RIB ou les coordonnées s&#039;afficher sous les conditions de paiement.&lt;br /&gt;
&lt;br /&gt;
Si vous avez activé l&#039;envoi par e-mail, un bouton spécifique &amp;quot;Envoyer par email&amp;quot; est disponible. Il fait apparaître en bas de la fenêtre un formulaire d&#039;envoi, avec la facture en pièce jointe. Vous pouvez également définir un modèle de rappel pour les factures impayées.&lt;br /&gt;
&lt;br /&gt;
Dans le cas d&#039;une ligne provenant d&#039;un produit ou d&#039;un service enregistré, la référence, le libellé et la description sont affichés par défaut. Si vous souhaitez masquer la référence ou la description, vous pouvez le faire en passant par &#039;&#039;&#039;Accueil - Configuration - PDF&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Vous avez deux options que vous pouvez modifier :&lt;br /&gt;
* Cacher la description des produits sur les PDF générés&lt;br /&gt;
* Cacher la référence des produits sur les PDF générés&lt;br /&gt;
&lt;br /&gt;
Ce paramétrage s&#039;applique aussi aux propositions commerciales et aux commandes&lt;br /&gt;
==Impression en nombre==&lt;br /&gt;
Si vous souhaitez imprimer plusieurs factures en une seule fois, vous pouvez générer un document PDF rassemblant les documents à imprimer, puis ouvrir et imprimer ce document.&lt;br /&gt;
&lt;br /&gt;
Pour cela, à partir de &#039;&#039;&#039;Facturation|Paiement - Factures clients - Liste&#039;&#039;&#039;, &lt;br /&gt;
* appliquer un filtre qui vous convient pour faire apparaître toutes les factures à imprimer ensemble, &lt;br /&gt;
* cocher globalement (case à cocher en haut de colonne à droite) ou individuellement les documents souhaités,&lt;br /&gt;
* &#039;&#039;&#039;-- Sélectionner l&#039;action-- - Fusion PDF&#039;&#039;&#039; dans la liste déroulante qui apparaît à partir de la coche d&#039;au moins une case, et&lt;br /&gt;
* appuyer sur &#039;&#039;&#039;Confirmer&#039;&#039;&#039;.&lt;br /&gt;
Un lien vers un document PDF est ajouté dans une liste qui se trouve sous le tableau (appuyer sur &#039;&#039;&#039;Afficher la liste des fichiers générés en masse&#039;&#039;&#039; si nécessaire).&lt;br /&gt;
&lt;br /&gt;
= Saisir les paiements =&lt;br /&gt;
Les paiements ne peuvent s&#039;effectuer que sur des factures validées.&lt;br /&gt;
&lt;br /&gt;
Si un avoir est disponible, il pourra être imputé sur une facture d&#039;un montant total inférieur à celui de l&#039;avoir.&lt;br /&gt;
&lt;br /&gt;
Après la saisie du paiement, il est possible de régénérer le PDF de la facture pour y faire apparaître le règlement effectué et le solde à payer.&lt;br /&gt;
&lt;br /&gt;
= Clore une facture =&lt;br /&gt;
&lt;br /&gt;
Une facture validée peut être définitivement classée à l&#039;état:&lt;br /&gt;
* Payé (Si la somme des paiements est supérieure ou égale au montant réclamé).&lt;br /&gt;
* Payé partiellement (Si la somme des paiements est supérieure à 0 mais strictement inférieure au montant réclamé).&lt;br /&gt;
* Abandonné (Si aucun paiement n&#039;a eu lieu).&lt;br /&gt;
&lt;br /&gt;
= Exporter les factures =&lt;br /&gt;
&lt;br /&gt;
Dolibarr fournit un outil générique vous permettant d&#039;exporter les données de vos factures.&lt;br /&gt;
Pour cela, il faut utiliser l&#039;assistant Export qui se trouve dans le menu &#039;&#039;&#039;Outils - Nouvel export&#039;&#039;&#039; (Si le [[Module Exports]] a été activé).&lt;br /&gt;
&lt;br /&gt;
Voir la page [[Module Exports]] pour plus d&#039;informations.&lt;br /&gt;
&lt;br /&gt;
= Factures pré-définies =&lt;br /&gt;
Dans Dolibarr, une facture désignée comme pré-définie est simplement une facture dont on réutilise la plupart des données pour émettre d&#039;autres factures sur base de ces informations, ce qui permet un gain de temps non-négligeable à la saisie&lt;br /&gt;
&lt;br /&gt;
Dans le cas de la mise en oeuvre des contrats, une facture prédéfinies peut être définie et correspondant aux éléments récurrents du contrat. Ceci est très intéressant. &lt;br /&gt;
Le seul bémol, la période indiquée pour chaque élément de la facture résultante couvre toute la période du contrat. Elle ne devrait porter que sur le mois de facturation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Exemples de cas d&#039;utilisations =&lt;br /&gt;
== Acomptes ==&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN01: Réception acompte de 10 pour une commande de 100 puis facture finale&lt;br /&gt;
|situation=Réception acompte à commande puis facture finale&lt;br /&gt;
|actions=Je reçois un règlement d&#039;acompte de mon client.&lt;br /&gt;
Je crée &#039;&#039;&#039;de zéro&#039;&#039;&#039; pour ce client une &#039;&#039;&#039;facture d&#039;acompte&#039;&#039;&#039; du montant effectivement &#039;&#039;&#039;reçu&#039;&#039;&#039; de 10 avec, par exemple, le libellé &amp;quot;&#039;&#039;Acompte sur prestation/produit/facture/commande/... n° XXXX&#039;&#039;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Je &#039;&#039;&#039;convertis&#039;&#039;&#039; ensuite cette facture en &#039;&#039;&#039;réduction future&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
La facture de doit, complète, éventuellement créée à partir de la proposition ou de la commande précédente, peut avoir été générée avant ou après, cela est indépendant. &lt;br /&gt;
&lt;br /&gt;
Dans cette facture de doit, j&#039;inclus la réduction de l&#039;acompte, ce qui réduit le reste à payer. La facture de doit se retrouve à un total de 90.&lt;br /&gt;
&lt;br /&gt;
Rem: si l&#039;option cachée FACTURE_DEPOSITS_ARE_JUST_PAYMENTS est définie, elle vaudra 100 mais dans ce cas, les factures acomptes ne seront pas incluses dans le calcul des chiffres d&#039;affaire.&lt;br /&gt;
&lt;br /&gt;
J&#039;envoie ou réenvoie la facture de doit générée qui indique qu&#039;un (ou plusieurs) acompte a déjà été reçu.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Facturation et paiements ==&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN02: Facturation et paiement intégral&#039;&#039;&#039;&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois l&#039;intégralité des paiements.&lt;br /&gt;
|actions=Je saisis tous les paiement sur la facture. Le solde devient à 0.&lt;br /&gt;
Je peux classer la facture à &#039;&#039;&#039;Payée&#039;&#039;&#039;.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN03: Facturation et paiement supérieur reçu&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois un paiement supérieur au montant réclamé.&lt;br /&gt;
|actions=Je saisis le montant reçu.&lt;br /&gt;
Je clos la facture à l&#039;état &#039;&#039;&#039;Payé&#039;&#039;&#039;.&lt;br /&gt;
Je crée un avoir du trop perçu.&lt;br /&gt;
Rem: L&#039;action reste à étudier car ne semble pas ok: Voir http://www.dolibarr.fr/forum/12-howto--aide/35761-trop-percu/post?do=reply avec proposition de solution.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN04: Facturation et paiement intégral puis produit retourné&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois l&#039;intégralité des paiements. Je les saisis et le solde devient 0.&lt;br /&gt;
Je clos la facture à l&#039;état &#039;&#039;&#039;Payé&#039;&#039;&#039;.&lt;br /&gt;
Plus tard, je reçois un retour de produit suite à rétractation légale.&lt;br /&gt;
|actions=Je saisis un avoir sur cette facture.&lt;br /&gt;
Cet avoir peut etre converti en réduction pour la prochaine facture ou remboursé en monétaire.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN05: Facturation et paiement intégral puis erreur détecté sur la ligne produit&#039;&#039;&#039;&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois l&#039;intégralité des paiements. Je les saisis et le solde devient 0.&lt;br /&gt;
Je clos la facture à l&#039;état &#039;&#039;&#039;Payé&#039;&#039;&#039;.&lt;br /&gt;
Plus tard, je découvre une erreur de produit.&lt;br /&gt;
|actions=Je saisis un avoir sur cette facture qui contient le produit en erreur.&lt;br /&gt;
Je convertis cet avoir en réduction. &lt;br /&gt;
Je crée une nouvelle facture avec le bon produit. J&#039;intègre l&#039;avoir dans cette nouvelle facture.&lt;br /&gt;
Eventuellement si j&#039;utilise le module stock, je corrige le stock en manuel.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN06: Facturation et paiement partiel car anticipé (escompte)&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois un paiement du montant de la facture moins un escompte accordé pour paiement anticipé.&lt;br /&gt;
|actions=Je saisis le paiment reçu de la valeur reçue.&lt;br /&gt;
Je classe la facture à &#039;&#039;&#039;Payé partiellement&#039;&#039;&#039; et renseigne le motif &amp;quot;Le manque est un &#039;&#039;&#039;Escompte&#039;&#039;&#039;&amp;quot;.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN07: Facturation et paiement partiel ou nul puis retour produit et attente correction anomalie ou erreur infine tolerable&#039;&#039;&#039;&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Si je reçois un paiement partiel, je le saisis.&lt;br /&gt;
Je reçois un retour d&#039;une partie des produits (retractation du client) ou ne reçois plus les quelques centimes manquant.&lt;br /&gt;
Eventuellement, le client attend un avoir pour payer la fin de la facture.&lt;br /&gt;
|actions=Je saisis un avoir sur la facture.&lt;br /&gt;
J&#039;envoie l&#039;avoir.&lt;br /&gt;
Ensuite, je convertis cet avoir en reduction pour le client.&lt;br /&gt;
Je saisis eventuellement la suite des paiements reçus.&lt;br /&gt;
Eventuellement j&#039;inclus l&#039;avoir dans la liste des paiements de la facture (sinon il pourra être inclu dans une autre facture).&lt;br /&gt;
Je classe la facture à l&#039;état &#039;&#039;&#039;Payé&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TODO&#039;&#039;&#039; Contrôle a inclure en plus : Quand l&#039;avoir est fait sur une facture au statut &#039;Réglement commencé&#039;, il faut mettre un message disant &amp;quot;Attention, ne créer un avoir sur une facture en cours de paiement que si le client a cessé le paiement et attend cet avoir pour poursuivre la suite ou parce que vous fermez la facture&amp;quot;.&lt;br /&gt;
Ensuite il faut vérifier que le montant de l&#039;avoir est inférieur au montant de la facture auquel il s&#039;applique - montant déja reçu. Sinon, refuser création avoir.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN08: Facturation et paiement partiel car mauvais payeur&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je reçois un paiement partiel, je le saisis.&lt;br /&gt;
Après une longue attente, la suite des paiements n&#039;est pas reçue et j&#039;abandonne tout espoir.&lt;br /&gt;
|actions=Je classe la facture à l&#039;état &#039;&#039;&#039;Payé partiellement&#039;&#039;&#039; et renseigne le motif &#039;&#039;&#039;Mauvais payeur&#039;&#039;&#039;.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN09: Facturation et aucun paiement reçu car mauvais payeur&#039;&#039;&#039;&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Après une longue attente, la suite des paiements n&#039;est pas reçu et j&#039;abandonne tout espoir.&lt;br /&gt;
|actions=Je classe la facture à l&#039;état &#039;&#039;&#039;Abandonnée&#039;&#039;&#039; et renseigne le motif &#039;&#039;&#039;Mauvais payeur&#039;&#039;&#039;.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Correction des erreurs de facturation ==&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN00: Erreur sur le contenu de la facture corrigée par facture remplacement&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je valide.&lt;br /&gt;
Je me rend compte de l&#039;erreur sur le contenu (montant, descriptif) après validation (voir use case UCIN10 en cas d&#039;erreur sur client).&lt;br /&gt;
|actions=Je classe la facture abandonnée pour motif &#039;Autre&#039; (opération non obligatoire car automatique avec étape suivante).&lt;br /&gt;
Je crée une nouvelle facture en choisissant &#039;&#039;&#039;Facture de remplacement&#039;&#039;&#039; et en selectionnant la facture remplacée comme facture.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN10: Erreur sur le client détecté après validation mais avant paiement&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je valide.&lt;br /&gt;
Je me rend compte que la facture a été crée sur le mauvais client.&lt;br /&gt;
|actions=Je classe la facture abandonnée pour motif &#039;Autre&#039; et je renseigne le motif &amp;quot;Erreur saisie sur mauvais client&amp;quot;.&lt;br /&gt;
Je crée une nouvelle facture sur le bon client.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TODO&#039;&#039;&#039;: Faire confirmer par expert que possible si c&#039;est fait avant envoi.&lt;br /&gt;
Si pas possible, interdire la possibilité et utiliser le cas suivant.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN10: Erreur sur le client (ou facture saisie 2 fois) détecté après envoi facture mais avant paiement&lt;br /&gt;
|situation=Je crée une facture.&lt;br /&gt;
Je valide et l&#039;envoie au client.&lt;br /&gt;
Je me rend compte que la facture a été crée sur le mauvais client ou facture en doublon avec une autre deja envoyée.&lt;br /&gt;
|actions=Je crée un avoir sur la facture qui n&#039;a pas encore de paiement, du montant inverse exacte.&lt;br /&gt;
Je convertit l&#039;avoir en réduction. L&#039;avoir se retrouve ainsi &amp;quot;traité&amp;quot;, je peux l&#039;envoyer au client si je le désire.&lt;br /&gt;
Je retourne sur la fiche facture en erreur et j&#039;applique la réduction issue de l&#039;avoir. &lt;br /&gt;
Le du devient alors zéro et je la classe à &#039;&#039;&#039;Payée complètement&#039;&#039;&#039; (paiement de 0).&lt;br /&gt;
Que le client ait reçu ou non la facture initiale, cette dernière a été annulée et fermé par l&#039;avoir.&lt;br /&gt;
Je resaisi la facture sur le bon client.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCIN10: Erreur sur le libellé client détecté après saisie de paiement&#039;&#039;&#039;&lt;br /&gt;
|situation=Je crée une facture sur le client de libellé X.&lt;br /&gt;
Je valide.&lt;br /&gt;
Je saisi les paiements.&lt;br /&gt;
Je classe la facture payée.&lt;br /&gt;
Je me rend compte que la facture a été crée sur le mauvais client et le client me demande une contrefacture sur l&#039;ancien nom X et une nouvelle sur le nouveau nom Y.&lt;br /&gt;
|actions=Je crée un avoir sur la facture en erreur avec toutes les lignes en inverse.&lt;br /&gt;
Je transforme l&#039;avoir en réduction. L&#039;avoir se retrouve ainsi &amp;quot;traité&amp;quot;.&lt;br /&gt;
J&#039;édite la fiche client pour corriger le libellé client X par Y.&lt;br /&gt;
Je crée la nouvelle facture sur le nouveau client Y en incluant toutes les lignes.&lt;br /&gt;
Je la valide.&lt;br /&gt;
J&#039;inclut le paiement issue de l&#039;avoir.&lt;br /&gt;
Le solde passe alors à 0 (aucun du).&lt;br /&gt;
Je peux classer la facture à &#039;&#039;&#039;Payée&#039;&#039;&#039; sans saisir d&#039;autres réglements (le client a déjà payé).&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Factures pré-définies ==&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCRIN01: Création d&#039;une facture pré-définie&lt;br /&gt;
|situation=Création d&#039;une facture pré-définie&lt;br /&gt;
|actions=Il n&#039;est pas possible de créer une facture récurrente en partant de rien. Il s&#039;agit d&#039;une facture standard de doit que l&#039;on convertie et réutilise par la suite. Voir cas d&#039;utilisation suivant donc.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCRIN02: Transformation d&#039;une facture standard en facture prédéfinie&lt;br /&gt;
|situation=Transformation d&#039;une facture standard en facture prédéfinie&lt;br /&gt;
|actions=Je crée ou ouvre une facture brouillon. Je clique sur le bouton &amp;quot;Convertir en récurrente&amp;quot;. J&#039;entre un titre (par exemple, &amp;quot;Mise-à-jour trimestrielle&amp;quot;) et éventuellement une note, qui pourrait être une explication de la raison de la répétition de cette facture. Ma facture est à présent une facture récurrente. Cela ne sera visible que si je demande l&#039;affichage des factures récurrentes ou que je crée une nouvelle facture.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{ExamplesCaseFr&lt;br /&gt;
|nom=UCRIN03: Utilisation d&#039;une facture prédéfinie pour la création d&#039;une nouvelle facture&lt;br /&gt;
|situation=Utilisation d&#039;une facture prédéfinie pour la création d&#039;une nouvelle facture&lt;br /&gt;
|actions=Je crée une nouvelle facture (&amp;quot;Créer facture&amp;quot;), et j&#039;utilise la boîte de sélection en bas de page pour sélectionner la facture récurrente que je veux utiliser comme gabarit (template). Ma nouvelle facture est pré-remplie, les modifications à apporter sont mineures.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Web_Services_API_REST_(d%C3%A9veloppeur)&amp;diff=37695</id>
		<title>Module Web Services API REST (développeur)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Web_Services_API_REST_(d%C3%A9veloppeur)&amp;diff=37695"/>
		<updated>2017-10-12T11:20:29Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Seveur de Web services REST Dolibarr */  orthographe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
[[Category:List of Modules]]&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Web services|&lt;br /&gt;
num=2610|&lt;br /&gt;
devdoc=Cette page|&lt;br /&gt;
userdoc=Non applicable|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Fonction =&lt;br /&gt;
Quand ce module est activé, vous activez l&#039;utilisation des Webservices fournis par Dolibarr. Vous pouvez alors faire des appels REST sur différents Webservices fournis par Dolibarr.&lt;br /&gt;
&lt;br /&gt;
= Serveur de Web services REST Dolibarr =&lt;br /&gt;
Une fois que le module webservices REST est activé, Dolibarr devient également un serveur de Web services REST. Vous pouvez alors envoyer vos propres requêtes sur l&#039;url relative :&lt;br /&gt;
&#039;&#039;&#039;/api/index.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Liste des services fournis =&lt;br /&gt;
Seuls quelques services sont disponibles. À compter de la version 5.0 de Dolibarr, vous pouvez consulter la liste complète des web services proposés en appelant l&#039;explorer à cette adresse :&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;http://yourdolibarrurl/api/index.php/explorer&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Vous devez au préalable faire un premier appel au service &#039;&#039;&#039;login&#039;&#039;&#039; pour obtenir une clé API.&lt;br /&gt;
Vous entrez alors la clé pour obtenir la liste des services proposés&lt;br /&gt;
&lt;br /&gt;
Par exemple, vous pouvez essayer l&#039;explorateur sur l&#039;instance de démonstration à l&#039;adresse suivante : &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;https://demo.dolibarr.org/api/index.php/explorer&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Ajouter un nouveau service =&lt;br /&gt;
Ajouter un nouveau service est aussi facile qu&#039;ajouter un fichier nommé &#039;&#039;&#039;api_monmoduleobject.class.php&#039;&#039;&#039; dans le dossier &#039;&#039;&#039;htdocs/module/class&#039;&#039;&#039;. &lt;br /&gt;
Vous trouverez des exemples dans &#039;&#039;&#039;htdocs/commande/class/api_orders.class.php&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Le framework détecte automatiquement les API et elle devrait être visible dans l&#039;explorateur.&lt;br /&gt;
&lt;br /&gt;
Les méthodes et paramètres sont détectées en fonction de l&#039;introspection réalisée dans les classes PHP de l&#039;objet (&#039;&#039;&#039;htdocs/module/class/object.class.php&#039;&#039;&#039;) en utilisant les &#039;&#039;&#039;annotations&#039;&#039;&#039; trouvées dans la classe.&lt;br /&gt;
&lt;br /&gt;
Pour une documentation à propos des annotations : https://github.com/Luracast/Restler/blob/master/ANNOTATIONS.md&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
Pour installer, aller dans la page des modules et activer le module API REST. Dans la page de configuration du module, il y a 2 liens. Pas la peine de cliquer sur le premier, il ne fonctionne pas en l&#039;état.&lt;br /&gt;
&lt;br /&gt;
Le lien a cette forme : &amp;lt;nowiki&amp;gt;http://&amp;lt;mon serveur&amp;gt;/api/index.php/login?login=&amp;lt;mon login utilisateur&amp;gt;&amp;amp;password=yourpassword&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
copiez le lien, remplacez yourpassword par votre mot de passe utilisateur. Normalement, &amp;lt;mon serveur&amp;gt; et &amp;lt;mon login utilisateur&amp;gt; sont déjà remplacés. collez le lien dans votre navigateur pour générer votre &amp;lt;token&amp;gt;. ce dernier est lié à votre compte utilisateur.&lt;br /&gt;
&lt;br /&gt;
Notez bien ce &amp;lt;Token&amp;gt; dans un coin !!!&lt;br /&gt;
&lt;br /&gt;
Maintenant, vous pouvez aller sur le 2nd lien de la page de configuration du module. En haut a droite, coller le &amp;lt;token&amp;gt; puis cliquez sur explore. Normalement, vous allez voir apparaître toutes les actions accessibles avec ce &amp;lt;token&amp;gt;. Si vous n&#039;avez pas beaucoup d&#039;actions, c&#039;est certainement que les modules ne sont pas activés. Par exemple, si vous voulez voir les factures (invoices), il faut activer le module adéquat dans votre configuration Dolibarr. Idem pour produits, etc. Pour information, Thirdparties, ce sont les Tiers.&amp;lt;br/&amp;gt;&lt;br /&gt;
Sur cette page d&#039;exploration de l&#039;API, vous pouvez faire pas mal de tests. aussi bien en lecture qu&#039;en écriture, modification ou suppression&lt;br /&gt;
&lt;br /&gt;
= Utilisation =&lt;br /&gt;
&lt;br /&gt;
Grosso modo, pour utiliser REST, il faut appeler une url du genre suivant &amp;lt;nowiki&amp;gt;http://&amp;lt;mon_serveur&amp;gt;/api/index.php/&amp;lt;action&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
avec une des 4 méthodes : GET, POST, PUT, DELETE, en remplaçant &amp;lt;action&amp;gt; par l&#039;action sur laquelle vous voulez intervenir. Ex : &amp;lt;nowiki&amp;gt;http://&amp;lt;mon_serveur&amp;gt;/api/index.php/invoices&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pour ce faire, il existe plusieurs méthodes. Voici un morceau de code mais il existe également des librairies telles que phphttpclient.com/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
function CallAPI($method, $apikey, $url, $data = false)&lt;br /&gt;
{&lt;br /&gt;
    $curl = curl_init();&lt;br /&gt;
    $httpheader = [&#039;DOLAPIKEY: &#039;.$apikey];&lt;br /&gt;
&lt;br /&gt;
    switch ($method)&lt;br /&gt;
    {&lt;br /&gt;
        case &amp;quot;POST&amp;quot;:&lt;br /&gt;
            curl_setopt($curl, CURLOPT_POST, 1);&lt;br /&gt;
            $httpheader[] = &amp;quot;Content-Type:application/json&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
            if ($data)&lt;br /&gt;
                curl_setopt($curl, CURLOPT_POSTFIELDS, $data);&lt;br /&gt;
&lt;br /&gt;
            break;&lt;br /&gt;
        case &amp;quot;PUT&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
	    curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &#039;PUT&#039;);&lt;br /&gt;
            $httpheader[] = &amp;quot;Content-Type:application/json&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
            if ($data)&lt;br /&gt;
                curl_setopt($curl, CURLOPT_POSTFIELDS, $data);&lt;br /&gt;
&lt;br /&gt;
            break;&lt;br /&gt;
        default:&lt;br /&gt;
            if ($data)&lt;br /&gt;
                $url = sprintf(&amp;quot;%s?%s&amp;quot;, $url, http_build_query($data));&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    // Optional Authentication:&lt;br /&gt;
	//    curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);&lt;br /&gt;
	//    curl_setopt($curl, CURLOPT_USERPWD, &amp;quot;username:password&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
    curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;
	curl_setopt($curl, CURLOPT_HTTPHEADER, $httpheader);&lt;br /&gt;
&lt;br /&gt;
    $result = curl_exec($curl);&lt;br /&gt;
&lt;br /&gt;
    curl_close($curl);&lt;br /&gt;
&lt;br /&gt;
    return $result;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ce n&#039;est qu&#039;un exemple, ce n&#039;est pas sécurisé, cela ne prend pas en compte les codes erreurs mais vous pouvez le modifier et l&#039;adapter à vos besoins.&lt;br /&gt;
la fonction prend 4 paramètres :&lt;br /&gt;
* $method : string &amp;quot;GET&amp;quot;, &amp;quot;POST&amp;quot;, &amp;quot;PUT&amp;quot;, &amp;quot;DELETE&amp;quot;&lt;br /&gt;
* $apikey : string &amp;quot;votre &amp;lt;token&amp;gt; généré plus haut&amp;quot;&lt;br /&gt;
* $url : string l&#039;url à appeler. Ex : &amp;quot;&amp;lt;nowiki&amp;gt;http://&amp;lt;mon_serveur&amp;gt;/api/index.php/invoices&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
* $data : string flux au format json. Ce champ est requis pour les appels POST ou PUT.&lt;br /&gt;
&lt;br /&gt;
= Exemples =&lt;br /&gt;
&lt;br /&gt;
Maintenant, quelques exemples.&amp;lt;br/&amp;gt;&lt;br /&gt;
dans tous les cas :&lt;br /&gt;
* $apiKey = &amp;quot;mon &amp;lt;token&amp;gt;&amp;quot;;&lt;br /&gt;
* $apiUrl = &amp;quot;&amp;lt;nowiki&amp;gt;http://&amp;lt;mon_serveur&amp;gt;/api/index.php/&amp;lt;/nowiki&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Récupérer la liste des produits&lt;br /&gt;
	$listProduits = [];&lt;br /&gt;
	$produitParam = [&amp;quot;limit&amp;quot; =&amp;gt; 10000, &amp;quot;sortfield&amp;quot; =&amp;gt; &amp;quot;rowid&amp;quot;];&lt;br /&gt;
	$listProduitsResult = CallAPI(&amp;quot;GET&amp;quot;, $apiKey, $apiUrl.&amp;quot;products&amp;quot;, $produitParam);&lt;br /&gt;
	$listProduitsResult = json_decode($listProduitsResult, true);&lt;br /&gt;
&lt;br /&gt;
	if (isset($listProduitsResult[&amp;quot;error&amp;quot;]) &amp;amp;&amp;amp; $listProduitsResult[&amp;quot;error&amp;quot;][&amp;quot;code&amp;quot;] &amp;gt;= &amp;quot;300&amp;quot;) {&lt;br /&gt;
	} else {&lt;br /&gt;
		foreach ($listProduitsResult as $produit) {&lt;br /&gt;
			$listProduits[intval($produit[&amp;quot;id&amp;quot;])] = html_entity_decode($produit[&amp;quot;ref&amp;quot;], ENT_QUOTES);&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* récupérer les 10&#039;000 premiers produits triés par leur id dans la base&lt;br /&gt;
* html_entity_decode est nécessaire car les apostrophes sont encodés&lt;br /&gt;
* il est facile d&#039;utiliser la même méthode (en remplaçant products par dictionnarycountries) pour récupérer la liste des pays&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Créer un produit&lt;br /&gt;
	$ref = &amp;quot;ma_reference_produit_X203ZZ&amp;quot;;&lt;br /&gt;
	$newProduct = [&lt;br /&gt;
		&amp;quot;ref&amp;quot;	=&amp;gt; $ref,&lt;br /&gt;
		&amp;quot;label&amp;quot;	=&amp;gt; $ref&lt;br /&gt;
	];&lt;br /&gt;
	$newProductResult = CallAPI(&amp;quot;POST&amp;quot;, $apiKey, $apiUrl.&amp;quot;products&amp;quot;, json_encode($newProduct));&lt;br /&gt;
	$newProductResult = json_decode($newProductResult, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* avant de créer un produit, il peut être sage de vérifier qu&#039;il existe. En reprenant le premier exemple, cela fait :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// ma référence&lt;br /&gt;
	$ref = &amp;quot;ma_reference_produit_X203ZZ&amp;quot;;&lt;br /&gt;
// existe-t-elle dans mon tableau&lt;br /&gt;
	$produitKey = array_search($ref, $listProduits);&lt;br /&gt;
	if ($produitKey) {&lt;br /&gt;
// oui&lt;br /&gt;
		$fk_product = $produitKey;&lt;br /&gt;
	} else {&lt;br /&gt;
// non&lt;br /&gt;
// Créer un produit&lt;br /&gt;
		$newProduct = [&lt;br /&gt;
			&amp;quot;ref&amp;quot;	=&amp;gt; $ref,&lt;br /&gt;
			&amp;quot;label&amp;quot;	=&amp;gt; $ref&lt;br /&gt;
		];&lt;br /&gt;
		$newProductResult = CallAPI(&amp;quot;POST&amp;quot;, $apiKey, $apiUrl.&amp;quot;products&amp;quot;, json_encode($newProduct));&lt;br /&gt;
		$newProductResult = json_decode($newProductResult, true);&lt;br /&gt;
		if (isset($newProductResult[&amp;quot;error&amp;quot;]) &amp;amp;&amp;amp; $newProductResult[&amp;quot;error&amp;quot;][&amp;quot;code&amp;quot;] &amp;gt;= &amp;quot;300&amp;quot;) {&lt;br /&gt;
// il y a eu une erreur&lt;br /&gt;
			echo &amp;quot;&amp;lt;pre&amp;gt;ERROR&amp;quot;, var_dump($newProductResult), &amp;quot;&amp;lt;/pre&amp;gt;&amp;quot;;&lt;br /&gt;
			exit;&lt;br /&gt;
		} else {&lt;br /&gt;
// tout va bien&lt;br /&gt;
			$fk_product = $newProductResult;&lt;br /&gt;
			$listProduits[$fk_product] = $ref;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* je regarde si la référence de mon article existe dans le tableau créé dans le premier exemple.&lt;br /&gt;
* si elle existe, j&#039;utilise sa clé dans le tableau comme id&lt;br /&gt;
* si elle n&#039;existe pas, je crée l&#039;article puis le j&#039;ajoute à mon tableau pour les prochaines fois et je récupère l&#039;id créé&lt;br /&gt;
* cette méthode permet de limiter les appels API quand on doit importer 500 commandes par exemple. Récupérer une fois la liste des produits au début au lieu de chercher à chaque fois dans Dolibarr.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// créer une commande avec 2 articles&lt;br /&gt;
&lt;br /&gt;
// le tableau qui contiendra toutes les lignes d&#039;articles de la commande&lt;br /&gt;
	$newCommandeLine = [];&lt;br /&gt;
&lt;br /&gt;
// article 1&lt;br /&gt;
	$ref1 = &amp;quot;ma_reference_produit_X203ZZ&amp;quot;;&lt;br /&gt;
	$prix1 = 10;&lt;br /&gt;
	$qtt1  = 100;&lt;br /&gt;
	$tva1 = 20;&lt;br /&gt;
	$fk_product1&lt;br /&gt;
// article 2&lt;br /&gt;
	$ref2 = &amp;quot;ma_reference_produit_B707FD&amp;quot;;&lt;br /&gt;
	$prix2 = 13;&lt;br /&gt;
	$qtt2  = 37;&lt;br /&gt;
	$tva2 = 20;&lt;br /&gt;
&lt;br /&gt;
	$newCommandeLine[] = [&lt;br /&gt;
		&amp;quot;desc&amp;quot;		=&amp;gt; $ref1,&lt;br /&gt;
		&amp;quot;subprice&amp;quot;	=&amp;gt; $prix1,&lt;br /&gt;
		&amp;quot;qty&amp;quot;		=&amp;gt; $qtt1,&lt;br /&gt;
		&amp;quot;tva_tx&amp;quot;	=&amp;gt; floatval($tva1),&lt;br /&gt;
		&amp;quot;fk_product&amp;quot;=&amp;gt; $fk_product1&lt;br /&gt;
	];&lt;br /&gt;
&lt;br /&gt;
	$newCommandeLine[] = [&lt;br /&gt;
		&amp;quot;desc&amp;quot;		=&amp;gt; $ref2,&lt;br /&gt;
		&amp;quot;subprice&amp;quot;	=&amp;gt; $prix2,&lt;br /&gt;
		&amp;quot;qty&amp;quot;		=&amp;gt; $qtt2,&lt;br /&gt;
		&amp;quot;tva_tx&amp;quot;	=&amp;gt; floatval($tva2),&lt;br /&gt;
		&amp;quot;fk_product&amp;quot;=&amp;gt; $fk_product2&lt;br /&gt;
	];&lt;br /&gt;
&lt;br /&gt;
	if (count($newCommandeLine) &amp;gt; 0) {&lt;br /&gt;
		$newCommande = [&lt;br /&gt;
			&amp;quot;socid&amp;quot;			=&amp;gt; $clientDoliId,&lt;br /&gt;
			&amp;quot;type&amp;quot; 			=&amp;gt; &amp;quot;0&amp;quot;,&lt;br /&gt;
			&amp;quot;lines&amp;quot;			=&amp;gt; $newCommandeLine,&lt;br /&gt;
			&amp;quot;note_private&amp;quot;	=&amp;gt; &amp;quot;Commande importée automatiquement depuis l&#039;application&amp;quot;,&lt;br /&gt;
		];&lt;br /&gt;
		$newCommandeResult = CallAPI(&amp;quot;POST&amp;quot;, $apiKey, $apiUrl.&amp;quot;orders&amp;quot;, json_encode($newCommande));&lt;br /&gt;
		$newCommandeResult = json_decode($newCommandeResult, true);&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* $clientDoliId vaut l&#039;id du client dans la base doli. Soit vous le connaissez, soit vous pouvez le chercher auparavant&lt;br /&gt;
* type =&amp;gt; 0, c&#039;est une commande client (par opposition à 1 = commande fournisseur)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Valider une commande &lt;br /&gt;
	$newCommandeValider = [&lt;br /&gt;
		&amp;quot;idwarehouse&amp;quot;	=&amp;gt; &amp;quot;0&amp;quot;,&lt;br /&gt;
		&amp;quot;notrigger&amp;quot;		=&amp;gt; &amp;quot;0&amp;quot;&lt;br /&gt;
	];&lt;br /&gt;
	$newCommandeValiderResult = CallAPI(&amp;quot;POST&amp;quot;, $apiKey, $apiUrl.&amp;quot;orders/&amp;quot;.$newCommandeResult.&amp;quot;/validate&amp;quot;, json_encode($newCommandeValider));&lt;br /&gt;
	$newCommandeValiderResult = json_decode($newCommandeValiderResult, true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* on voit dans cet exemple, en avant dernière lignes, on a : $apiUrl.&amp;quot;orders/&amp;quot;.$newCommandeResult.&amp;quot;/validate&amp;quot;.&amp;lt;br/&amp;gt;&lt;br /&gt;
$newCommandeResult est l&#039;id de la commande crée (récupéré dans l&#039;exemple précédent)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// chercher si le client existe dans la base&lt;br /&gt;
	$clientSearch = json_decode(CallAPI(&amp;quot;GET&amp;quot;, $apiKey, $apiUrl.&amp;quot;thirdparties&amp;quot;, array(&lt;br /&gt;
		&amp;quot;sortfield&amp;quot; =&amp;gt; &amp;quot;t.rowid&amp;quot;, &lt;br /&gt;
		&amp;quot;sortorder&amp;quot; =&amp;gt; &amp;quot;ASC&amp;quot;, &lt;br /&gt;
		&amp;quot;limit&amp;quot; =&amp;gt; &amp;quot;1&amp;quot;, &lt;br /&gt;
		&amp;quot;mode&amp;quot; =&amp;gt; &amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;sqlfilters&amp;quot; =&amp;gt; &amp;quot;(t.nom:=:&#039;&amp;quot;.$nom_client.&amp;quot;&#039;)&amp;quot;&lt;br /&gt;
		)&lt;br /&gt;
	), true);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* limit =&amp;gt; 1 pour ne renvoyer que 1 client&lt;br /&gt;
* mode =&amp;gt; 1 car on cherche un client (on aurait aussi pu chercher un fournisseur qui est aussi un tiers mais avec un statut différent)&lt;br /&gt;
* sqlfilters syntaxe un peu particulière mais il y a qq autres exemples sur la page d&#039;explorer d&#039;API&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
//client n&#039;existe pas. le crée puis on récupère son id&lt;br /&gt;
	$newClient = [&lt;br /&gt;
		&amp;quot;name&amp;quot; 			=&amp;gt; &amp;quot;nom société client&amp;quot;,&lt;br /&gt;
		&amp;quot;email&amp;quot;			=&amp;gt; &amp;quot;email société client&amp;quot;,&lt;br /&gt;
		&amp;quot;client&amp;quot; 		=&amp;gt; &amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;code_client&amp;quot;	=&amp;gt; &amp;quot;-1&amp;quot;&lt;br /&gt;
	];&lt;br /&gt;
	$newClientResult = CallAPI(&amp;quot;POST&amp;quot;, $apiKey, $apiUrl.&amp;quot;thirdparties&amp;quot;, json_encode($newClient));&lt;br /&gt;
	$newClientResult = json_decode($newClientResult, true);&lt;br /&gt;
	$clientDoliId = $newClientResult;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Commentaires :&lt;br /&gt;
* client =&amp;gt; 1 car c&#039;est un client (et pas un fournisseur)&lt;br /&gt;
* code_client =&amp;gt; -1 pour que le code client soit généré automatiquement.&lt;br /&gt;
* on récupère l&#039;id du client dans $clientDoliId&lt;br /&gt;
&lt;br /&gt;
= Conclusion =&lt;br /&gt;
&lt;br /&gt;
Vous trouverez pas mal d&#039;autres informations dans le code de Dolibarr, en regardant dans &#039;&#039;&#039;htdocs/&amp;lt;dossier&amp;gt;/class/api_xxx_class.php&#039;&#039;&#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
Ex pour les tiers: htdocs/societe/class/api_thirdparties.class.php pour les tiers.&amp;lt;br/&amp;gt;&lt;br /&gt;
Ex pour les factures: htdocs/compta/facture/class/api_invoices.class.php&amp;lt;br/&amp;gt;&lt;br /&gt;
...&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36763</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36763"/>
		<updated>2017-02-02T14:04:21Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.4 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table summarizes actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; tasks &lt;br /&gt;
add time spent on owned tasks&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; tasks&lt;br /&gt;
add time spent on tasks&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | delete projects &amp;amp; tasks&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | delete projects &amp;amp; tasks&lt;br /&gt;
|-&lt;br /&gt;
| Read All &lt;br /&gt;
(require Read*)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | read projects &amp;amp; tasks&lt;br /&gt;
add time spent on owned tasks&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
(require Create/Modify*)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
(require Delete*)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | delete projects and tasks&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* the All permissions work only when the standard corresponding permission is given, else an error message will be displayed when attempting the action.&lt;br /&gt;
&lt;br /&gt;
== Project Workflow ==&lt;br /&gt;
&lt;br /&gt;
Project status follows this workflow sequence : draft, open , closed.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36762</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36762"/>
		<updated>2017-02-02T13:59:20Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */  permissions tested and table completed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.4 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; tasks &lt;br /&gt;
add time spent on owned tasks&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; tasks&lt;br /&gt;
add time spent on tasks&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | delete projects &amp;amp; tasks&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | delete projects &amp;amp; tasks&lt;br /&gt;
|-&lt;br /&gt;
| Read all &lt;br /&gt;
(require Read*)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | read projects &amp;amp; tasks&lt;br /&gt;
add time spent on owned tasks&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
(require Create/Modify*)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | modify close project&lt;br /&gt;
create modify tasks&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
(require Delete)&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | delete projects and tasks&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* the All permissions work only when the standard corresponding permission is given, else an error message will be display when attempting the action.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36761</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36761"/>
		<updated>2017-02-02T12:58:49Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.4 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Status&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user not assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user not assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user assigned to project&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; tasks&lt;br /&gt;
add time on assigned tasks&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project &amp;amp; task&lt;br /&gt;
add time on assigned tasks&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 but impossible to allocate to me&lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36760</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36760"/>
		<updated>2017-02-02T12:52:55Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.4 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Status&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user not assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user not assigned to project&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | user assigned to project&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 but impossible to allocate to me&lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36680</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36680"/>
		<updated>2017-01-09T09:59:23Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */  center text&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Status&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | not a project user&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | is a project user&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | not a project user&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 but impossible to allocate to me&lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36676</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36676"/>
		<updated>2017-01-05T17:24:34Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
 tasks hidden&lt;br /&gt;
 could not add time spent&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 but impossible to allocate to me&lt;br /&gt;
 could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
 could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 Previously , the page was providing the following informations regarding actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36675</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36675"/>
		<updated>2017-01-05T17:11:40Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Workflow */  The information is not up to date with code behaviour. Need to define rules and fix the code according to the rules.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
could not add time spent&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
could not add time spen&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
but could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
but impossible to allocate  to me&lt;br /&gt;
could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
but could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 &lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
 The page was providing the following information regardind actions :&lt;br /&gt;
 See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
 [[File:Project_right_access.png|200px]]&lt;br /&gt;
 == Create a project ==&lt;br /&gt;
 Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
 Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
 Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
 == Create a task ==&lt;br /&gt;
 Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
 * A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
 * A task is on the root of a project or under another task of the project.&lt;br /&gt;
 However this information needs to be double checked and completed using the table above.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36674</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36674"/>
		<updated>2017-01-05T17:04:16Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project visibility and user actions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | User&lt;br /&gt;
! colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Not Shared&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Shared&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; | Status&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
| not a project user&lt;br /&gt;
| is a project user&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;6&amp;quot; | Permission&lt;br /&gt;
| Read&lt;br /&gt;
| rowspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | Project hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
could not add time spent&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | read project&lt;br /&gt;
tasks hidden&lt;br /&gt;
could not add time spen&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task &lt;br /&gt;
but could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
but impossible to allocate  to me&lt;br /&gt;
could not see it&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | able to create new task&lt;br /&gt;
but could not see it&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Read all&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Create/Modify All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|-&lt;br /&gt;
| Delete All&lt;br /&gt;
| colspan=&amp;quot;4&amp;quot; style=&amp;quot;text-align: center;&amp;quot; | to be tested&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
 I have made tests for all cells which contains information and I think this module needs to be fully reviewed regarding the permissions.&lt;br /&gt;
 &lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36673</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36673"/>
		<updated>2017-01-05T15:59:56Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Workflow */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Project visibility and user actions ==&lt;br /&gt;
This module allow to share projects and task across users. Each user could interact based on :&lt;br /&gt;
*Permissions allowed&lt;br /&gt;
*Project visibility&lt;br /&gt;
*Assignment to project&lt;br /&gt;
&lt;br /&gt;
The following table try to summarize actions available based on these factors.&lt;br /&gt;
 &lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36672</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36672"/>
		<updated>2017-01-05T15:41:08Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; class=&amp;quot;unsortable&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; class=&amp;quot;unsortable&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | One and only one user is linked to a time spent record&lt;br /&gt;
 | The user should be linked to the task, to create the record.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | One and only one task is linked to a time spent record&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36671</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36671"/>
		<updated>2017-01-05T15:35:01Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Start Date and Time&lt;br /&gt;
 | Define when the time has been spent.&lt;br /&gt;
 | Time is not available when you enter the data by weeks.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Duration&lt;br /&gt;
 | Hours and minutes spent on the task.&lt;br /&gt;
 | This is mandatory to create a record&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Note&lt;br /&gt;
 | A small text to comment what was done or how time was spent.&lt;br /&gt;
 | Note is not available when you enter the data by weeks.&lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Done by&lt;br /&gt;
 | The user who has spent time on the task.&lt;br /&gt;
 | The user should be assigned to the task to enter a time spent record&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36670</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36670"/>
		<updated>2017-01-05T15:25:26Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Time spent record */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
These records allows to capture the time spent by a user on a task at a given time.&lt;br /&gt;
&lt;br /&gt;
The time spent could be entered from different points:&lt;br /&gt;
* using the tab dedicated in the task form&lt;br /&gt;
* using the &amp;quot;New time spent&amp;quot; option in the module left menu.&lt;br /&gt;
&lt;br /&gt;
In both cases you could enter time spend by day, but the menu option allows also to enter time spend by week. In this case you could only enter one time slot by day.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36669</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36669"/>
		<updated>2017-01-05T15:17:02Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Task entity */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by you (even if you are not assigned to). Depending on your permission, access to this view may be restricted.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Time spent record ==&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36663</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36663"/>
		<updated>2017-01-04T17:52:07Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Links */  added to tasks&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a task, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a task, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using ODT templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Time spent&lt;br /&gt;
 | You could attach multiple time spent slot to a task.&lt;br /&gt;
 | See the entity attributes below for more details.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a task by using it as a parent task.&lt;br /&gt;
 |&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36662</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36662"/>
		<updated>2017-01-04T17:45:04Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Properties */  added for task&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the task.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Child of project/task&lt;br /&gt;
 | By default the current project but could be changed to an other project task to create a tasks hierarchy.&lt;br /&gt;
 | &lt;br /&gt;
|-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Assigned to&lt;br /&gt;
 | The user responsible of the task.&lt;br /&gt;
 | By default the task creator.&lt;br /&gt;
 |- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the task&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date neither with project dates.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Planned workload&lt;br /&gt;
 | Planned workload to complete the task in hours and minutes. &lt;br /&gt;
 |  &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Declared progress&lt;br /&gt;
 | A percentage to be updated manually.&lt;br /&gt;
 | Could also be updated when capturing time spend on task. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your task.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the task.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the task.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36661</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36661"/>
		<updated>2017-01-04T17:31:17Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project */  added Task headers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project entity ==&lt;br /&gt;
This is the root object added by the module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
== Task entity ==&lt;br /&gt;
This is the child entity of the project entity. It is possible to create a hierarchy of tasks, the project being the root of the tree.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
&lt;br /&gt;
=== Links ===&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36660</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36660"/>
		<updated>2017-01-04T16:55:30Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project ==&lt;br /&gt;
This is the root object added by this module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL links to a project.&lt;br /&gt;
 |-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Commercial proposal&lt;br /&gt;
 | You could attach multiple proposals to a project.&lt;br /&gt;
 | You could create the proposal from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer order&lt;br /&gt;
 | You could attach multiple customer orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer invoice&lt;br /&gt;
 | You could attach multiple customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Customer template invoice&lt;br /&gt;
 | You could attach multiple template customer invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier order&lt;br /&gt;
 | You could attach multiple supplier orders to a project.&lt;br /&gt;
 | You could create the order from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Supplier invoice&lt;br /&gt;
 | You could attach multiple supplier invoices to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contract&lt;br /&gt;
 | You could attach multiple contracts to a project.&lt;br /&gt;
 | You could create the contract from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Expense report&lt;br /&gt;
 | You could attach multiple expense report to a project.&lt;br /&gt;
 | You could create the invoice from the project overview tab.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Event&lt;br /&gt;
 | You could attach multiple events to a project.&lt;br /&gt;
 | You could create the event from the project overview tab. The Agenda module should be activated.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Task&lt;br /&gt;
 | You could attach multiple tasks to a project. See below the tasks properties.&lt;br /&gt;
 | The option to manage tasks in a project should be properly activated, see [[Module_Projects#Set-up_options | Set-up Options]]&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36659</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36659"/>
		<updated>2017-01-04T16:40:53Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project */  Added properties and some links, to be continued soon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project ==&lt;br /&gt;
This is the root object added by this module.&lt;br /&gt;
=== Properties ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
=== Links ===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; width=&amp;quot;25%&amp;quot;| Entity linked&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; width=&amp;quot;45%&amp;quot;| Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Notes&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Users&lt;br /&gt;
 | You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed.&lt;br /&gt;
 | There is no limitation to number of users linked, even with the same role.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Contacts&lt;br /&gt;
 | You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed&lt;br /&gt;
 | There is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Documents&lt;br /&gt;
 | You could upload multiple document files and link them to a project.&lt;br /&gt;
 | Document could also be generated using templates, see [[Module_Projects#Set-up_options | Set-up Options]] to activate the templates.&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | URL&lt;br /&gt;
 | You could attach multiple URL link to a project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36658</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36658"/>
		<updated>2017-01-04T16:18:55Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Project */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project ==&lt;br /&gt;
This is the root object added by this module.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 |+ Project Properties&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note / Values&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project links ===&lt;br /&gt;
;Users:You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed. Note there is no limitation to number of users linked, even with the same role.&lt;br /&gt;
;Contacts:You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed. Note there is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed. &lt;br /&gt;
;Documents:You could upload multiple document files and link them to a project.&lt;br /&gt;
;URL:You could attach multiple URL link to a project.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36657</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36657"/>
		<updated>2017-01-04T16:18:03Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Usage */  Started entities and business rules&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Project ==&lt;br /&gt;
This is the root object added by this module.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
 |+ Project Properties&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;Name&amp;quot; | Property&lt;br /&gt;
 ! scope=&amp;quot;Description&amp;quot; | Description&lt;br /&gt;
 ! scope=&amp;quot;Note&amp;quot; | Note&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Reference&lt;br /&gt;
 | Generated automatically by a template. It is unique.&lt;br /&gt;
 | See [[Module_Projects#Set-up_options | Set-up Options]] to customize the template.&lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Label&lt;br /&gt;
 | The full name of the project.&lt;br /&gt;
 | &lt;br /&gt;
 |-&lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Visibility&lt;br /&gt;
 | This property define the users permissions.&lt;br /&gt;
 | &lt;br /&gt;
*&#039;&#039;Project Contacts&#039;&#039;, the project is only available to users associated. &lt;br /&gt;
*&#039;&#039;Everybody&#039;&#039;, the project is shared (public).&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Status&lt;br /&gt;
 | Current status of the project, updated by the project workflow.&lt;br /&gt;
 | &lt;br /&gt;
* Draft&lt;br /&gt;
* Open&lt;br /&gt;
* Closed&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Start date&lt;br /&gt;
 | Starting date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | End date&lt;br /&gt;
 | Ending date for the project&lt;br /&gt;
 | Could be any valid date in past or future. Note that no control is made between start and end date.&lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity status&lt;br /&gt;
 | Value selected from the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | Opportunity probability	&lt;br /&gt;
 | The percentage associated to the Opportunity status, could be updated manually.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Opportunity amount&lt;br /&gt;
 | Amount of the opportunity in default currency.&lt;br /&gt;
 | Only displayed when &amp;quot;Use projects to follow leads/opportunities&amp;quot; option is set-up. &lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Budget&lt;br /&gt;
 | Amount of the budget required for the project in default currency (if any).&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Description&lt;br /&gt;
 | A text to describe your project.&lt;br /&gt;
 |&lt;br /&gt;
|- &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Public Notes&lt;br /&gt;
 | A text area (html) to store public notes on the project.&lt;br /&gt;
 |&lt;br /&gt;
|-  &lt;br /&gt;
 ! scope=&amp;quot;row&amp;quot; | Private Notes&lt;br /&gt;
 | A text area (html) to store private notes on the project.&lt;br /&gt;
 | &lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Project links ===&lt;br /&gt;
;Users:You could allocate multiple users to a project, specifying a role. Two roles are defined by default, but you could extend it if needed. Note there is no limitation to number of users linked, even with the same role.&lt;br /&gt;
;Contacts:You could allocate multiple contacts - from different third parties - to a project, specifying a role. Two roles are defined by default, but you could extend it if needed. Note there is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed. &lt;br /&gt;
;Documents:You could upload multiple document files and link them to a project.&lt;br /&gt;
;URL:You could attach multiple URL link to a project.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36656</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36656"/>
		<updated>2017-01-04T15:27:34Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access shared projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36655</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36655"/>
		<updated>2017-01-04T15:24:19Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Permissions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Projects&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
Note that the left menu display two sets of options :&lt;br /&gt;
# to access your own projects and tasks. These are projects and task you have been assigned to.&lt;br /&gt;
# to access public projects and tasks. These are projects and task readable by all users.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36654</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36654"/>
		<updated>2017-01-03T17:52:03Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Configuration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
=== Projects &amp;gt; Parameters === 	 &lt;br /&gt;
;Use projects to follow leads/opportunities:If selected you could associate the project to a third party and follow the status of the proposal. This is required to manage external project.&lt;br /&gt;
;Use projects to follow tasks and time: You need to select this option if you want to enter the detailed tasks of the projects and eventually follow time spend (this is not mandatory even if the option is selected). If not selected the module just allow to follow business opportunities (i.e. sales projects status).&lt;br /&gt;
=== Projects &amp;gt; Projects numbering module ===&lt;br /&gt;
Projects are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine.    	&lt;br /&gt;
=== Projects &amp;gt; Tasks numbering module === &lt;br /&gt;
Tasks are numbered automatically using a simple model. You could change this model and define your own number template using the universal engine. The task numbering model is independent from the project one. &lt;br /&gt;
=== Projects &amp;gt; Project reports document model ===&lt;br /&gt;
You could select a template for linked objects overview and a report template for project tasks. It is also possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Task reports document model ===&lt;br /&gt;
It is possible to generate documents from OpenDocuments templates, a simple one is provided.&lt;br /&gt;
=== Projects &amp;gt; Other Parameters ===&lt;br /&gt;
;Use auto-completion fields to choose project (instead of using a list box):This could be very useful if you track a large volume of opportunities as projects. 	&lt;br /&gt;
;On document of a third-party, can choose a project linked to another third-party:By default only document of the third party attached to the project could be linked to the project, however you may have a sub-contractor that will provide documents related to the project. In this case you need the option activated. 	&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (project) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the project card.&lt;br /&gt;
&lt;br /&gt;
=== Complementary attributes (task) ===&lt;br /&gt;
Use this tab to define extra fields that will be available in the task card.&lt;br /&gt;
&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Opportunity status for project/lead&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
This dictionary is used when the module is used to follow leads/opportunities. It contains the probability to sign the opportunities. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to customize the list of values to qualify your opportunities.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user allocated to a project or a task.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
#Read projects and tasks (shared project and projects i&#039;m contact for). Can also enter time consumed on assigned tasks (timesheet)		&lt;br /&gt;
#Create/modify projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Delete projects (shared project and projects i&#039;m contact for)	 	&lt;br /&gt;
#Export projects	 	&lt;br /&gt;
#Read all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Create/modify all projects and tasks (also private projects i am not contact for)	 	&lt;br /&gt;
#Delete all projects and tasks (also private projects i am not contact for)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By default 1 is the default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; if you need to add some.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36653</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36653"/>
		<updated>2017-01-03T17:03:12Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: Extended Introduction and normalized it as for the Agenda module.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to manage projects defined as a hierarchy of tasks and to track time consumed by users on these tasks.&lt;br /&gt;
Projects could be used for internal projects, done for your organisation or for projects linked to Dolibarr entities (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Tasks&#039;&#039;&#039; is often confused with terms like &amp;quot;Events&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage project as a hierarchy of tasks.&lt;br /&gt;
* Allow to define internal projects (done for your organization).&lt;br /&gt;
* Allow to define external projects (done by your organization for a client).&lt;br /&gt;
* Allow to allocate internal or external users on tasks.&lt;br /&gt;
* Allow to share projects across users, providing to each assigned user the proper view of tasks and projects.&lt;br /&gt;
* Allow to track time spend on task per working slot and user.&lt;br /&gt;
* Allow to assign any element or document (invoice, order, proposal, intervention, ...) or URL  to project and tasks.&lt;br /&gt;
* Provide a full view of the project with time planned and spend, Gant view and all documents.&lt;br /&gt;
* Support extra fields for projects and task.&lt;br /&gt;
* Provide document models for projects and tasks reports.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support automated planning based on user availability.&lt;br /&gt;
* Does not calculate any critical path.&lt;br /&gt;
* Does not support allocating resources other than users on tasks.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects_(developer)&amp;diff=36549</id>
		<title>Module Projects (developer)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects_(developer)&amp;diff=36549"/>
		<updated>2016-12-08T13:28:20Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Feature */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateModEN Developer}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Projects|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=This page|&lt;br /&gt;
userdoc=[[Module Projects]]|}}&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
The Project module allows you to manage tasks and time consumed on tasks. You can also link Dolibarr entities to a project (like [[Commercial_Proposals|commercial proposals]], [[Customers_Orders|customers orders]] or [[Customers_Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
= Entity Project =&lt;br /&gt;
{{TemplateDocDevEntityEn|&lt;br /&gt;
class=htdocs/projet/class/project.class.php}}&lt;br /&gt;
&lt;br /&gt;
= Permissions =&lt;br /&gt;
*-&amp;gt;project-&amp;gt;lire&lt;br /&gt;
*-&amp;gt;project-&amp;gt;creer&lt;br /&gt;
*-&amp;gt;project-&amp;gt;supprimer&lt;br /&gt;
&lt;br /&gt;
= Tables SQL =&lt;br /&gt;
* [[Table llx projet|llx projet]] Contains projects&lt;br /&gt;
* [[Table llx projet_task|llx projet_task]] Contains tasks&lt;br /&gt;
* [[Table llx projet_task_time|llx projet_task_time]] Contains time consumed on tasks&lt;br /&gt;
* [[Table_llx_element_contact|llx_element_contact ]] Tells which tasks is affected to which user or contact&lt;br /&gt;
* [[Table llx projet_task_actors|llx projet_task_actors]] is deprecated, replaced by [[Table_llx_element_contact|llx_element_contact ]]&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects_(developer)&amp;diff=36548</id>
		<title>Module Projects (developer)</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects_(developer)&amp;diff=36548"/>
		<updated>2016-12-08T13:27:36Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Tables SQL */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocDevEn}}&lt;br /&gt;
{{TemplateModEN Developer}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Projects|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=This page|&lt;br /&gt;
userdoc=[[Module Projects]]|}}&lt;br /&gt;
&lt;br /&gt;
= Feature =&lt;br /&gt;
The Project module allows you to manage tasks and time consuming on tasks. You can also link Dolibarr entities to a project (like [[Commercial_Proposals|commercial proposals]], [[Customers_Orders|customers orders]] or [[Customers_Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
= Entity Project =&lt;br /&gt;
{{TemplateDocDevEntityEn|&lt;br /&gt;
class=htdocs/projet/class/project.class.php}}&lt;br /&gt;
&lt;br /&gt;
= Permissions =&lt;br /&gt;
*-&amp;gt;project-&amp;gt;lire&lt;br /&gt;
*-&amp;gt;project-&amp;gt;creer&lt;br /&gt;
*-&amp;gt;project-&amp;gt;supprimer&lt;br /&gt;
&lt;br /&gt;
= Tables SQL =&lt;br /&gt;
* [[Table llx projet|llx projet]] Contains projects&lt;br /&gt;
* [[Table llx projet_task|llx projet_task]] Contains tasks&lt;br /&gt;
* [[Table llx projet_task_time|llx projet_task_time]] Contains time consumed on tasks&lt;br /&gt;
* [[Table_llx_element_contact|llx_element_contact ]] Tells which tasks is affected to which user or contact&lt;br /&gt;
* [[Table llx projet_task_actors|llx projet_task_actors]] is deprecated, replaced by [[Table_llx_element_contact|llx_element_contact ]]&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_element_time&amp;diff=36547</id>
		<title>Table llx element time</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_element_time&amp;diff=36547"/>
		<updated>2016-12-08T13:22:01Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Table */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Projet]]&lt;br /&gt;
[[Category:Project]]&lt;br /&gt;
[[Category:Proyectos]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains the time spend by actors of a project task at a given time. &lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient le temps passé par acteurs et par date sur une tâche de projet.&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene los tiempos invertidos por los actores relacionados a un proyecto.&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{| align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
|-&lt;br /&gt;
| fk_task&lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of task ([[Table llx_projet_task|llx_projet_task]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| task_date&lt;br /&gt;
| date&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date time when the actor has spend time on the task (started to work)&lt;br /&gt;
|-&lt;br /&gt;
| task_duration&lt;br /&gt;
| double&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| time spend, duration from the date time above&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| fk_user&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of user or contact having spend time ([[Table llx element contact]]-&amp;gt;fk_socpeople)&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| commentary notes&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY&lt;br /&gt;
| rowid&lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_element_time&amp;diff=36546</id>
		<title>Table llx element time</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_element_time&amp;diff=36546"/>
		<updated>2016-12-08T13:15:41Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Content/Contenu/Contenido */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Projet]]&lt;br /&gt;
[[Category:Project]]&lt;br /&gt;
[[Category:Proyectos]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains the time spend by actors of a project task at a given time. &lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient le temps passé par acteurs et par date sur une tâche de projet.&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene los tiempos invertidos por los actores relacionados a un proyecto.&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{| align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
|-&lt;br /&gt;
| fk_task&lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
|&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of task ([[Table llx_projet_task|llx_projet_task]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| task_date&lt;br /&gt;
| date&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| date of task time&lt;br /&gt;
|-&lt;br /&gt;
| task_duration&lt;br /&gt;
| double&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| duration of task&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| fk_user&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of user made task ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| note&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| comentary notes&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY&lt;br /&gt;
| rowid&lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_projet_task_actors&amp;diff=36545</id>
		<title>Table llx projet task actors</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_projet_task_actors&amp;diff=36545"/>
		<updated>2016-12-08T13:09:20Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Projet]]&lt;br /&gt;
[[Category:Project]]&lt;br /&gt;
[[Category:Proyectos]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
  From Dolibarr version x.x this table is deprecated and replaced by [[table_llx_element_contact]]&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains actors tasks related to a project. &lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient des actors des tâches liées à un projet.&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene los actores de tareas relacionadas a un proyecto.&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{| align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| fk_projet_task&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| UNI&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of task ([[Table llx_projet_task|llx_projet_task]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_user&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| UNI&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| role&lt;br /&gt;
| varchar(5)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| admin&lt;br /&gt;
| &lt;br /&gt;
| user rol&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| fk_projet_task &lt;br /&gt;
| UNIQUE&lt;br /&gt;
| fk_projet_task,fk_user&lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Table_llx_projet_task&amp;diff=36544</id>
		<title>Table llx projet task</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Table_llx_projet_task&amp;diff=36544"/>
		<updated>2016-12-08T12:59:46Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Table */ removed line in double&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Table SQL]]&lt;br /&gt;
[[Category:Projet]]&lt;br /&gt;
[[Category:Project]]&lt;br /&gt;
[[Category:Proyectos]]&lt;br /&gt;
&lt;br /&gt;
{{ListOfTables}}&lt;br /&gt;
&lt;br /&gt;
= Content/Contenu/Contenido =&lt;br /&gt;
{{flag en}} Contains tasks related to a project. &lt;br /&gt;
&lt;br /&gt;
{{flag fr}} Contient des tâches liées à un projet.&lt;br /&gt;
&lt;br /&gt;
{{flag sp}} Contiene las tareas relacionadas a un proyecto.&lt;br /&gt;
&lt;br /&gt;
= Structure =&lt;br /&gt;
== Table ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Field&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Null&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Default&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Extra&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Description&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| rowid &lt;br /&gt;
| int(11) &lt;br /&gt;
| NO&lt;br /&gt;
| PRI&lt;br /&gt;
| &lt;br /&gt;
| auto_increment &lt;br /&gt;
| technical index&lt;br /&gt;
|-&lt;br /&gt;
| fk_projet&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| MUL&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| ID of proyect ([[Table llx_projet|llx_projet]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_task_parent&lt;br /&gt;
| int(11)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| ID of task ([[Table llx_c_actioncomm|llx_c_actioncomm]]-&amp;gt;id)&lt;br /&gt;
|-&lt;br /&gt;
| datec&lt;br /&gt;
| datetime&lt;br /&gt;
| YES &lt;br /&gt;
| &lt;br /&gt;
| NULL &lt;br /&gt;
| &lt;br /&gt;
| creation date&lt;br /&gt;
{{FieldTms}}&lt;br /&gt;
|-&lt;br /&gt;
| dateo&lt;br /&gt;
| datetime&lt;br /&gt;
| YES &lt;br /&gt;
| &lt;br /&gt;
| NULL &lt;br /&gt;
| &lt;br /&gt;
| date start task&lt;br /&gt;
|-&lt;br /&gt;
| datee&lt;br /&gt;
| datetime&lt;br /&gt;
| YES &lt;br /&gt;
| &lt;br /&gt;
| NULL &lt;br /&gt;
| &lt;br /&gt;
| date end task&lt;br /&gt;
|-&lt;br /&gt;
| datev&lt;br /&gt;
| datetime&lt;br /&gt;
| YES &lt;br /&gt;
| &lt;br /&gt;
| NULL &lt;br /&gt;
| &lt;br /&gt;
| date validation task&lt;br /&gt;
|-&lt;br /&gt;
| label&lt;br /&gt;
| varchar(255)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
| task label&lt;br /&gt;
|-&lt;br /&gt;
| description&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| task description&lt;br /&gt;
|-&lt;br /&gt;
| duration_effective&lt;br /&gt;
| real&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| duration of task&lt;br /&gt;
|-&lt;br /&gt;
| progress&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| progress of task&lt;br /&gt;
|-&lt;br /&gt;
| priority&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| task priority&lt;br /&gt;
|-&lt;br /&gt;
| fk_user_creat&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of creator user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_user_modif&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of modifier user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_user_valid&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| ID of validator user ([[Table llx_user|llx_user]]-&amp;gt;rowid)&lt;br /&gt;
|-&lt;br /&gt;
| fk_statut&lt;br /&gt;
| smallint(6)&lt;br /&gt;
| NO&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| status&lt;br /&gt;
|-&lt;br /&gt;
| note_private&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| comentary notes&lt;br /&gt;
|-&lt;br /&gt;
| note_public&lt;br /&gt;
| text&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| NULL&lt;br /&gt;
| &lt;br /&gt;
| public comentary notes&lt;br /&gt;
|-&lt;br /&gt;
| rang&lt;br /&gt;
| int(11)&lt;br /&gt;
| YES&lt;br /&gt;
| &lt;br /&gt;
| 0&lt;br /&gt;
| &lt;br /&gt;
| rang&lt;br /&gt;
|}&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
== Keys ==&lt;br /&gt;
{|  align=&amp;quot;left&amp;quot; width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; cellspacing=&amp;quot;0&amp;quot; class=&amp;quot;dolbox&amp;quot;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Key&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Type&amp;lt;/b&amp;gt;&lt;br /&gt;
 |style=&amp;quot;background-color: #e9e9ef&amp;quot;| &amp;lt;b&amp;gt;Fields&amp;lt;/b&amp;gt;&lt;br /&gt;
|- &lt;br /&gt;
| PRIMARY&lt;br /&gt;
| PRIMARY &lt;br /&gt;
| rowid&lt;br /&gt;
|- &lt;br /&gt;
| fk_projet_task_fk_projet&lt;br /&gt;
| MULTIPLE&lt;br /&gt;
| fk_projet&lt;br /&gt;
|- &lt;br /&gt;
| idx_projet_task_fk_user_creat &lt;br /&gt;
| MULTIPLE&lt;br /&gt;
| fk_user_creat&lt;br /&gt;
|- &lt;br /&gt;
| idx_projet_task_fk_user_valid &lt;br /&gt;
| MULTIPLE&lt;br /&gt;
| fk_user_valid &lt;br /&gt;
|}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Resources&amp;diff=36543</id>
		<title>Module Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Resources&amp;diff=36543"/>
		<updated>2016-12-08T12:23:00Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Resource links */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Resources]]&lt;br /&gt;
[[Category:List of Modules]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Resources|&lt;br /&gt;
num=0|&lt;br /&gt;
devdoc=[[Module Resources (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Resource Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to register the resources of the organisation like rooms, materials, keys, ...&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage a list of resources.&lt;br /&gt;
* Support resource type.&lt;br /&gt;
* Support adding notes to resource (public, private)&lt;br /&gt;
* Support resource links with contacts/users&lt;br /&gt;
* Support resource links to documents and/or URL. &lt;br /&gt;
* If the event module is activated, you could link resources to an event.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support tag/categories for resource.&lt;br /&gt;
* Does not support extra fields. (will do in 5.0)&lt;br /&gt;
* Does not support attaching a resource to a project task.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
You just need to enable it in the module list.&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
There is currently no set-up options for the module.&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Type of resources&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
By default this dictionary is empty. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to enter a list of values to categorize your resources.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user responsible for the resource.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
# Read resources	 	&lt;br /&gt;
# Create/modify resources	 	&lt;br /&gt;
# Delete resources	 	&lt;br /&gt;
# Link resources to agenda events&lt;br /&gt;
&lt;br /&gt;
By default there is no default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; to define some ( 1 and 4 is a good choice).&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Tools&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Resource ==&lt;br /&gt;
This is the main and unique object added by this module.&lt;br /&gt;
&lt;br /&gt;
=== Resource properties ===&lt;br /&gt;
&lt;br /&gt;
;Name:Name of the resource. Mandatory. Does not need to be unique.&lt;br /&gt;
;Type:Value from &amp;quot;Type of Resource&amp;quot; dictionary. To categorize your resources, could be used to sort the resources list.&lt;br /&gt;
;Description:A text to describe your resource.&lt;br /&gt;
;Public Notes:A text area (html) to store public notes on the resource.&lt;br /&gt;
;Private Notes:A text area (html) to store private notes on the resource.&lt;br /&gt;
&lt;br /&gt;
=== Resource links ===&lt;br /&gt;
;Users:You could allocate multiple users to a resource, specifying a role. Actually the only role defined by default is &#039;In charge of resource&#039;, but you could extend it if needed. Note there is no limitation to number of users linked, even with the same role.&lt;br /&gt;
;Contacts:You could allocate multiple contacts - from different third parties - to a resource, specifying a role. Actually the only role defined by default is &#039;In charge of resource&#039;, but you could extend it if needed. Note there is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed. &lt;br /&gt;
;Documents:You could upload multiple document files and link them to the Resource.&lt;br /&gt;
;URL:You could attach multiple URL link to a resource.&lt;br /&gt;
;Event:When the Agenda module is activated, it is possible to select resources needed on any event. You could define if the resource is mandatory or not for the event and is free or not. This means the system is not checking the actual resource availability you need to check it manually.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=List Resources: &lt;br /&gt;
|situation=You want to get the full list of resources&lt;br /&gt;
|actions= Go to Tools -&amp;gt; Resources. The resources list opens. You could sort the list by Reference or Type.&lt;br /&gt;
 Selection will be available on Dolibarr 5.0&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Create Resource: &lt;br /&gt;
|situation=You get a new resource&lt;br /&gt;
|actions= Go to Tools -&amp;gt; New Resource. The resource card opens. Fill-it and save. It should now be available in list.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Modify Resource: &lt;br /&gt;
|situation=You need to update a resource property&lt;br /&gt;
|actions= Go to Tools -&amp;gt; List Resources. The resource list displays. Select the resource. The resource card opens. Click Modify. You could modify properties. Save. The card reflects the changes.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Delete Resource: &lt;br /&gt;
|situation=You need to remove a resource&lt;br /&gt;
|actions= Go to Tools -&amp;gt; List Resources. The resource list displays. Select the resource. The resource card opens. Click Delete. The resource will be deleted and confirmation message will shows up.&lt;br /&gt;
 If you delete a resource allocated to an event, you will end up with a blank resource for this event. Delete is not checking if the resource is used or not.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Inactivate Resource: &lt;br /&gt;
|situation=You need to remove a resource that could not be used any more but keep it&#039;s history.&lt;br /&gt;
|actions= None&lt;br /&gt;
 Not available yet will require an active or inactive status&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ToComplete}}&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36542</id>
		<title>Module Agenda</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36542"/>
		<updated>2016-12-07T17:17:46Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */  put important notice first&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:AgendaEn]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Agenda|&lt;br /&gt;
num=2400|&lt;br /&gt;
devdoc=[[Module Agenda (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Agenda Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to add a calendar into Dolibarr and manage events.&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Events&#039;&#039;&#039; is often confused with terms like &amp;quot;Tasks&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;list of Tasks&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage a calendar of events (also called Agenda).&lt;br /&gt;
* Support day, week, month view for calendar.&lt;br /&gt;
* Support displaying other external calendars in agenda using ical URL. &lt;br /&gt;
* Support also user and list view of events.&lt;br /&gt;
* Allow to define and use types for event categorization.&lt;br /&gt;
* Allow to link a project, a third party and a contact to an event.&lt;br /&gt;
* Allow to link documents and/or URL to an events.&lt;br /&gt;
* If the [[Module_Resources| Resources module]] is activated, you could link resources to an event.&lt;br /&gt;
* Support extra fields for event.&lt;br /&gt;
* Support the automatic agenda filling by Dolibarr workflow events.&lt;br /&gt;
* Support calendar events export using vcal, ical or rss. &lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support updating external calendar. (see commercial modules for this).&lt;br /&gt;
* Does not support recurring events.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
To know how to setup the module to export Dolibarr agenda events it into the Google agenda, see [[FAQ Agenda EN]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= The events (event) =&lt;br /&gt;
In Dolibarr, we also call this events the &#039;&#039;actions&#039;&#039;. There is some automatic actions (created automatically by Dolibarr) and manual actions (created explicitly by users).&lt;br /&gt;
This is the role of Agenda module to manage this kind of events.&lt;br /&gt;
&lt;br /&gt;
== Automatic events ==&lt;br /&gt;
We can setup in the Agenda module, which event we want to create automatically into the calendar.&lt;br /&gt;
Events chosen (invoice creation, order validation...) are then created automatically into the calendar.&lt;br /&gt;
So such events are business actions that has just been done. They are created with status realized (percentage of accomplishment = 100%).&lt;br /&gt;
Duration of such events are in general 0 seconds (end date = start date)&lt;br /&gt;
&lt;br /&gt;
== Manual events and rendez-vous ==&lt;br /&gt;
You can also create yourself events from Agenda menus.&lt;br /&gt;
So you create, modify, delete an event (named &#039;&#039;action&#039;&#039; into Dolibarr).&lt;br /&gt;
Such events will have a start date, an end date, an accomplishment percentage, all chosen by user. This properties can also be modified later.&lt;br /&gt;
&lt;br /&gt;
= Life cycle / Business rules =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Example of use case =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCAG01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36541</id>
		<title>Module Agenda</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36541"/>
		<updated>2016-12-07T17:15:12Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: Rewrite the important notice regarding definitions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:AgendaEn]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Agenda|&lt;br /&gt;
num=2400|&lt;br /&gt;
devdoc=[[Module Agenda (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Agenda Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to add a calendar into Dolibarr and manage events.&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage a calendar of events (also called Agenda).&lt;br /&gt;
* Support day, week, month view for calendar.&lt;br /&gt;
* Support displaying other external calendars in agenda using ical URL. &lt;br /&gt;
* Support also user and list view of events.&lt;br /&gt;
* Allow to define and use types for event categorization.&lt;br /&gt;
* Allow to link a project, a third party and a contact to an event.&lt;br /&gt;
* Allow to link documents and/or URL to an events.&lt;br /&gt;
* If the [[Module_Resources| Resources module]] is activated, you could link resources to an event.&lt;br /&gt;
* Support extra fields for event.&lt;br /&gt;
* Support the automatic agenda filling by Dolibarr workflow events.&lt;br /&gt;
* Support calendar events export using vcal, ical or rss. &lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support updating external calendar. (see commercial modules for this).&lt;br /&gt;
* Does not support recurring events.&lt;br /&gt;
&lt;br /&gt;
== Important notice regarding definitions ==&lt;br /&gt;
&lt;br /&gt;
The term &#039;&#039;&#039;Events&#039;&#039;&#039; is often confused with terms like &amp;quot;Tasks&amp;quot;, &amp;quot;Action&amp;quot;, &amp;quot;list of Tasks&amp;quot;, &amp;quot;Journal&amp;quot;.&lt;br /&gt;
 &lt;br /&gt;
Before you read this documentation, it is important to know the meanings of each terms which have been defined and normalized by the norm RFC2445. &lt;br /&gt;
&lt;br /&gt;
If you are not familiar with these, read this summary page : [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
To know how to setup the module to export Dolibarr agenda events it into the Google agenda, see [[FAQ Agenda EN]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= The events (event) =&lt;br /&gt;
In Dolibarr, we also call this events the &#039;&#039;actions&#039;&#039;. There is some automatic actions (created automatically by Dolibarr) and manual actions (created explicitly by users).&lt;br /&gt;
This is the role of Agenda module to manage this kind of events.&lt;br /&gt;
&lt;br /&gt;
== Automatic events ==&lt;br /&gt;
We can setup in the Agenda module, which event we want to create automatically into the calendar.&lt;br /&gt;
Events chosen (invoice creation, order validation...) are then created automatically into the calendar.&lt;br /&gt;
So such events are business actions that has just been done. They are created with status realized (percentage of accomplishment = 100%).&lt;br /&gt;
Duration of such events are in general 0 seconds (end date = start date)&lt;br /&gt;
&lt;br /&gt;
== Manual events and rendez-vous ==&lt;br /&gt;
You can also create yourself events from Agenda menus.&lt;br /&gt;
So you create, modify, delete an event (named &#039;&#039;action&#039;&#039; into Dolibarr).&lt;br /&gt;
Such events will have a start date, an end date, an accomplishment percentage, all chosen by user. This properties can also be modified later.&lt;br /&gt;
&lt;br /&gt;
= Life cycle / Business rules =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Example of use case =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCAG01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36540</id>
		<title>Module Agenda</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36540"/>
		<updated>2016-12-07T17:00:03Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */  added does and does not&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:AgendaEn]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Agenda|&lt;br /&gt;
num=2400|&lt;br /&gt;
devdoc=[[Module Agenda (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Agenda Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to add a calendar into Dolibarr and manage events.&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage a calendar of events (also called Agenda).&lt;br /&gt;
* Support day, week, month view for calendar.&lt;br /&gt;
* Support displaying other external calendars in agenda using ical URL. &lt;br /&gt;
* Support also user and list view of events.&lt;br /&gt;
* Allow to define and use types for event categorization.&lt;br /&gt;
* Allow to link a project, a third party and a contact to an event.&lt;br /&gt;
* Allow to link documents and/or URL to an events.&lt;br /&gt;
* If the [[Module_Resources| Resources module]] is activated, you could link resources to an event.&lt;br /&gt;
* Support extra fields for event.&lt;br /&gt;
* Support the automatic agenda filling by Dolibarr workflow events.&lt;br /&gt;
* Support calendar events export using vcal, ical or rss. &lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support updating external calendar. (see commercial modules for this).&lt;br /&gt;
* Does not support recurring events.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
To know how to setup the module to export Dolibarr agenda events it into the Google agenda, see [[FAQ Agenda EN]].&lt;br /&gt;
&lt;br /&gt;
= Definitions =&lt;br /&gt;
Before to read next chapters, it is important to know the meanings of each terms&lt;br /&gt;
« Events / Tasks / Journals ».&lt;br /&gt;
This 3 words often misunderstood are used for different meanings, so it is important to be familiar with them as this words are now used by nearly all ERP. For this, a definition is provided into page [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
= The events (event) =&lt;br /&gt;
In Dolibarr, we also call this events the &#039;&#039;actions&#039;&#039;. There is some automatic actions (created automatically by Dolibarr) and manual actions (created explicitly by users).&lt;br /&gt;
This is the role of Agenda module to manage this kind of events.&lt;br /&gt;
&lt;br /&gt;
== Automatic events ==&lt;br /&gt;
We can setup in the Agenda module, which event we want to create automatically into the calendar.&lt;br /&gt;
Events chosen (invoice creation, order validation...) are then created automatically into the calendar.&lt;br /&gt;
So such events are business actions that has just been done. They are created with status realized (percentage of accomplishment = 100%).&lt;br /&gt;
Duration of such events are in general 0 seconds (end date = start date)&lt;br /&gt;
&lt;br /&gt;
== Manual events and rendez-vous ==&lt;br /&gt;
You can also create yourself events from Agenda menus.&lt;br /&gt;
So you create, modify, delete an event (named &#039;&#039;action&#039;&#039; into Dolibarr).&lt;br /&gt;
Such events will have a start date, an end date, an accomplishment percentage, all chosen by user. This properties can also be modified later.&lt;br /&gt;
&lt;br /&gt;
= Life cycle / Business rules =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Example of use case =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCAG01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36539</id>
		<title>Module Agenda</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Agenda&amp;diff=36539"/>
		<updated>2016-12-07T16:30:52Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:AgendaEn]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Agenda|&lt;br /&gt;
num=2400|&lt;br /&gt;
devdoc=[[Module Agenda (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Agenda Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The Agenda module is used to add a calendar into Dolibarr and manage things like events and rendez-vous.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
To know how to setup the module to export Dolibarr agenda events it into the Google agenda, see [[FAQ Agenda EN]].&lt;br /&gt;
&lt;br /&gt;
= Definitions =&lt;br /&gt;
Before to read next chapters, it is important to know the meanings of each terms&lt;br /&gt;
« Events / Tasks / Journals ».&lt;br /&gt;
This 3 words often misunderstood are used for different meanings, so it is important to be familiar with them as this words are now used by nearly all ERP. For this, a definition is provided into page [[Events-Todo-Journal]].&lt;br /&gt;
&lt;br /&gt;
= The events (event) =&lt;br /&gt;
In Dolibarr, we also call this events the &#039;&#039;actions&#039;&#039;. There is some automatic actions (created automatically by Dolibarr) and manual actions (created explicitly by users).&lt;br /&gt;
This is the role of Agenda module to manage this kind of events.&lt;br /&gt;
&lt;br /&gt;
== Automatic events ==&lt;br /&gt;
We can setup in the Agenda module, which event we want to create automatically into the calendar.&lt;br /&gt;
Events chosen (invoice creation, order validation...) are then created automatically into the calendar.&lt;br /&gt;
So such events are business actions that has just been done. They are created with status realized (percentage of accomplishment = 100%).&lt;br /&gt;
Duration of such events are in general 0 seconds (end date = start date)&lt;br /&gt;
&lt;br /&gt;
== Manual events and rendez-vous ==&lt;br /&gt;
You can also create yourself events from Agenda menus.&lt;br /&gt;
So you create, modify, delete an event (named &#039;&#039;action&#039;&#039; into Dolibarr).&lt;br /&gt;
Such events will have a start date, an end date, an accomplishment percentage, all chosen by user. This properties can also be modified later.&lt;br /&gt;
&lt;br /&gt;
= Life cycle / Business rules =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
= Example of use case =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCAG01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Resources&amp;diff=36538</id>
		<title>Module Resources</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Resources&amp;diff=36538"/>
		<updated>2016-12-07T16:29:41Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Resources]]&lt;br /&gt;
[[Category:List of Modules]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Resources|&lt;br /&gt;
num=0|&lt;br /&gt;
devdoc=[[Module Resources (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Resource Module is a core Dolibarr module. It is optional and part of the Projects/Collaborative work group in module list.&lt;br /&gt;
&lt;br /&gt;
The main purpose of the module is to register the resources of the organisation like rooms, materials, keys, ...&lt;br /&gt;
&lt;br /&gt;
 Current documentation applies to 4.0.2 Dolibarr release.&lt;br /&gt;
&lt;br /&gt;
== What this module does ==&lt;br /&gt;
&lt;br /&gt;
* Manage a list of resources.&lt;br /&gt;
* Support resource type.&lt;br /&gt;
* Support adding notes to resource (public, private)&lt;br /&gt;
* Support resource links with contacts/users&lt;br /&gt;
* Support resource links to documents and/or URL. &lt;br /&gt;
* If the event module is activated, you could link resources to an event.&lt;br /&gt;
&lt;br /&gt;
== What this module does not ==&lt;br /&gt;
  &lt;br /&gt;
* Does not support tag/categories for resource.&lt;br /&gt;
* Does not support extra fields. (will do in 5.0)&lt;br /&gt;
* Does not support attaching a resource to a project task.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
You just need to enable it in the module list.&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
Below are the options available to configure this module.&lt;br /&gt;
== Set-up options ==&lt;br /&gt;
There is currently no set-up options for the module.&lt;br /&gt;
== Dictionaries ==&lt;br /&gt;
The module comes with the the &amp;quot;Type of resources&amp;quot; dictionary.&lt;br /&gt;
&lt;br /&gt;
By default this dictionary is empty. &lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Dictionaries&#039;&#039;&#039; to enter a list of values to categorize your resources.&lt;br /&gt;
&lt;br /&gt;
The module also use the &amp;quot;Contact/Address types&amp;quot; dictionary, and populate it by default to associate a contact or a user responsible for the resource.&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
&lt;br /&gt;
# Read resources	 	&lt;br /&gt;
# Create/modify resources	 	&lt;br /&gt;
# Delete resources	 	&lt;br /&gt;
# Link resources to agenda events&lt;br /&gt;
&lt;br /&gt;
By default there is no default permission.&lt;br /&gt;
&lt;br /&gt;
Go to the &#039;&#039;&#039;Setup&#039;&#039;&#039; menu and select &#039;&#039;&#039;Security&#039;&#039;&#039; to define some ( 1 and 4 is a good choice).&lt;br /&gt;
&lt;br /&gt;
= Usage =&lt;br /&gt;
The module is available from the &#039;&#039;&#039;Tools&#039;&#039;&#039; icon available in Dolibarr top menu.&lt;br /&gt;
&lt;br /&gt;
= Entities and Business rules =&lt;br /&gt;
== Resource ==&lt;br /&gt;
This is the main and unique object added by this module.&lt;br /&gt;
&lt;br /&gt;
=== Resource properties ===&lt;br /&gt;
&lt;br /&gt;
;Name:Name of the resource. Mandatory. Does not need to be unique.&lt;br /&gt;
;Type:Value from &amp;quot;Type of Resource&amp;quot; dictionary. To categorize your resources, could be used to sort the resources list.&lt;br /&gt;
;Description:A text to describe your resource.&lt;br /&gt;
;Public Notes:A text area (html) to store public notes on the resource.&lt;br /&gt;
;Private Notes:A text area (html) to store private notes on the resource.&lt;br /&gt;
&lt;br /&gt;
=== Resource links ===&lt;br /&gt;
;Users:You could allocate multiple users to a resource, specifying a rôle. Actually the only role defined by default is &#039;In charge of resource&#039;, but you could extend it if needed. Note there is no limitation to number of users linked, even with the same role.&lt;br /&gt;
;Contacts:You could allocate multiple contacts - from different third parties - to a resource, specifying a rôle. Actually the only role defined by default is &#039;In charge of resource&#039;, but you could extend it if needed. Note there is no limitation to number of contacts linked, even with the same role. Contact and User roles could be different if needed. &lt;br /&gt;
;Documents:You could upload multiple document files and link them to the Resource.&lt;br /&gt;
;URL:You could attach multiple URL link to a resource.&lt;br /&gt;
;Event:When the Agenda module is activated, it is possible to select resources needed on any event. You could define if the resource is mandatory or not for the event and is free or not. This means the system is not checking the actual resource availability you need to check it manually.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=List Resources: &lt;br /&gt;
|situation=You want to get the full list of resources&lt;br /&gt;
|actions= Go to Tools -&amp;gt; Resources. The resources list opens. You could sort the list by Reference or Type.&lt;br /&gt;
 Selection will be available on Dolibarr 5.0&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Create Resource: &lt;br /&gt;
|situation=You get a new resource&lt;br /&gt;
|actions= Go to Tools -&amp;gt; New Resource. The resource card opens. Fill-it and save. It should now be available in list.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Modify Resource: &lt;br /&gt;
|situation=You need to update a resource property&lt;br /&gt;
|actions= Go to Tools -&amp;gt; List Resources. The resource list displays. Select the resource. The resource card opens. Click Modify. You could modify properties. Save. The card reflects the changes.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Delete Resource: &lt;br /&gt;
|situation=You need to remove a resource&lt;br /&gt;
|actions= Go to Tools -&amp;gt; List Resources. The resource list displays. Select the resource. The resource card opens. Click Delete. The resource will be deleted and confirmation message will shows up.&lt;br /&gt;
 If you delete a resource allocated to an event, you will end up with a blank resource for this event. Delete is not checking if the resource is used or not.&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=Inactivate Resource: &lt;br /&gt;
|situation=You need to remove a resource that could not be used any more but keep it&#039;s history.&lt;br /&gt;
|actions= None&lt;br /&gt;
 Not available yet will require an active or inactive status&lt;br /&gt;
}}&amp;amp;nbsp;&lt;br /&gt;
{{ToComplete}}&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Events-Todo-Journal&amp;diff=36537</id>
		<title>Events-Todo-Journal</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Events-Todo-Journal&amp;diff=36537"/>
		<updated>2016-12-06T18:01:20Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocUser}}&lt;br /&gt;
[[Category:AgendaEn]]&lt;br /&gt;
= Introduction =&lt;br /&gt;
Software used to manage tasks/plannings/agenda (like Outlook, Lightning, Webcalendar, etc) can manage 3 different notions (normalized in norm RFC2445) that are:&lt;br /&gt;
* Event (&#039;&#039;&#039;event&#039;&#039;&#039; in the norm)&lt;br /&gt;
* Task (&#039;&#039;&#039;to-do&#039;&#039;&#039; in the norm)&lt;br /&gt;
* Journal (&#039;&#039;&#039;journal&#039;&#039;&#039; in the norm)&lt;br /&gt;
This 3 definitions are nearly similar but they are different terms and are used for different goals. This page describe the differences between each of them.&lt;br /&gt;
&lt;br /&gt;
( If you are curious, you could access the full norm at www.ietf.org/rfc/rfc2445.txt ).&lt;br /&gt;
&lt;br /&gt;
= Event and rendez-vous (event) =&lt;br /&gt;
An event (event in the norm), is something to define an action (a instant action or an action with a long duration that is in past or future).&lt;br /&gt;
&lt;br /&gt;
Events has the folowwing properties:&lt;br /&gt;
* A label (In the norm ical: summary) &lt;br /&gt;
* A description (In the ical norm: description) &lt;br /&gt;
* A start date (In the ical norm: dtstart) &lt;br /&gt;
* An end date (In the ical norm: dtend) or a duration (In the ical norm: duration) but it&#039;s one or other not both.&lt;br /&gt;
* A location, like a meeting-room for example (In the ical norm: location)&lt;br /&gt;
* A priority (In the ical norm: priority)&lt;br /&gt;
* Transparency (In the ical norm: transp) that says if actors of event are available for this task.&lt;br /&gt;
* A status (try, confirmed or canceled), rarely used.&lt;br /&gt;
* Other less important informations.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
This is same thing that what you can find into an Outlook calendar (tab Calendar), Evolution, Thunderbird/Lightning or into Google calendar.&lt;br /&gt;
We use the &amp;quot;events&amp;quot; to save rendez-vous for exemple, but you can also use them to save a work to do into a date range if you want.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept is managed by [[Module Agenda En|Module Agenda]].&lt;br /&gt;
Dolibarr has added a percentage. There is also an option to add a type into Dolibarr.&lt;br /&gt;
&lt;br /&gt;
= The tasks (to-do) =&lt;br /&gt;
A task has the following properties:&lt;br /&gt;
* A label (In the ical norm: summary)&lt;br /&gt;
* A description (In the ical norm: description)&lt;br /&gt;
* A start date (In the ical norm: dtstart)&lt;br /&gt;
* An end date (In the ical norm: due) or a duration (In the ical norm: duration) but one or other not both.&lt;br /&gt;
* A percentage of accomplishment (In the ical norm: percent-complete).&lt;br /&gt;
* A priority (In the ical norm: priority).&lt;br /&gt;
* A status (running, confirmed or canceled)&lt;br /&gt;
* Other informations less important.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
This is same thing that you can found into Outlook Tasks feature (tab Tasks), Evolution or Thunderbird/Lightning.&lt;br /&gt;
We use then in most cases to manage projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept is managed by [[Module Projects]].&lt;br /&gt;
&lt;br /&gt;
= The journals (journal) =&lt;br /&gt;
A journal entry is an information. It has following properties:&lt;br /&gt;
* A label&lt;br /&gt;
* A description&lt;br /&gt;
* An information date&lt;br /&gt;
* A location&lt;br /&gt;
* A status (draft, confirmed, deleted).&lt;br /&gt;
* Other information less important.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
Manage a personal diary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept does not exists in any standard module provided with Dolibarr.&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Events-Todo-Journal&amp;diff=36536</id>
		<title>Events-Todo-Journal</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Events-Todo-Journal&amp;diff=36536"/>
		<updated>2016-12-06T17:58:21Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: /* Introduction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{TemplateDocUser}}&lt;br /&gt;
[[Category:AgendaEn]]&lt;br /&gt;
= Introduction =&lt;br /&gt;
Software used to manage tasks/plannings/agenda (like Outlook, Lightning, Webcalendar, etc) can manage 3 different notions (normalized in norm RFC2445) that are:&lt;br /&gt;
* Event (&#039;&#039;&#039;event&#039;&#039;&#039; in the norm)&lt;br /&gt;
* Task (&#039;&#039;&#039;to-do&#039;&#039;&#039; in the norm)&lt;br /&gt;
* Journal (&#039;&#039;&#039;journal&#039;&#039;&#039; in the norm)&lt;br /&gt;
This 3 definitions are nearly similar but they are different terms and are used for different goals. This page describe the differences between each of them.&lt;br /&gt;
&lt;br /&gt;
See norm at www.ietf.org/rfc/rfc2445.txt&lt;br /&gt;
&lt;br /&gt;
= Event and rendez-vous (event) =&lt;br /&gt;
An event (event in the norm), is something to define an action (a instant action or an action with a long duration that is in past or future).&lt;br /&gt;
&lt;br /&gt;
Events has the folowwing properties:&lt;br /&gt;
* A label (In the norm ical: summary) &lt;br /&gt;
* A description (In the ical norm: description) &lt;br /&gt;
* A start date (In the ical norm: dtstart) &lt;br /&gt;
* An end date (In the ical norm: dtend) or a duration (In the ical norm: duration) but it&#039;s one or other not both.&lt;br /&gt;
* A location, like a meeting-room for example (In the ical norm: location)&lt;br /&gt;
* A priority (In the ical norm: priority)&lt;br /&gt;
* Transparency (In the ical norm: transp) that says if actors of event are available for this task.&lt;br /&gt;
* A status (try, confirmed or canceled), rarely used.&lt;br /&gt;
* Other less important informations.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
This is same thing that what you can find into an Outlook calendar (tab Calendar), Evolution, Thunderbird/Lightning or into Google calendar.&lt;br /&gt;
We use the &amp;quot;events&amp;quot; to save rendez-vous for exemple, but you can also use them to save a work to do into a date range if you want.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept is managed by [[Module Agenda En|Module Agenda]].&lt;br /&gt;
Dolibarr has added a percentage. There is also an option to add a type into Dolibarr.&lt;br /&gt;
&lt;br /&gt;
= The tasks (to-do) =&lt;br /&gt;
A task has the following properties:&lt;br /&gt;
* A label (In the ical norm: summary)&lt;br /&gt;
* A description (In the ical norm: description)&lt;br /&gt;
* A start date (In the ical norm: dtstart)&lt;br /&gt;
* An end date (In the ical norm: due) or a duration (In the ical norm: duration) but one or other not both.&lt;br /&gt;
* A percentage of accomplishment (In the ical norm: percent-complete).&lt;br /&gt;
* A priority (In the ical norm: priority).&lt;br /&gt;
* A status (running, confirmed or canceled)&lt;br /&gt;
* Other informations less important.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
This is same thing that you can found into Outlook Tasks feature (tab Tasks), Evolution or Thunderbird/Lightning.&lt;br /&gt;
We use then in most cases to manage projects.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept is managed by [[Module Projects]].&lt;br /&gt;
&lt;br /&gt;
= The journals (journal) =&lt;br /&gt;
A journal entry is an information. It has following properties:&lt;br /&gt;
* A label&lt;br /&gt;
* A description&lt;br /&gt;
* An information date&lt;br /&gt;
* A location&lt;br /&gt;
* A status (draft, confirmed, deleted).&lt;br /&gt;
* Other information less important.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example of use case&#039;&#039;&#039;:&lt;br /&gt;
Manage a personal diary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Into Dolibarr&#039;&#039;&#039;:&lt;br /&gt;
This concept does not exists in any standard module provided with Dolibarr.&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
	<entry>
		<id>https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36535</id>
		<title>Module Projects</title>
		<link rel="alternate" type="text/html" href="https://wiki.dolibarr.org/index.php?title=Module_Projects&amp;diff=36535"/>
		<updated>2016-12-06T17:45:23Z</updated>

		<summary type="html">&lt;p&gt;Bgenere: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Project]]&lt;br /&gt;
{{TemplateDocUser}}&lt;br /&gt;
{{TemplateModEN}}&lt;br /&gt;
{{BasculeDevUserEn|&lt;br /&gt;
name=Project|&lt;br /&gt;
num=400|&lt;br /&gt;
devdoc=[[Module Projects (developer)]]|&lt;br /&gt;
userdoc=This page|}}&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
The Project module allows you to manage tasks and time consuming on tasks. You can also link Dolibarr entities to a project (like [[Module Commercial Proposals|commercial proposals]], [[Module Customers Orders|customers orders]] or [[Module Customers Invoices|customers invoices]]).&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
{{NoInstallModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Configuration =&lt;br /&gt;
{{ActivationModuleEn}}&lt;br /&gt;
&lt;br /&gt;
= Definitions =&lt;br /&gt;
Before starting to use the Project module, it is important to understand the difference and meanings of following terms&lt;br /&gt;
Events / Tasks / Journals.&lt;br /&gt;
This terms are often misunderstood and they are used differently. So you should first know the real definitions of this terms as they are used by most ERP/CRM softwares. For this, you can read definitions on page [[Events-Todo-Journal]]&lt;br /&gt;
&lt;br /&gt;
The project module is designed to manage Tasks.&lt;br /&gt;
&lt;br /&gt;
= Workflow =&lt;br /&gt;
&lt;br /&gt;
== Permissions ==&lt;br /&gt;
See file [[File:Project.odg]] that describe different conditions to realize different actions of module.&lt;br /&gt;
&lt;br /&gt;
[[File:Project_right_access.png|200px]]&lt;br /&gt;
&lt;br /&gt;
== Create a project ==&lt;br /&gt;
Creation of a new project is done from menu &amp;quot;New project&amp;quot; on main menu &amp;quot;Project&amp;quot;&lt;br /&gt;
&lt;br /&gt;
A project can be public or private. &lt;br /&gt;
Public projects (and all tasks) can be read/edited by anybody with read project permissions.&lt;br /&gt;
Private project (and all tasks) can be read/edited only by users defined as contact/actors of project + the creator of project (if all contacts are removed, we must keep at least one user authorized on project. This is the creator).&lt;br /&gt;
&lt;br /&gt;
== Create a task ==&lt;br /&gt;
Creation of a task is done from button &amp;quot;Create Task&amp;quot; on the tab &amp;quot;Task&amp;quot; of a project or from menu &amp;quot;Projects -&amp;gt; New task&amp;quot;.&lt;br /&gt;
* A task can be created on all shared projects or on a project you are a contact for.&lt;br /&gt;
* A task is on the root of a project or under another task of the project.&lt;br /&gt;
&lt;br /&gt;
== Remove a project ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Remove a task ==&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
&lt;br /&gt;
== Activity ==&lt;br /&gt;
Activities are time spent to work on tasks.&lt;br /&gt;
&lt;br /&gt;
= Examples of use cases =&lt;br /&gt;
{{ToComplete}}&lt;br /&gt;
{{ExamplesCaseEn&lt;br /&gt;
|name=UCMP01: &lt;br /&gt;
|situation=&lt;br /&gt;
|actions=&lt;br /&gt;
}}&amp;amp;nbsp;&lt;/div&gt;</summary>
		<author><name>Bgenere</name></author>
	</entry>
</feed>