From 7dd120c04c2d5f8dc2a76ec9360e35435913fc8f Mon Sep 17 00:00:00 2001 From: pilarvargas-tecnativa Date: Wed, 21 Aug 2024 09:05:21 +0200 Subject: [PATCH] [IMP] sale_timesheet_timeline: Add table to order portal view TT50569 --- sale_timesheet_timeline/README.rst | 7 ++ sale_timesheet_timeline/__manifest__.py | 2 +- sale_timesheet_timeline/i18n/es.po | 33 ++++++++- .../i18n/sale_timesheet_timeline.pot | 29 +++++++- .../readme/DESCRIPTION.rst | 2 + sale_timesheet_timeline/readme/ROADMAP.rst | 1 + .../static/description/index.html | 28 +++++--- .../views/sale_portal_templates.xml | 72 +++++++++++++++++++ 8 files changed, 158 insertions(+), 16 deletions(-) create mode 100644 sale_timesheet_timeline/readme/ROADMAP.rst create mode 100644 sale_timesheet_timeline/views/sale_portal_templates.xml diff --git a/sale_timesheet_timeline/README.rst b/sale_timesheet_timeline/README.rst index 11a801d0b..57b4a5e20 100644 --- a/sale_timesheet_timeline/README.rst +++ b/sale_timesheet_timeline/README.rst @@ -34,6 +34,8 @@ when confirming the order. It includes a timeline view for pre-viewing and managing the planning. +In addition, this planning is shown in the order portal view. + **Table of contents** .. contents:: @@ -51,6 +53,11 @@ Usage #. You can also click on the "Planning" button and plan the dates visually in the timeline view. +Known issues / Roadmap +====================== + +- Timeline visualization in portal. + Bug Tracker =========== diff --git a/sale_timesheet_timeline/__manifest__.py b/sale_timesheet_timeline/__manifest__.py index b0a1d98e1..c6ed2da8e 100644 --- a/sale_timesheet_timeline/__manifest__.py +++ b/sale_timesheet_timeline/__manifest__.py @@ -11,5 +11,5 @@ "installable": True, "application": False, "depends": ["sale_timesheet", "project_timeline"], - "data": ["views/sale_order_views.xml"], + "data": ["views/sale_order_views.xml", "views/sale_portal_templates.xml"], } diff --git a/sale_timesheet_timeline/i18n/es.po b/sale_timesheet_timeline/i18n/es.po index d238dfbca..be65e7c06 100644 --- a/sale_timesheet_timeline/i18n/es.po +++ b/sale_timesheet_timeline/i18n/es.po @@ -6,14 +6,16 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-20 19:48+0000\n" -"PO-Revision-Date: 2024-08-20 19:48+0000\n" +"POT-Creation-Date: 2024-08-21 07:09+0000\n" +"PO-Revision-Date: 2024-08-21 09:11+0200\n" "Last-Translator: \n" "Language-Team: \n" +"Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" +"Content-Transfer-Encoding: 8bit\n" "Plural-Forms: \n" +"X-Generator: Poedit 3.0.1\n" #. module: sale_timesheet_timeline #: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.view_order_form @@ -25,6 +27,21 @@ msgstr "Planificación" msgid "Any Service Line" msgstr "Cualquier línea de servicio" +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Assignees" +msgstr "Asignados" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "End" +msgstr "Fin" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Planning" +msgstr "Planificación" + #. module: sale_timesheet_timeline #: model:ir.model,name:sale_timesheet_timeline.model_sale_order msgid "Sales Order" @@ -40,6 +57,16 @@ msgstr "Línea de pedido de venta" msgid "Sales Tasks Planning" msgstr "Planificación de tareas de ventas" +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Start" +msgstr "Inicio" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Task" +msgstr "Tarea" + #. module: sale_timesheet_timeline #: model:ir.model.fields,field_description:sale_timesheet_timeline.field_sale_order_line__task_user_ids msgid "Task Assignees" diff --git a/sale_timesheet_timeline/i18n/sale_timesheet_timeline.pot b/sale_timesheet_timeline/i18n/sale_timesheet_timeline.pot index 056578782..389dc2b8c 100644 --- a/sale_timesheet_timeline/i18n/sale_timesheet_timeline.pot +++ b/sale_timesheet_timeline/i18n/sale_timesheet_timeline.pot @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-20 19:48+0000\n" -"PO-Revision-Date: 2024-08-20 19:48+0000\n" +"POT-Creation-Date: 2024-08-21 07:09+0000\n" +"PO-Revision-Date: 2024-08-21 07:09+0000\n" "Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -25,6 +25,21 @@ msgstr "" msgid "Any Service Line" msgstr "" +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Assignees" +msgstr "" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "End" +msgstr "" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Planning" +msgstr "" + #. module: sale_timesheet_timeline #: model:ir.model,name:sale_timesheet_timeline.model_sale_order msgid "Sales Order" @@ -40,6 +55,16 @@ msgstr "" msgid "Sales Tasks Planning" msgstr "" +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Start" +msgstr "" + +#. module: sale_timesheet_timeline +#: model_terms:ir.ui.view,arch_db:sale_timesheet_timeline.sale_order_portal_content +msgid "Task" +msgstr "" + #. module: sale_timesheet_timeline #: model:ir.model.fields,field_description:sale_timesheet_timeline.field_sale_order_line__task_user_ids msgid "Task Assignees" diff --git a/sale_timesheet_timeline/readme/DESCRIPTION.rst b/sale_timesheet_timeline/readme/DESCRIPTION.rst index f60f247b7..7df014b16 100644 --- a/sale_timesheet_timeline/readme/DESCRIPTION.rst +++ b/sale_timesheet_timeline/readme/DESCRIPTION.rst @@ -3,3 +3,5 @@ order lines that are services, and they are transferred to the created task (if when confirming the order. It includes a timeline view for pre-viewing and managing the planning. + +In addition, this planning is shown in the order portal view. diff --git a/sale_timesheet_timeline/readme/ROADMAP.rst b/sale_timesheet_timeline/readme/ROADMAP.rst new file mode 100644 index 000000000..96af7bc86 --- /dev/null +++ b/sale_timesheet_timeline/readme/ROADMAP.rst @@ -0,0 +1 @@ +- Timeline visualization in portal. diff --git a/sale_timesheet_timeline/static/description/index.html b/sale_timesheet_timeline/static/description/index.html index 0c7515307..a71e1f2ed 100644 --- a/sale_timesheet_timeline/static/description/index.html +++ b/sale_timesheet_timeline/static/description/index.html @@ -373,15 +373,17 @@

Dates planning in sales order lines

order lines that are services, and they are transferred to the created task (if any) when confirming the order.

It includes a timeline view for pre-viewing and managing the planning.

+

In addition, this planning is shown in the order portal view.

Table of contents

+
+

Known issues / Roadmap

+ +
-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed @@ -408,15 +416,15 @@

Bug Tracker

Do not contact contributors directly about support or help with technical issues.

-

Credits

+

Credits

-

Authors

+

Authors

  • Tecnativa
-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose diff --git a/sale_timesheet_timeline/views/sale_portal_templates.xml b/sale_timesheet_timeline/views/sale_portal_templates.xml new file mode 100644 index 000000000..d357b76de --- /dev/null +++ b/sale_timesheet_timeline/views/sale_portal_templates.xml @@ -0,0 +1,72 @@ + + +