Compare commits
3 Commits
project_us
...
14.0
Author | SHA1 | Date | |
---|---|---|---|
6f3e6270e9 | |||
a76d496614 | |||
|
abd766a4ea |
@@ -6,8 +6,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 14.0\n"
|
"Project-Id-Version: Odoo Server 14.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2022-07-26 07:38+0000\n"
|
"POT-Creation-Date: 2024-06-05 07:35+0000\n"
|
||||||
"PO-Revision-Date: 2022-07-26 07:38+0000\n"
|
"PO-Revision-Date: 2024-06-05 07:35+0000\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -16,17 +16,69 @@ msgstr ""
|
|||||||
"Plural-Forms: \n"
|
"Plural-Forms: \n"
|
||||||
|
|
||||||
#. module: project_assignees
|
#. module: project_assignees
|
||||||
#: model_terms:ir.ui.view,arch_db:project_assignees.portal_my_task_timebox
|
#: model_terms:ir.ui.view,arch_db:project_assignees.portal_my_task_assignees
|
||||||
msgid "<strong>Other assignements</strong>"
|
msgid "<strong>Other assignees</strong>"
|
||||||
msgstr "<strong>Autres intervenants</strong>"
|
msgstr "<strong>Assigné à</strong>"
|
||||||
|
|
||||||
#. module: project_assignees
|
#. module: project_assignees
|
||||||
#: model:ir.model.fields,field_description:project_assignees.field_project_task__assignee_ids |
|
#: model:ir.model.fields,field_description:project_assignees.field_project_task__assignee_ids
|
||||||
msgid "Assignees" |
|
msgid "Assignees"
|
||||||
msgstr "Autres assignations"
|
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
|
#. module: project_assignees
|
||||||
#: model:ir.model,name:project_assignees.model_project_task
|
#: model:ir.model,name:project_assignees.model_project_task
|
||||||
msgid "Task"
|
msgid "Task"
|
||||||
msgstr "Tâche"
|
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"
|
||||||
|
|
||||||
|
24
project_task_billable_hours/__manifest__.py
Normal file
24
project_task_billable_hours/__manifest__.py
Normal 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,
|
||||||
|
}
|
21
project_task_billable_hours/views/project_task_views.xml
Normal file
21
project_task_billable_hours/views/project_task_views.xml
Normal 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 >= 80 and record.billable_progress <= 100"/>
|
||||||
|
<t t-set="badge" t-value="'badge-danger'" t-if="record.billable_remaining_hours.raw_value < 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>
|
1
project_usability_misc/__init__.py
Normal file
1
project_usability_misc/__init__.py
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
@@ -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).
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "project_usability",
|
"name": "Project usability Élabore",
|
||||||
"version": "14.0.1.3.2",
|
"version": "14.0.1.0.1",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"website": "https://github.com/elabore-coop/project-tools",
|
"website": "https://github.com/elabore-coop/project-tools",
|
||||||
"maintainer": "Clément Thomas",
|
"maintainer": "Clément Thomas",
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
:alt: License: AGPL-3
|
:alt: License: AGPL-3
|
||||||
=================
|
=================
|
||||||
project_usability
|
project_usability_misc
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Add several small changes to improve usability in projects :
|
Add several small changes to improve usability in projects :
|
||||||
@@ -24,7 +24,7 @@ Add several small changes to improve usability in projects :
|
|||||||
Installation
|
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
|
Known issues / Roadmap
|
||||||
======================
|
======================
|
@@ -5,7 +5,7 @@
|
|||||||
* Add create date column (hide)
|
* 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="name">project.task.tree.project.usability</field>
|
||||||
<field name="model">project.task</field>
|
<field name="model">project.task</field>
|
||||||
<field name="inherit_id" ref="project.view_task_tree2" />
|
<field name="inherit_id" ref="project.view_task_tree2" />
|
Reference in New Issue
Block a user