diff options
| author | Ujjvala Collins (OpenERP) <uco@tinyerp.com> | 2011-01-18 11:59:51 +0530 |
|---|---|---|
| committer | Ujjvala Collins (OpenERP) <uco@tinyerp.com> | 2011-01-18 11:59:51 +0530 |
| commit | 0908c43b29fd426e0eaa2e99cdbd816683b4b841 (patch) | |
| tree | fddc636069c20e305ff6ab31a14e1c6c61d4f409 /addons/project_long_term | |
| parent | ae410f8dd32a6b4447e99d1d4d4e83ac4b57119e (diff) | |
| parent | bb42baf3b2f3dc9da0934aea23200a9eaf53b373 (diff) | |
[MERGE]
bzr revid: uco@tinyerp.com-20110118062951-ymlxn389f7gjyziu
Diffstat (limited to 'addons/project_long_term')
| -rw-r--r-- | addons/project_long_term/__openerp__.py | 2 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/de.po | 104 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/es.po | 98 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/fi.po | 590 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/fr.po | 107 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/hu.po | 89 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/it.po | 91 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/lv.po | 82 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/pl.po | 90 | ||||
| -rw-r--r-- | addons/project_long_term/i18n/pt.po | 76 | ||||
| -rw-r--r-- | addons/project_long_term/project_long_term.py | 22 | ||||
| -rw-r--r-- | addons/project_long_term/test/schedule_phase_tasks.yml | 2 | ||||
| -rw-r--r-- | addons/project_long_term/test/schedule_project_phases.yml | 124 | ||||
| -rw-r--r-- | addons/project_long_term/test/schedule_project_tasks.yml | 2 |
14 files changed, 973 insertions, 506 deletions
diff --git a/addons/project_long_term/__openerp__.py b/addons/project_long_term/__openerp__.py index eaaf365599c..3a8b1a3fb9b 100644 --- a/addons/project_long_term/__openerp__.py +++ b/addons/project_long_term/__openerp__.py @@ -60,7 +60,7 @@ Features. ], 'installable': True, 'active': False, - 'certificate': None, + 'certificate': '001227470751077315069', } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project_long_term/i18n/de.po b/addons/project_long_term/i18n/de.po index 2863f5d6d00..50811dd7ddd 100644 --- a/addons/project_long_term/i18n/de.po +++ b/addons/project_long_term/i18n/de.po @@ -6,16 +6,16 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2011-01-10 16:42+0000\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-12 18:37+0000\n" "Last-Translator: Thorsten Vocks (OpenBig.org) <thorsten.vocks@big-" "consulting.net>\n" "Language-Team: German <de@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -130,7 +130,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "Fehler ! Sie können keine Eskalation in dasselbe Projekt vornehmen!" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Tag" @@ -157,16 +157,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "ME (Mengeneinheit) entspr. Einheit für die Dauer" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" -"Ressourcen sollten auf Ihre Projektphasen verteilt werden, " -"Projektmitarbeiter sollten auf Ihre Projekte verteilt werden." - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -198,12 +188,6 @@ msgid "Cancelled" msgstr "Abgebrochen" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "Keine Aufgaben zur Berechnung für Projekt '%s'." - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Ende Datum" @@ -231,7 +215,7 @@ msgid "Compute Phase Scheduling" msgstr "Berechne Terminierung der Phasen" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (Kopie)" @@ -355,6 +339,15 @@ msgid "Schedule and Display info" msgstr "Info Planungsassistent und Anzeige" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" +"Wird berechnet durch einen Planungsassistenten in Abhängigkeit vom " +"Projektdatum oder dem Ende Datum der vorherigen Projektphase." + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Monat" @@ -427,15 +420,6 @@ msgid "User" msgstr "Benutzer" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" -"Wird berechnet durch einen Planungsassistenten in Abhängigkeit vom " -"Projektdatum oder dem Ende Datum der vorherigen Projektphase." - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Aufgaben Detail" @@ -451,24 +435,6 @@ msgid "Project Compute Tasks" msgstr "Berechnung Aufgaben f. Projekt" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "Keinen Verantwortlichen zugewiesen!" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Fehler" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "Sie müssen einen Verantwortlichen für die Phase zuweisen '%s' !" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Bedingungen" @@ -612,12 +578,6 @@ msgid "Scheduling" msgstr "Terminierung" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "Keine Aufgaben zur Berechnung für Phase: '%s'." - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -689,6 +649,9 @@ msgstr "Dauer" #~ "Usability of this resource for this project phase in percentage (=50%)" #~ msgstr "Verfügbarkeit der Ressource für diese Projektphase in Prozent (=50%)" +#~ msgid "Ending Date of the phase" +#~ msgstr "Ende Datum d. Phase" + #~ msgid "This wizard will schedule phases for all or specified project" #~ msgstr "Der Assistent kalkuliert die Phasen für alle oder ein spez. Projekt" @@ -714,6 +677,18 @@ msgstr "Dauer" #~ msgid "Compute" #~ msgstr "Berechne" +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "Keinen Verantwortlichen zugewiesen!" + +#, python-format +#~ msgid "Error" +#~ msgstr "Fehler" + +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "Sie müssen einen Verantwortlichen für die Phase zuweisen '%s' !" + #~ msgid "" #~ "The Object name must start with x_ and not contain any special character !" #~ msgstr "" @@ -727,9 +702,16 @@ msgstr "Dauer" #~ msgid "Other Info" #~ msgstr "Weitere Info" +#~ msgid "Starting Date of the phase" +#~ msgstr "Beginn der Phase" + #~ msgid "The certificate ID of the module must be unique !" #~ msgstr "Die Zertifikat ID des Moduls sollte eindeutig sein !" +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "Keine Aufgaben zur Berechnung für Projekt '%s'." + #~ msgid "" #~ "A project can be split into the different phases. For each phase, you can " #~ "define your resources allocation, describe different tasks and link your " @@ -751,6 +733,10 @@ msgstr "Dauer" #~ msgstr "Die Modulbezeichnung sollte eindeutig sein !" #, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "Keine Aufgaben zur Berechnung für Phase: '%s'." + +#, python-format #~ msgid "Should have Resources Allocation or Project Members!" #~ msgstr "" #~ "Es sollte eine Ressourcenaufteilung oder Projektmitarbeiter existieren!" @@ -767,3 +753,11 @@ msgstr "Dauer" #~ "phase is set by you while the other start dates depend on the end date of " #~ "their previous phases" #~ msgstr "Beginn der Phase" + +#, python-format +#~ msgid "" +#~ "Resources should be allocated to your phases and Members should be assigned " +#~ "to your Project!" +#~ msgstr "" +#~ "Ressourcen sollten auf Ihre Projektphasen verteilt werden, " +#~ "Projektmitarbeiter sollten auf Ihre Projekte verteilt werden." diff --git a/addons/project_long_term/i18n/es.po b/addons/project_long_term/i18n/es.po index d8b4bac7c33..3fc6e3c7c06 100644 --- a/addons/project_long_term/i18n/es.po +++ b/addons/project_long_term/i18n/es.po @@ -7,15 +7,15 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2011-01-11 22:11+0000\n" -"Last-Translator: Carlos @ smile.fr <Unknown>\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-12 15:13+0000\n" +"Last-Translator: Carlos-smile <Unknown>\n" "Language-Team: Spanish <es@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-12 04:58+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -110,7 +110,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "¡Error! No puede asignar un escalado al mismo proyecto." #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Día" @@ -137,15 +137,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "UdM (Unidad de Medida) es la unidad de medida para la duración" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" -"Los recursos deben de ser asignados a tus fases y los miembros a tu proyecto." - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -177,12 +168,6 @@ msgid "Cancelled" msgstr "Cancelado" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "No existen tareas para calcular en este proyecto '%s'" - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Fecha de fin" @@ -210,7 +195,7 @@ msgid "Compute Phase Scheduling" msgstr "Calcular planificación de fases" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (copia)" @@ -333,6 +318,15 @@ msgid "Schedule and Display info" msgstr "Planificar y mostrar información" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" +"Es calculado por el planificador en función de la fecha inicio o fecha fin " +"de la fase anterior" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Mes" @@ -397,15 +391,6 @@ msgid "User" msgstr "Usuario" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" -"Es calculado por el planificador en función de la fecha inicio o fecha fin " -"de la fase anterior" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Detalles tarea" @@ -421,24 +406,6 @@ msgid "Project Compute Tasks" msgstr "Calcular tareas proyecto" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "¡No hay un reponsable asignado!" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Error" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "¡Debe asignar un reponsable por fase '%s'!" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Restricciones" @@ -576,12 +543,6 @@ msgid "Scheduling" msgstr "Planificación" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "No existen tareas para el cálculo para la fase '%s'." - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -637,8 +598,35 @@ msgstr "Por defecto en días" msgid "Duration" msgstr "Duración" +#, python-format +#~ msgid "Error" +#~ msgstr "Error" + #~ msgid "Other Info" #~ msgstr "Otra información" #~ msgid "Ending Date of the phase" #~ msgstr "Fecha de fin de la fase" + +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "No existen tareas para calcular en este proyecto '%s'" + +#, python-format +#~ msgid "" +#~ "Resources should be allocated to your phases and Members should be assigned " +#~ "to your Project!" +#~ msgstr "" +#~ "Los recursos deben de ser asignados a tus fases y los miembros a tu proyecto." + +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "¡Debe asignar un reponsable por fase '%s'!" + +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "¡No hay un reponsable asignado!" + +#, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "No existen tareas para el cálculo para la fase '%s'." diff --git a/addons/project_long_term/i18n/fi.po b/addons/project_long_term/i18n/fi.po new file mode 100644 index 00000000000..d3a979bf965 --- /dev/null +++ b/addons/project_long_term/i18n/fi.po @@ -0,0 +1,590 @@ +# Finnish translation for openobject-addons +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the openobject-addons package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: openobject-addons\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-12 15:37+0000\n" +"Last-Translator: Pekka Pylvänäinen <Unknown>\n" +"Language-Team: Finnish <fi@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" + +#. module: project_long_term +#: model:ir.module.module,shortdesc:project_long_term.module_meta_information +msgid "Long Term Project Management" +msgstr "" + +#. module: project_long_term +#: view:project.compute.phases:0 +msgid "Compute Scheduling of Phases" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: field:project.phase,next_phase_ids:0 +msgid "Next Phases" +msgstr "Seuraavat vaiheet" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Project's Tasks" +msgstr "Projektin tehtävät" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.act_project_phases +msgid "Phases" +msgstr "Vaiheet" + +#. module: project_long_term +#: view:project.phase:0 +#: view:project.resource.allocation:0 +msgid "Group By..." +msgstr "" + +#. module: project_long_term +#: constraint:project.project:0 +msgid "Error! project start-date must be lower then project end-date." +msgstr "Virhe: projektin alkupäivä tulee olla aikaisempi kuin loppupäivä." + +#. module: project_long_term +#: view:project.resource.allocation:0 +msgid "Resources Allocation" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Displaying settings" +msgstr "" + +#. module: project_long_term +#: field:project.compute.phases,target_project:0 +msgid "Schedule" +msgstr "" + +#. module: project_long_term +#: model:ir.module.module,description:project_long_term.module_meta_information +msgid "" +"\n" +"\n" +" Long Term Project management module that tracks planning, " +"scheduling, resources allocation.\n" +" Mainly used with Big project management.\n" +" - Project Phases will be maintained by Manager of the project\n" +" - Compute Phase Scheduling: Compute start date and end date of " +"the phases which are in draft,open and pending state of the project given.\n" +" If no project given then all the " +"draft,open and pending state phases will be taken\n" +" - Compute Task Scheduling: This works same as the scheduler " +"button on project.phase. It takes the project as argument and computes all " +"the open,draft and pending tasks\n" +" - Schedule Tasks: All the tasks which are in draft,pending and " +"open state are scheduled with taking the phase's start date\n" +"\n" +" " +msgstr "" + +#. module: project_long_term +#: constraint:project.task:0 +msgid "Error ! You cannot create recursive tasks." +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.act_resouce_allocation +#: model:ir.ui.menu,name:project_long_term.menu_resouce_allocation +msgid "Resource Allocations" +msgstr "" + +#. module: project_long_term +#: constraint:project.project:0 +msgid "Error! You cannot assign escalation to the same project!" +msgstr "" + +#. module: project_long_term +#: code:addons/project_long_term/project_long_term.py:133 +#, python-format +msgid "Day" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_task +msgid "Task" +msgstr "" + +#. module: project_long_term +#: selection:project.compute.phases,target_project:0 +msgid "Compute a Single Project" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: field:project.phase,previous_phase_ids:0 +msgid "Previous Phases" +msgstr "" + +#. module: project_long_term +#: help:project.phase,product_uom:0 +msgid "UoM (Unit of Measure) is the unit of measurement for Duration" +msgstr "" + +#. module: project_long_term +#: help:project.phase,date_end:0 +msgid "" +" It's computed by the scheduler according to the start date and the duration." +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_project +#: field:project.compute.phases,project_id:0 +#: field:project.compute.tasks,project_id:0 +#: view:project.phase:0 +#: field:project.phase,project_id:0 +#: view:project.resource.allocation:0 +#: field:project.resource.allocation,project_id:0 +#: view:project.task:0 +msgid "Project" +msgstr "" + +#. module: project_long_term +#: code:addons/project_long_term/wizard/project_compute_phases.py:50 +#, python-format +msgid "Error!" +msgstr "" + +#. module: project_long_term +#: selection:project.phase,state:0 +msgid "Cancelled" +msgstr "" + +#. module: project_long_term +#: help:project.resource.allocation,date_end:0 +msgid "Ending Date" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Planning" +msgstr "" + +#. module: project_long_term +#: field:project.phase,constraint_date_end:0 +msgid "Deadline" +msgstr "" + +#. module: project_long_term +#: view:project.compute.phases:0 +#: view:project.compute.tasks:0 +msgid "_Cancel" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.action_project_compute_phases +#: model:ir.ui.menu,name:project_long_term.menu_compute_phase +msgid "Compute Phase Scheduling" +msgstr "" + +#. module: project_long_term +#: code:addons/project_long_term/project_long_term.py:195 +#, python-format +msgid " (copy)" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: view:project.resource.allocation:0 +#: field:project.resource.allocation,useability:0 +msgid "Availability" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: field:project.phase,state:0 +msgid "State" +msgstr "" + +#. module: project_long_term +#: view:project.compute.phases:0 +#: view:project.compute.tasks:0 +msgid "C_ompute" +msgstr "" + +#. module: project_long_term +#: view:project.compute.phases:0 +msgid "Compute Scheduling of phases for all or specified project" +msgstr "" + +#. module: project_long_term +#: field:project.phase,product_uom:0 +msgid "Duration UoM" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.action_project_compute_tasks +#: model:ir.ui.menu,name:project_long_term.menu_compute_tasks +msgid "Compute Task Scheduling" +msgstr "" + +#. module: project_long_term +#: field:project.phase,constraint_date_start:0 +msgid "Minimum Start Date" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_resource_allocation +#: view:project.phase:0 +#: view:project.resource.allocation:0 +msgid "Project Resource Allocation" +msgstr "" + +#. module: project_long_term +#: view:project.compute.tasks:0 +msgid "Compute Scheduling of Task" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.act_project_resource +#: model:ir.ui.menu,name:project_long_term.menu_pm_resources_project1 +#: model:ir.ui.menu,name:project_long_term.menu_view_resource +#: view:project.resource.allocation:0 +msgid "Resources" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,help:project_long_term.action_project_compute_phases +msgid "" +"To schedule phases of all or a specified project. It then open a gantt " +"view.\n" +"\t " +msgstr "" + +#. module: project_long_term +#: help:project.resource.allocation,date_start:0 +msgid "Starting Date" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.project_phase_task_list +msgid "Related Tasks" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Dates" +msgstr "" + +#. module: project_long_term +#: help:project.resource.allocation,useability:0 +msgid "" +"Availability of this resource for this project phase in percentage (=50%)" +msgstr "" + +#. module: project_long_term +#: help:project.phase,constraint_date_start:0 +msgid "force the phase to start after this date" +msgstr "" + +#. module: project_long_term +#: field:project.phase,task_ids:0 +msgid "Project Tasks" +msgstr "" + +#. module: project_long_term +#: field:project.phase,resource_ids:0 +msgid "Project Resources" +msgstr "" + +#. module: project_long_term +#: view:project.schedule.tasks:0 +msgid "_Ok" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Schedule and Display info" +msgstr "" + +#. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Month" +msgstr "" + +#. module: project_long_term +#: constraint:project.phase:0 +msgid "Phase start-date must be lower than phase end-date." +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_schedule_tasks +msgid "project.schedule.tasks" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,help:project_long_term.act_project_phase +msgid "" +"A project can be split into the different phases. For each phase, you can " +"define your resources allocation, describe different tasks and link your " +"phase to previous and next phases, add date constraints for the automated " +"scheduling. Use the long term planning in order to planify your available " +"human resources, convert your phases into a series of tasks when you start " +"working on the project." +msgstr "" + +#. module: project_long_term +#: field:project.phase,date_start:0 +#: field:project.resource.allocation,date_start:0 +msgid "Start Date" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Resource Allocation" +msgstr "" + +#. module: project_long_term +#: help:project.phase,constraint_date_end:0 +msgid "force the phase to finish before this date" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: selection:project.phase,state:0 +msgid "Draft" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: selection:project.phase,state:0 +msgid "Pending" +msgstr "" + +#. module: project_long_term +#: field:project.resource.allocation,name:0 +msgid "unknown" +msgstr "" + +#. module: project_long_term +#: field:project.resource.allocation,user_id:0 +msgid "User" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Task Detail" +msgstr "" + +#. module: project_long_term +#: help:project.project,resource_calendar_id:0 +msgid "Timetable working hours to adjust the gantt diagram report" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_compute_tasks +msgid "Project Compute Tasks" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Constraints" +msgstr "" + +#. module: project_long_term +#: help:project.phase,sequence:0 +msgid "Gives the sequence order when displaying a list of phases." +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.act_project_phase +#: model:ir.actions.act_window,name:project_long_term.act_project_phase_list +#: model:ir.ui.menu,name:project_long_term.menu_project_phase +#: model:ir.ui.menu,name:project_long_term.menu_project_phase_list +#: view:project.phase:0 +#: field:project.project,phase_ids:0 +msgid "Project Phases" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: selection:project.phase,state:0 +msgid "Done" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Cancel" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: selection:project.phase,state:0 +msgid "In Progress" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Remaining Hours" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: field:project.phase,responsible_id:0 +msgid "Responsible" +msgstr "" + +#. module: project_long_term +#: field:project.project,resource_calendar_id:0 +msgid "Working Time" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Current" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Start Phase" +msgstr "" + +#. module: project_long_term +#: code:addons/project_long_term/wizard/project_compute_phases.py:50 +#, python-format +msgid "Please Specify Project to be schedule" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +#: field:project.phase,total_hours:0 +msgid "Total Hours" +msgstr "" + +#. module: project_long_term +#: view:project.schedule.tasks:0 +msgid "Task Scheduling completed successfully." +msgstr "" + +#. module: project_long_term +#: view:project.compute.tasks:0 +msgid "Compute Scheduling of Task for specified project." +msgstr "" + +#. module: project_long_term +#: view:project.resource.allocation:0 +msgid "Phase" +msgstr "" + +#. module: project_long_term +#: help:project.phase,state:0 +msgid "" +"If the phase is created the state 'Draft'.\n" +" If the phase is started, the state becomes 'In Progress'.\n" +" If review is needed the phase is in 'Pending' state. " +" \n" +" If the phase is over, the states is set to 'Done'." +msgstr "" + +#. module: project_long_term +#: field:project.phase,date_end:0 +#: field:project.resource.allocation,date_end:0 +msgid "End Date" +msgstr "" + +#. module: project_long_term +#: view:project.resource.allocation:0 +#: field:project.resource.allocation,resource_id:0 +msgid "Resource" +msgstr "" + +#. module: project_long_term +#: field:project.phase,name:0 +msgid "Name" +msgstr "" + +#. module: project_long_term +#: view:project.phase:0 +msgid "Tasks Details" +msgstr "" + +#. module: project_long_term +#: model:ir.ui.menu,name:project_long_term.menu_view_resource_calendar +msgid "Working Period" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_resource_resource +msgid "Resource Detail" +msgstr "" + +#. module: project_long_term +#: model:ir.ui.menu,name:project_long_term.menu_phase_schedule +msgid "Scheduling" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_phase +#: view:project.phase:0 +#: field:project.resource.allocation,phase_id:0 +#: view:project.task:0 +#: field:project.task,phase_id:0 +msgid "Project Phase" +msgstr "" + +#. module: project_long_term +#: model:ir.model,name:project_long_term.model_project_compute_phases +msgid "Project Compute Phases" +msgstr "" + +#. module: project_long_term +#: field:project.schedule.tasks,msg:0 +msgid "Message" +msgstr "" + +#. module: project_long_term +#: constraint:project.phase:0 +msgid "Loops in phases not allowed" +msgstr "" + +#. module: project_long_term +#: field:project.phase,sequence:0 +msgid "Sequence" +msgstr "" + +#. module: project_long_term +#: selection:project.compute.phases,target_project:0 +msgid "Compute All Projects" +msgstr "" + +#. module: project_long_term +#: model:ir.ui.menu,name:project_long_term.menu_view_resource_calendar_leaves +msgid "Resource Leaves" +msgstr "" + +#. module: project_long_term +#: model:ir.actions.act_window,name:project_long_term.action_project_schedule_tasks +#: view:project.phase:0 +#: view:project.schedule.tasks:0 +msgid "Schedule Tasks" +msgstr "" + +#. module: project_long_term +#: help:project.phase,duration:0 +msgid "By default in days" +msgstr "" + +#. module: project_long_term +#: field:project.phase,duration:0 +msgid "Duration" +msgstr "" diff --git a/addons/project_long_term/i18n/fr.po b/addons/project_long_term/i18n/fr.po index a2f6af52a29..4a3ed76df76 100644 --- a/addons/project_long_term/i18n/fr.po +++ b/addons/project_long_term/i18n/fr.po @@ -6,16 +6,15 @@ msgid "" msgstr "" "Project-Id-Version: OpenERP Server 6.0dev\n" "Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2011-01-11 14:57+0000\n" -"Last-Translator: Maxime Chambreuil (http://www.savoirfairelinux.com) " -"<maxime.chambreuil@savoirfairelinux.com>\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-13 05:12+0000\n" +"Last-Translator: Quentin THEURET <quentin@theuret.net>\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-12 04:58+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -132,7 +131,7 @@ msgstr "" "Erreur ! Vous ne pouvez pas attribuer une escalade sur le même projet !" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Jour" @@ -159,16 +158,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "UdM (unité de mesure) est l'unité de mesure de la durée" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" -"Des ressources devraient être allouées à vos phases et des membres devraient " -"être affectés à votre projet !" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -199,12 +188,6 @@ msgid "Cancelled" msgstr "Annulé" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "Pas de tâches à calculer pour le projet '%s'." - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Date de fin" @@ -232,7 +215,7 @@ msgid "Compute Phase Scheduling" msgstr "Calculer la planification des phases" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (copie)" @@ -358,6 +341,15 @@ msgid "Schedule and Display info" msgstr "Ordonnancer et afficher les informations" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" +"Ceci est calculé par l'ordonnanceur en fonction de la date du projet ou de " +"la date de fin de la tâche précédente." + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Mois" @@ -430,15 +422,6 @@ msgid "User" msgstr "Utilisateur" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" -"Ceci est calculé par l'ordonnanceur en fonction de la date du projet ou de " -"la date de fin de la tâche précédente." - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Détails de la tâche" @@ -456,24 +439,6 @@ msgid "Project Compute Tasks" msgstr "Calculer les tâches du projet" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "Aucun responsable n'a été assigné !" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Erreur" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "Vous devez assigner une personne responsable de la phase '%s' !" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Contraintes" @@ -615,12 +580,6 @@ msgid "Scheduling" msgstr "Ordonnancement" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "Pas de tâches à calculer pour la phase '%s'." - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -676,9 +635,35 @@ msgstr "Par défaut en jour" msgid "Duration" msgstr "Durée" +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "Pas de tâches à calculer pour le projet '%s'." + +#~ msgid "Ending Date of the phase" +#~ msgstr "Date de fin de la phase" + +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "Vous devez assigner une personne responsable de la phase '%s' !" + +#, python-format +#~ msgid "Error" +#~ msgstr "Erreur" + +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "Aucun responsable n'a été assigné !" + #~ msgid "Other Info" #~ msgstr "Autres Informations" +#~ msgid "Starting Date of the phase" +#~ msgstr "Date de début de la phase" + +#, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "Pas de tâches à calculer pour la phase '%s'." + #~ msgid "" #~ "A project can be split into the different phases. For each phase, you can " #~ "define your resources allocation, describe different tasks and link your " @@ -703,3 +688,11 @@ msgstr "Durée" #~ "phase is set by you while the other start dates depend on the end date of " #~ "their previous phases" #~ msgstr "Date de début de la phase" + +#, python-format +#~ msgid "" +#~ "Resources should be allocated to your phases and Members should be assigned " +#~ "to your Project!" +#~ msgstr "" +#~ "Des ressources devraient être allouées à vos phases et des membres devraient " +#~ "être affectés à votre projet !" diff --git a/addons/project_long_term/i18n/hu.po b/addons/project_long_term/i18n/hu.po index 1c95b32c219..f172b6c5034 100644 --- a/addons/project_long_term/i18n/hu.po +++ b/addons/project_long_term/i18n/hu.po @@ -1,21 +1,20 @@ -# Hungarian translation for openobject-addons -# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 -# This file is distributed under the same license as the openobject-addons package. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * project_long_term # msgid "" msgstr "" -"Project-Id-Version: openobject-addons\n" -"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2011-01-10 11:05+0000\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: Hungarian <hu@li.org>\n" +"Project-Id-Version: OpenERP Server 6.0dev\n" +"Report-Msgid-Bugs-To: support@openerp.com\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-14 00:06+0000\n" +"Last-Translator: NOVOTRADE RENDSZERHÁZ <openerp@novotrade.hu>\n" +"Language-Team: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" +"Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -53,6 +52,8 @@ msgstr "" #: constraint:project.project:0 msgid "Error! project start-date must be lower then project end-date." msgstr "" +"Hiba! A projekt kezdő dátumának előbbinek kell lennie, mint a projekt " +"befejező dátumának." #. module: project_long_term #: view:project.resource.allocation:0 @@ -94,7 +95,7 @@ msgstr "" #. module: project_long_term #: constraint:project.task:0 msgid "Error ! You cannot create recursive tasks." -msgstr "" +msgstr "Hiba! Nem hozhat létre rekurzív feladatokat." #. module: project_long_term #: model:ir.actions.act_window,name:project_long_term.act_resouce_allocation @@ -108,7 +109,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "" @@ -116,7 +117,7 @@ msgstr "" #. module: project_long_term #: model:ir.model,name:project_long_term.model_project_task msgid "Task" -msgstr "" +msgstr "Feladat" #. module: project_long_term #: selection:project.compute.phases,target_project:0 @@ -135,14 +136,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -158,7 +151,7 @@ msgstr "" #: field:project.resource.allocation,project_id:0 #: view:project.task:0 msgid "Project" -msgstr "" +msgstr "Projekt" #. module: project_long_term #: code:addons/project_long_term/wizard/project_compute_phases.py:50 @@ -172,12 +165,6 @@ msgid "Cancelled" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "" - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "" @@ -205,7 +192,7 @@ msgid "Compute Phase Scheduling" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr "" @@ -325,6 +312,13 @@ msgid "Schedule and Display info" msgstr "" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "" @@ -389,13 +383,6 @@ msgid "User" msgstr "" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "" @@ -411,24 +398,6 @@ msgid "Project Compute Tasks" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "" @@ -566,12 +535,6 @@ msgid "Scheduling" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "" - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 diff --git a/addons/project_long_term/i18n/it.po b/addons/project_long_term/i18n/it.po index 95ac59d3674..c5b4149667c 100644 --- a/addons/project_long_term/i18n/it.po +++ b/addons/project_long_term/i18n/it.po @@ -7,15 +7,16 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2011-01-09 18:54+0000\n" -"Last-Translator: Nicola Riolini - Micronaet <Unknown>\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-14 15:07+0000\n" +"Last-Translator: Lorenzo Battistini - agilebg.com " +"<lorenzo.battistini@agilebg.com>\n" "Language-Team: Italian <it@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -109,7 +110,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Giorno" @@ -136,14 +137,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "U.M. (unità di misura) è l'unità per la misurazione della durata" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -173,12 +166,6 @@ msgid "Cancelled" msgstr "Annullato" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "Nessuna attività da calcolare per il progetto: \"%s\"." - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Data fine" @@ -206,7 +193,7 @@ msgid "Compute Phase Scheduling" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (copia)" @@ -328,6 +315,13 @@ msgid "Schedule and Display info" msgstr "" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Mese" @@ -392,13 +386,6 @@ msgid "User" msgstr "Utente" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Dettaglio dell'attività" @@ -414,25 +401,6 @@ msgid "Project Compute Tasks" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "Nessuna persona responsabile assegnata!" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Errore" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "" -"E' necessario assegnare una persona responsabile per la fase: \"%s\"!" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Vincoli" @@ -570,12 +538,6 @@ msgid "Scheduling" msgstr "Pianificazione" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "Nessuna attività da calcolare per la fase: \"%s\"." - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -619,7 +581,7 @@ msgstr "" #: view:project.phase:0 #: view:project.schedule.tasks:0 msgid "Schedule Tasks" -msgstr "Attività programmate" +msgstr "Pianifica attività" #. module: project_long_term #: help:project.phase,duration:0 @@ -630,3 +592,24 @@ msgstr "Per default in giorni" #: field:project.phase,duration:0 msgid "Duration" msgstr "Durata" + +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "Nessuna attività da calcolare per il progetto: \"%s\"." + +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "" +#~ "E' necessario assegnare una persona responsabile per la fase: \"%s\"!" + +#, python-format +#~ msgid "Error" +#~ msgstr "Errore" + +#, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "Nessuna attività da calcolare per la fase: \"%s\"." + +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "Nessuna persona responsabile assegnata!" diff --git a/addons/project_long_term/i18n/lv.po b/addons/project_long_term/i18n/lv.po index a1610ef975f..cf0bf49126c 100644 --- a/addons/project_long_term/i18n/lv.po +++ b/addons/project_long_term/i18n/lv.po @@ -7,15 +7,15 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" "PO-Revision-Date: 2010-12-31 10:24+0000\n" "Last-Translator: OpenERP Administrators <Unknown>\n" "Language-Team: Latvian <lv@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -108,7 +108,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "Kļūda! Nedrīkst piešķirt eskalāciju uz to pašu projektu!" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Diena" @@ -135,14 +135,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "Mērv. (mērvienība) ir ilguma mērvienība" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -172,12 +164,6 @@ msgid "Cancelled" msgstr "Atcelts" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "Projektam '%s' nav uzdevumu ko aprēķināt." - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Beigu Datums" @@ -205,7 +191,7 @@ msgid "Compute Phase Scheduling" msgstr "Aprēķināt fāzes grafiku" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (kopija)" @@ -325,6 +311,13 @@ msgid "Schedule and Display info" msgstr "" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Mēnesis" @@ -389,13 +382,6 @@ msgid "User" msgstr "Lietotājs" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Uzdevuma informācija" @@ -411,24 +397,6 @@ msgid "Project Compute Tasks" msgstr "Projekts - aprēķināt uzdevumus" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "Nav nozīmēta atbildīgā persona!" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Kļūda" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "Fāzei '%s' jānozīmē atbildīgo personu!" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Ierobežojumi" @@ -566,12 +534,6 @@ msgid "Scheduling" msgstr "Plānošana" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "Fāzei '%s' nav uzdevumu ko aprēķināt" - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -630,6 +592,18 @@ msgstr "Ilgums" #~ msgid "Ending Date of the phase" #~ msgstr "Fāzes beigu datums" +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "Projektam '%s' nav uzdevumu ko aprēķināt." + +#, python-format +#~ msgid "Error" +#~ msgstr "Kļūda" + +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "Nav nozīmēta atbildīgā persona!" + #~ msgid "Other Info" #~ msgstr "Cita informācija" @@ -637,5 +611,13 @@ msgstr "Ilgums" #~ msgstr "Fāzes sākuma datums" #, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "Fāzei '%s' nav uzdevumu ko aprēķināt" + +#, python-format #~ msgid "Should have Resources Allocation or Project Members!" #~ msgstr "Nepieciešama resursu iedalīšana vai projekta dalībnieki!" + +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "Fāzei '%s' jānozīmē atbildīgo personu!" diff --git a/addons/project_long_term/i18n/pl.po b/addons/project_long_term/i18n/pl.po index 54668cb3efa..f238d1b287a 100644 --- a/addons/project_long_term/i18n/pl.po +++ b/addons/project_long_term/i18n/pl.po @@ -7,15 +7,15 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" "PO-Revision-Date: 2010-12-31 11:08+0000\n" -"Last-Translator: Sbh (OpenERP) <sbh@tinyerp.com>\n" +"Last-Translator: Bhumika Shrimali (OpenERP) <sbh@tinyerp.com>\n" "Language-Team: Polish <pl@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -108,7 +108,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Dzień" @@ -135,14 +135,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "JM (Jednostka Miary) jest jednostką miary dla czasu trwania" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -172,12 +164,6 @@ msgid "Cancelled" msgstr "Anulowano" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "Brak zadań do obliczeń w Projekcie '%s'" - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Data końcowa" @@ -205,7 +191,7 @@ msgid "Compute Phase Scheduling" msgstr "Oblicz planowanie fazy" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (kopia)" @@ -325,6 +311,13 @@ msgid "Schedule and Display info" msgstr "" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Miesiąc" @@ -389,13 +382,6 @@ msgid "User" msgstr "Użytkownik" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Szczegóły zadania" @@ -412,24 +398,6 @@ msgid "Project Compute Tasks" msgstr "Obliczanie zadań projektu" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "Nie przypisano osoby odpowiedzialnej" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Błąd" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "Musisz podać osobę odpowiedzialną za fazę '%s' !" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "Ograniczenia" @@ -572,12 +540,6 @@ msgid "Scheduling" msgstr "Harmonogram" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "Brak zadań do obliczania dla Fazy '%s'." - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -645,6 +607,10 @@ msgstr "Czas trwania" #~ msgid "Error! You can not create recursive analytic accounts." #~ msgstr "Błąd! Nie możesz tworzyć rekurencyjnych kont analitycznych" +#, python-format +#~ msgid "Error" +#~ msgstr "Błąd" + #~ msgid "Error ! You can not create recursive Menu." #~ msgstr "Błąd ! Nie możesz tworzyć rekurencyjnych menu." @@ -660,10 +626,32 @@ msgstr "Czas trwania" #~ msgid "Other Info" #~ msgstr "Inne informacje" +#~ msgid "Starting Date of the phase" +#~ msgstr "Data rozpoczęcia fazy" + +#, python-format +#~ msgid "No tasks to compute for Project '%s'." +#~ msgstr "Brak zadań do obliczeń w Projekcie '%s'" + +#~ msgid "Ending Date of the phase" +#~ msgstr "Końcowa data fazy" + +#, python-format +#~ msgid "No responsible person assigned !" +#~ msgstr "Nie przypisano osoby odpowiedzialnej" + #, python-format #~ msgid "Should have Resources Allocation or Project Members!" #~ msgstr "Musi być Alokacja zasobów lub Członkowie projektu!" +#, python-format +#~ msgid "You must assign a responsible person for phase '%s' !" +#~ msgstr "Musisz podać osobę odpowiedzialną za fazę '%s' !" + +#, python-format +#~ msgid "No tasks to compute for Phase '%s'." +#~ msgstr "Brak zadań do obliczania dla Fazy '%s'." + #~ msgid "" #~ "It's computed by the scheduler according to the start date and the duration." #~ msgstr "Końcowa data fazy" diff --git a/addons/project_long_term/i18n/pt.po b/addons/project_long_term/i18n/pt.po index def25a6b05c..6f6759287b8 100644 --- a/addons/project_long_term/i18n/pt.po +++ b/addons/project_long_term/i18n/pt.po @@ -7,15 +7,15 @@ msgid "" msgstr "" "Project-Id-Version: openobject-addons\n" "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" -"POT-Creation-Date: 2011-01-03 16:58+0000\n" -"PO-Revision-Date: 2010-12-31 11:07+0000\n" -"Last-Translator: Sbh (OpenERP) <sbh@tinyerp.com>\n" +"POT-Creation-Date: 2011-01-11 11:15+0000\n" +"PO-Revision-Date: 2011-01-13 23:26+0000\n" +"Last-Translator: Bhumika Shrimali (OpenERP) <sbh@tinyerp.com>\n" "Language-Team: Portuguese <pt@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2011-01-11 05:02+0000\n" -"X-Generator: Launchpad (build Unknown)\n" +"X-Launchpad-Export-Date: 2011-01-15 05:56+0000\n" +"X-Generator: Launchpad (build 12177)\n" #. module: project_long_term #: model:ir.module.module,shortdesc:project_long_term.module_meta_information @@ -108,7 +108,7 @@ msgid "Error! You cannot assign escalation to the same project!" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:130 +#: code:addons/project_long_term/project_long_term.py:133 #, python-format msgid "Day" msgstr "Dia" @@ -135,14 +135,6 @@ msgid "UoM (Unit of Measure) is the unit of measurement for Duration" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "" -"Resources should be allocated to your phases and Members should be assigned " -"to your Project!" -msgstr "" - -#. module: project_long_term #: help:project.phase,date_end:0 msgid "" " It's computed by the scheduler according to the start date and the duration." @@ -172,12 +164,6 @@ msgid "Cancelled" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:426 -#, python-format -msgid "No tasks to compute for Project '%s'." -msgstr "" - -#. module: project_long_term #: help:project.resource.allocation,date_end:0 msgid "Ending Date" msgstr "Data de fim" @@ -205,7 +191,7 @@ msgid "Compute Phase Scheduling" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:192 +#: code:addons/project_long_term/project_long_term.py:195 #, python-format msgid " (copy)" msgstr " (cópia)" @@ -325,6 +311,13 @@ msgid "Schedule and Display info" msgstr "" #. module: project_long_term +#: help:project.phase,date_start:0 +msgid "" +"It's computed by the scheduler according the project date or the end date of " +"the previous phase." +msgstr "Data de início da fase" + +#. module: project_long_term #: view:project.phase:0 msgid "Month" msgstr "Mês" @@ -389,13 +382,6 @@ msgid "User" msgstr "Utilizador" #. module: project_long_term -#: help:project.phase,date_start:0 -msgid "" -"It's computed by the scheduler according the project date or the end date of " -"the previous phase." -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Task Detail" msgstr "Detalhe da tarefa" @@ -411,24 +397,6 @@ msgid "Project Compute Tasks" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "No responsible person assigned !" -msgstr "" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:489 -#, python-format -msgid "Error" -msgstr "Erro" - -#. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:244 -#, python-format -msgid "You must assign a responsible person for phase '%s' !" -msgstr "" - -#. module: project_long_term #: view:project.phase:0 msgid "Constraints" msgstr "" @@ -566,12 +534,6 @@ msgid "Scheduling" msgstr "" #. module: project_long_term -#: code:addons/project_long_term/project_long_term.py:329 -#, python-format -msgid "No tasks to compute for Phase '%s'." -msgstr "" - -#. module: project_long_term #: model:ir.model,name:project_long_term.model_project_phase #: view:project.phase:0 #: field:project.resource.allocation,phase_id:0 @@ -627,9 +589,19 @@ msgstr "" msgid "Duration" msgstr "Duração" +#, python-format +#~ msgid "Error" +#~ msgstr "Erro" + #~ msgid "Other Info" #~ msgstr "Outras informações" +#~ msgid "Starting Date of the phase" +#~ msgstr "Data de início da fase" + +#~ msgid "Ending Date of the phase" +#~ msgstr "Data de fim da fase" + #~ msgid "" #~ "It's computed by the scheduler according to the start date and the duration." #~ msgstr "Data de fim da fase" diff --git a/addons/project_long_term/project_long_term.py b/addons/project_long_term/project_long_term.py index a795dd76dee..0e605ed4331 100644 --- a/addons/project_long_term/project_long_term.py +++ b/addons/project_long_term/project_long_term.py @@ -364,7 +364,12 @@ def Phase_%d(): # Allocating Memory for the required Project and Pahses and Resources exec(func_str) Phase = eval('Phase_%d' % phase.id) - phase = Task.BalancedProject(Phase) + phase = None + try: + phase = Task.BalancedProject(Phase) + except : + raise osv.except_osv(_('Error !'),_('Phase Scheduling is not possible.\nProject should have the Start date and member for scheduling.')) + for task_id in task_ids: task = eval("phase.Task_%d" % task_id) @@ -510,7 +515,8 @@ def Project_%d(): try: project = Task.BalancedProject(Project) except : - raise osv.except_osv(_('Error !'),_('Invalid resource allocation, Phase Scheduling is not possible.\nPlease check project member resource.')) + raise osv.except_osv(_('Error !'),_('Phase Scheduling is not possible.\nProject should have the Start date and member for scheduling.')) + for phase_id in phase_ids: act_phase = phase_pool.browse(cr, uid, phase_id, context=context) resources = act_phase.resource_ids @@ -573,7 +579,10 @@ def Project_%d(): #Creating resources using the member of the Project u_ids = [i.id for i in project.members] resource_objs = resource_pool.generate_resources(cr, uid, u_ids, calendar_id, context=context) - start_date = datetime.strftime((datetime.strptime(start_date, "%Y-%m-%d")), "%Y-%m-%d") + try: + start_date = datetime.strftime((datetime.strptime(start_date, "%Y-%m-%d")), "%Y-%m-%d") + except: + raise osv.except_osv(_('Error !'),_('Task Scheduling is not possible.\nProject should have the Start date for scheduling.')) func_str = '' start = start_date minimum_time_unit = 1 @@ -634,7 +643,12 @@ def Project_%d(): # Allocating Memory for the required Project and Pahses and Resources exec(func_str) Project = eval('Project_%d' % project.id) - project = Task.BalancedProject(Project) + project = None + try: + project = Task.BalancedProject(Project) + except : + raise osv.except_osv(_('Error !'),_('Phase Scheduling is not possible.\nProject should have the Start date and member for scheduling.')) + for task_id in task_ids: task = eval("project.Task_%d" % task_id) start_date = task.start.to_datetime() diff --git a/addons/project_long_term/test/schedule_phase_tasks.yml b/addons/project_long_term/test/schedule_phase_tasks.yml index bab3e27244c..be22f778cee 100644 --- a/addons/project_long_term/test/schedule_phase_tasks.yml +++ b/addons/project_long_term/test/schedule_phase_tasks.yml @@ -15,7 +15,7 @@ Create phase 'Develop GUI' in Outlook - !record {model: project.phase, id: project_phase_phase0}: - date_start: '2010-06-02' + date_start: !eval time.strftime("%Y-%m-%d") duration: 200.0 name: Develop GUI in Outlook product_uom: product.uom_day diff --git a/addons/project_long_term/test/schedule_project_phases.yml b/addons/project_long_term/test/schedule_project_phases.yml index 829258eefc8..4bc6549bf35 100644 --- a/addons/project_long_term/test/schedule_project_phases.yml +++ b/addons/project_long_term/test/schedule_project_phases.yml @@ -1,6 +1,6 @@ -- +- Create a project 'World Bank's Project' -- +- !record {model: project.project, id: project_project_worldbanksproject0}: name: "World Bank's Project" priority: 4 @@ -12,26 +12,26 @@ - project.res_users_designer - project.res_users_tester -- +- Create a project phase 'Defining Client's Basic Idea of Project' -- +- !record {model: project.phase, id: project_phase_definingclientsbasicideaofproject0}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 15.0 name: "Defining Client's Basic Idea of Project" product_uom: product.uom_day project_id: project_project_worldbanksproject0 -- +- Create project phase 'Establishing Project Feasibility' -- +- !record {model: project.phase, id: project_phase_establishingprojectfeasibility0}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 30.0 name: Establishing Project Feasibility product_uom: product.uom_day project_id: project_project_worldbanksproject0 - + - Resource1 - @@ -45,7 +45,7 @@ !record {model: project.resource.allocation, id: res_phase2}: resource_id: project_long_term.resource_analyst phase_id: project_phase_definingclientsbasicideaofproject0 - + - Resource3 - @@ -53,9 +53,9 @@ resource_id: project_long_term.resource_technical_leader phase_id: project_phase_definingclientsbasicideaofproject0 -- +- Create the phase task 'Develop GUI for Server Configuration' -- +- !record {model: project.task, id: project_task_t0}: name: Develop GUI for Server Configuration planned_hours: 20.0 @@ -63,9 +63,9 @@ phase_id: project_phase_definingclientsbasicideaofproject0 project_id: project_project_worldbanksproject0 -- +- Create the phase task 'Develop GUI for Modules Configuration' -- +- !record {model: project.task, id: project_task_t1}: name: Develop GUI for Modules Configuration planned_hours: 25.0 @@ -73,17 +73,17 @@ state: draft phase_id: project_phase_definingclientsbasicideaofproject0 project_id: project_project_worldbanksproject0 - -- + +- Create project phase 'Preparation of Engineering Designs' -- +- !record {model: project.phase, id: project_phase_preparationofengineeringdesigns0}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 100.0 name: Preparation of Engineering Designs product_uom: product.uom_hour project_id: project_project_worldbanksproject0 - + - Resource4 - @@ -98,9 +98,9 @@ resource_id: project_long_term.resource_designer phase_id: project_phase_preparationofengineeringdesigns0 -- +- Create the phase task 'Develop GUI for Client Configuration' -- +- !record {model: project.task, id: project_task_t2}: name: Develop GUI for Server Configuration planned_hours: 20.0 @@ -109,9 +109,9 @@ phase_id: project_phase_preparationofengineeringdesigns0 project_id: project_project_worldbanksproject0 -- +- Create the phase task 'Develop GUI for Client Module Configuration' -- +- !record {model: project.task, id: project_task_t3}: name: Develop GUI for Modules Configuration planned_hours: 25.0 @@ -121,89 +121,89 @@ project_id: project_project_worldbanksproject0 -- +- Create project phase 'Procurement of Works and Goods' -- +- !record {model: project.phase, id: project_phase_procurementofworksandgoods0}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 24.0 name: Procurement of Works and Goods product_uom: product.uom_hour project_id: project_project_worldbanksproject0 - -- + +- Create project phase 'Project Construction' -- +- !record {model: project.phase, id: project_phase_projectconstruction0}: - date_start: '2010-06-02' - duration: 20.0 + date_start: !eval time.strftime('%Y-%m-%d') + duration: 4320.0 name: Project Construction product_uom: product.uom_hour project_id: project_project_worldbanksproject0 - - -- + + +- Create project phase 'Project Completion' -- +- !record {model: project.phase, id: project_phase_projectcompletion0}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 240.0 name: Project Completion product_uom: product.uom_hour project_id: project_project_worldbanksproject0 -- +- Set previous phase for phase 'Establishing Project Feasibility' -- +- !record {model: project.phase, id: project_phase_establishingprojectfeasibility0}: previous_phase_ids: - project_phase_definingclientsbasicideaofproject0 - - -- + + +- Set previous phase for phase 'Preparation of Engineering Designs' -- +- !record {model: project.phase, id: project_phase_preparationofengineeringdesigns0}: previous_phase_ids: - project_phase_establishingprojectfeasibility0 - -- + +- Set previous phase for phase 'Procurement of Works and Goods' -- +- !record {model: project.phase, id: project_phase_procurementofworksandgoods0}: previous_phase_ids: - project_phase_preparationofengineeringdesigns0 - -- + +- Set previous phase for phase 'Project Construction' -- +- !record {model: project.phase, id: project_phase_projectconstruction0}: previous_phase_ids: - project_phase_procurementofworksandgoods0 - - -- + + +- Set previous phase for phase 'Project Completion' -- +- !record {model: project.phase, id: project_phase_projectcompletion0}: previous_phase_ids: - project_phase_projectconstruction0 -- +- Get the project to schedule phases -- +- !record {model: project.compute.phases, id: project_compute_phases_0}: project_id: project_project_worldbanksproject0 target_project: one - - -- + + +- Schedule project phases -- +- !python {model: project.project}: | self.schedule_phases(cr, uid, ref("project_project_worldbanksproject0")) - + - Check if phases scheduled, check that either of phase's start_date, end_date and user_id is not null - @@ -211,6 +211,6 @@ prj=self.browse(cr, uid, [ref("project_project_worldbanksproject0")])[0] for phase in prj.phase_ids: if (not phase.responsible_id) or (not phase.date_start) or (not phase.date_end): - raise AssertionError("Tasks not scheduled") - - + raise AssertionError("Tasks not scheduled") + + diff --git a/addons/project_long_term/test/schedule_project_tasks.yml b/addons/project_long_term/test/schedule_project_tasks.yml index 04a05437487..825b7c404d9 100644 --- a/addons/project_long_term/test/schedule_project_tasks.yml +++ b/addons/project_long_term/test/schedule_project_tasks.yml @@ -16,7 +16,7 @@ Create phase 'Develop GUI' in thunderbird - !record {model: project.phase, id: project_phase_phase1}: - date_start: '2010-06-02' + date_start: !eval time.strftime('%Y-%m-%d') duration: 200.0 name: Develop GUI in thunderbird product_uom: product.uom_day |
