[IMP] project_average_acceptable_time : add explanation and precision
This commit is contained in:
committed by
Stéphan Sainléger
parent
5ec345051c
commit
162b7f46a3
@@ -3,7 +3,7 @@
|
||||
|
||||
{
|
||||
"name": "project_average_acceptable_time",
|
||||
"version": "12.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"author": "Elabore",
|
||||
"website": "https://github.com/elabore-coop/project-tools",
|
||||
"maintainer": "Clément Thomas",
|
||||
|
@@ -17,13 +17,19 @@ msgstr ""
|
||||
|
||||
#. module: project_average_acceptable_time
|
||||
#: model_terms:ir.ui.view,arch_db:project_average_acceptable_time.portal_my_home_average_acceptable_time
|
||||
msgid "<b>Average acceptable time</b>:"
|
||||
msgstr "<b>Temps moyen acceptable</b>:"
|
||||
msgid "<b>Average acceptable time of </b>:"
|
||||
msgstr "<b>Temps moyen acceptable de </b>:"
|
||||
|
||||
#. module: project_project_view_kanban_inherit_average_acceptable_time
|
||||
#: model_terms:ir.ui.view,arch_db:project_average_acceptable_time.portal_my_home_average_acceptable_time
|
||||
msgid "The average acceptable time is the time allowed which does not require validation to start carrying out the task. For example, if you choose 30 min then all tasks not exceeding 30 min can be processed directly without waiting for validation from you."
|
||||
msgstr "Le temps moyen acceptable est le temps accordé qui ne nécessite pas de validation pour lancer la réalisation de la tâche. Par exemple, si vous choisissez 30min alors, toutes les tâches ne dépassant pas 30 min, peuvent être traitées directement sans attendre une validation de votre part."
|
||||
|
||||
|
||||
#. module: project_average_acceptable_time
|
||||
#: model_terms:ir.ui.view,arch_db:project_average_acceptable_time.portal_my_home_average_acceptable_time
|
||||
msgid "Average acceptable time"
|
||||
msgstr "Temps moyen acceptable"
|
||||
msgid "Average acceptable time of"
|
||||
msgstr "Temps moyen acceptable de"
|
||||
|
||||
#. module: project_average_acceptable_time
|
||||
#: model_terms:ir.ui.view,arch_db:project_average_acceptable_time.project_project_view_kanban_inherit_average_acceptable_time
|
||||
@@ -40,7 +46,13 @@ msgstr "Temps moyen acceptable"
|
||||
msgid "Average acceptable time (h)"
|
||||
msgstr "Temps moyen acceptable (h)"
|
||||
|
||||
#. module: project_average_acceptable_time
|
||||
#: model_terms:ir.ui.view,arch_db:project_average_acceptable_time.portal_my_details_average_acceptable_time
|
||||
msgid "<small>ex : number format should be 0.5 for 30 min (and not 0,5)</small>"
|
||||
msgstr "<small>ex : le format doit être 0.5 pour 30 min (et pas 0,5)</small"
|
||||
|
||||
#. module: project_average_acceptable_time
|
||||
#: model:ir.model,name:project_average_acceptable_time.model_project_project
|
||||
msgid "Project"
|
||||
msgstr "Projet"
|
||||
|
||||
|
@@ -4,7 +4,10 @@
|
||||
<template id="portal_my_home_average_acceptable_time" name="Portal My Home: Average acceptable time" inherit_id="portal.portal_layout" priority="40">
|
||||
<xpath expr="//div[hasclass('o_portal_my_details')]" position="inside">
|
||||
<hr class="mt-1 mb-0"/>
|
||||
<b>Average acceptable time</b>: <t t-esc="user_id.default_project_id.average_acceptable_time" t-options="{'widget': 'float_time'}"/>
|
||||
<div title="The average acceptable time is the time allowed which does not require validation to start carrying out the task. For example, if you choose 30 min then all tasks not exceeding 30 min can be processed directly without waiting for validation from you.">
|
||||
<b>Average acceptable time of <t t-esc="user_id.default_project_id.name"/></b>:
|
||||
<t t-esc="user_id.default_project_id.average_acceptable_time" t-options="{'widget': 'float_time'}"/>
|
||||
</div>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
@@ -13,12 +16,13 @@
|
||||
<xpath expr="//input[@name='redirect']" position="before">
|
||||
<div t-attf-class="form-group #{error.get('average_acceptable_time') and 'o_has_error' or ''} col-xl-6">
|
||||
<label class="col-form-label" for="average_acceptable_time">Average acceptable time (h)</label>
|
||||
<p><small>ex : number format should be 0.5 for 30 min (and not 0,5)</small></p>
|
||||
<input
|
||||
type="text"
|
||||
name="average_acceptable_time"
|
||||
t-attf-class="form-control #{error.get('average_acceptable_time') and 'is-invalid' or ''}"
|
||||
t-att-value="average_acceptable_time or user_id.default_project_id.average_acceptable_time"
|
||||
t-options="{'widget': 'float_time'}"
|
||||
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
|
Reference in New Issue
Block a user