3 Commits

Author SHA1 Message Date
6f3e6270e9 [ADD]project_task_billable_hours 2024-06-17 13:53:38 +02:00
a76d496614 [FIX]project_assignees:update french translation 2024-06-05 09:57:57 +02:00
clementthomas
abd766a4ea [NEW] project_usability 2024-02-16 14:37:28 +01:00
7 changed files with 112 additions and 14 deletions

View File

@@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-26 07:38+0000\n"
"PO-Revision-Date: 2022-07-26 07:38+0000\n"
"POT-Creation-Date: 2024-06-05 07:35+0000\n"
"PO-Revision-Date: 2024-06-05 07:35+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@@ -16,17 +16,69 @@ msgstr ""
"Plural-Forms: \n"
#. module: project_assignees
#: model_terms:ir.ui.view,arch_db:project_assignees.portal_my_task_timebox
msgid "<strong>Other assignements</strong>"
msgstr "<strong>Autres intervenants</strong>"
#: model_terms:ir.ui.view,arch_db:project_assignees.portal_my_task_assignees
msgid "<strong>Other assignees</strong>"
msgstr "<strong>Assigné à</strong>"
#. module: project_assignees
#: model:ir.model.fields,field_description:project_assignees.field_project_task__assignee_ids |
msgid "Assignees" |
msgstr "Autres assignations"
#: model:ir.model.fields,field_description:project_assignees.field_project_task__assignee_ids
msgid "Assignees"
msgstr "Assignée à"
#. module: project_assignees
#: model:mail.message.subtype,name:project_assignees.mt_task_assignees
msgid "Assignees change"
msgstr "Changement d'assignation"
#. module: project_assignees
#: model:mail.message.subtype,description:project_assignees.mt_task_assignees
msgid "Assignees changed"
msgstr "Changement d'assignation"
#. module: project_assignees
#: model_terms:ir.ui.view,arch_db:project_assignees.portal_my_task_assignees
msgid "Contact"
msgstr ""
#. module: project_assignees
#: model:ir.model.fields,field_description:project_assignees.field_mail_thread__display_name
#: model:ir.model.fields,field_description:project_assignees.field_project_task__display_name
msgid "Display Name"
msgstr "Nom d'affichage"
#. module: project_assignees
#: model:ir.model,name:project_assignees.model_mail_thread
msgid "Email Thread"
msgstr "Discussion par email"
#. module: project_assignees
#: model:ir.model.fields,field_description:project_assignees.field_mail_thread__id
#: model:ir.model.fields,field_description:project_assignees.field_project_task__id
msgid "ID"
msgstr ""
#. module: project_assignees
#: model:ir.model.fields,field_description:project_assignees.field_mail_thread____last_update
#: model:ir.model.fields,field_description:project_assignees.field_project_task____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: project_assignees
#: model:ir.model,name:project_assignees.model_project_task
msgid "Task"
msgstr "Tâche"
#. module: project_assignees
#: model:mail.message.subtype,name:project_assignees.mt_project_task_assignees
msgid "Task Assignees Changed"
msgstr "Changement d'assignation pour la tâche"
#. module: project
#: model:ir.model.fields,field_description:project.field_project_task__user_id
#: model_terms:ir.ui.view,arch_db:project.rating_rating_view_form_project
#: model_terms:ir.ui.view,arch_db:project.rating_rating_view_tree_project
#: model_terms:ir.ui.view,arch_db:project.view_task_project_user_search
#: model_terms:ir.ui.view,arch_db:project.view_task_search_form
msgid "Assigned to"
msgstr "Demandé par"

View File

@@ -0,0 +1,24 @@
# Copyright 2022 Elabore
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Project task billable hours",
"version": "14.0.1.0.0",
"author": "Elabore",
"website": "https://github.com/elabore-coop/project-tools",
"maintainer": "Laetitia Da Costa",
"license": "AGPL-3",
"category": "Tools",
"summary": "In task kanban view, display remaining billable hours instead of remaining hours",
"description": "",
"depends": [
"project",
"hr_timesheet",
"project_working_time_task_portal"
],
"data": [
"views/project_task_views.xml",
],
"installable": True,
"application": False,
}

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Replace remaining hours by billable remaining hours in kanban view -->
<record id="view_task_kanban_billable_remaining_hours_inherit" model="ir.ui.view">
<field name="name">project.task.kanban.billable.remaining.hours.inherit</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="hr_timesheet.view_task_kanban_inherited_progress"/>
<field name="arch" type="xml">
<xpath expr="//t[@name='planned_hours']" position="replace">
<t t-set="badge" t-value=""/>
<t t-set="badge" t-value="'badge-warning'" t-if="record.billable_progress &gt;= 80 and record.billable_progress &lt;= 100"/>
<t t-set="badge" t-value="'badge-danger'" t-if="record.billable_remaining_hours.raw_value &lt; 0"/>
<t t-set="title" t-value="'Remaining days'" t-if="record.encode_uom_in_days.raw_value"/>
<t t-set="title" t-value="'Billable remaining hours'" t-else=""/>
<div t-attf-class="oe_kanban_align badge {{ badge }}" t-att-title="title">
<field name="billable_remaining_hours" widget="timesheet_uom" />
</div>
</xpath>
</field>
</record>
</odoo>

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -1,9 +1,9 @@
# Copyright 2022 Stéphan Sainléger (Elabore)
# Copyright 2022 Elabore
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "project_usability",
"version": "14.0.1.3.2",
"name": "Project usability Élabore",
"version": "14.0.1.0.1",
"author": "Elabore",
"website": "https://github.com/elabore-coop/project-tools",
"maintainer": "Clément Thomas",
@@ -15,7 +15,7 @@
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
=================
project_usability
project_usability_misc
=================
Add several small changes to improve usability in projects :
@@ -24,7 +24,7 @@ Add several small changes to improve usability in projects :
Installation
============
Install ``project_usability``, all dependencies will be installed by default.
Install ``project_usability_misc``, all dependencies will be installed by default.
Known issues / Roadmap
======================

View File

@@ -5,7 +5,7 @@
* Add create date column (hide)
-->
<record id="view_task_tree2_project_usability" model="ir.ui.view">
<record id="view_task_tree2_project_usability_misc" model="ir.ui.view">
<field name="name">project.task.tree.project.usability</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_tree2" />