diff --git a/fieldservice_timeline/README.rst b/fieldservice_timeline/README.rst new file mode 100644 index 0000000000..9ecd77b6a4 --- /dev/null +++ b/fieldservice_timeline/README.rst @@ -0,0 +1,149 @@ +========================== +Field Service Web Timeline +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:23c45d2454927649068fde6bdb3cc6fb72239398f54debe7bf8370d9d59da2e4 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffield--service-lightgray.png?logo=github + :target: https://github.com/OCA/field-service/tree/18.0/fieldservice_timeline + :alt: OCA/field-service +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/field-service-18-0/field-service-18-0-fieldservice_timeline + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/field-service&target_branch=18.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module is the display timeline view of the Field Service +application in Odoo. + +There is also a new menu in Field Service > Operations where Orders are +shown in a timeline by their Latest Request Date. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +The Field Service Web Timeline View module can be used with minimal +initial configuration. + +Order Stages +------------ + +The stage of an order is used to monitor its progress. Stages can be +configured based on your company's specific business needs. A basic set +of order stages comes pre-configured for use. + +1. Go to *Field Service > Configuration > Stages* +2. Create or edit a stage +3. Set the name for the stage. +4. Set the sequence order for the stage. +5. Select *Order* type to apply this stage to your orders. +6. Additonally, you can set a color for the stage. + +You need to add attribute mention below with the tag as base +element. + +- colors (optional): it allows to set certain specific colors if the + expressed condition (JS syntax) is met. +- custom_color (optional): it allows to set custom color for fsm.stages + example custom_color = "true". And there is minor condition to follow + to implement this as. Define any one stage color condition like + colors="#ffffff:stage_id=='New';" + +Known issues / Roadmap +====================== + +- Restore person proposals & filters same as we had in v14. See v14➔v16 + migration PR. + +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 +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Open Source Integrators + +Contributors +------------ + +- Wolfgang Hall +- Maxime Chambreuil +- Serpent Consulting Services Pvt. Ltd. +- Ammar Officewala +- `XCG Consulting `__: + + - Houzéfa Abbasbhay + +- `Heliconia Solutions Pvt. Ltd. `__ + + - Bhavesh Heliconia + +- `PyTech `__: + + - Simone Rubino + +Other credits +------------- + +The development of this module has been financially supported by: + +- Open Source Integrators + <`https://opensourceintegrators.com\\> >`__ + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-wolfhall| image:: https://github.com/wolfhall.png?size=40px + :target: https://github.com/wolfhall + :alt: wolfhall +.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px + :target: https://github.com/max3903 + :alt: max3903 + +Current `maintainers `__: + +|maintainer-wolfhall| |maintainer-max3903| + +This module is part of the `OCA/field-service `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fieldservice_timeline/__init__.py b/fieldservice_timeline/__init__.py new file mode 100644 index 0000000000..5653e5efbb --- /dev/null +++ b/fieldservice_timeline/__init__.py @@ -0,0 +1,4 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from .hooks import uninstall_hook diff --git a/fieldservice_timeline/__manifest__.py b/fieldservice_timeline/__manifest__.py new file mode 100644 index 0000000000..2d0ebffc9e --- /dev/null +++ b/fieldservice_timeline/__manifest__.py @@ -0,0 +1,18 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Field Service Web Timeline", + "summary": "This module is a display timeline view of the Field Service" + " order in Odoo.", + "version": "18.0.1.0.0", + "category": "Field Service", + "license": "AGPL-3", + "author": "Open Source Integrators, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/field-service", + "depends": ["fieldservice", "web_timeline"], + "data": ["views/fsm_order.xml", "views/fsm_team.xml"], + "development_status": "Beta", + "maintainers": ["wolfhall", "max3903"], + "uninstall_hook": "uninstall_hook", +} diff --git a/fieldservice_timeline/hooks.py b/fieldservice_timeline/hooks.py new file mode 100644 index 0000000000..65e88423e9 --- /dev/null +++ b/fieldservice_timeline/hooks.py @@ -0,0 +1,15 @@ +# Copyright (C) 2021 Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + + +def uninstall_hook(cr, registry): + cr.execute( + "UPDATE ir_act_window " + "SET view_mode=replace(view_mode, ',timeline', '')" + "WHERE view_mode LIKE '%,timeline%';" + ) + cr.execute( + "UPDATE ir_act_window " + "SET view_mode=replace(view_mode, 'timeline,', '')" + "WHERE view_mode LIKE '%timeline,%';" + ) diff --git a/fieldservice_timeline/i18n/es.po b/fieldservice_timeline/i18n/es.po new file mode 100644 index 0000000000..2ae9f40ae0 --- /dev/null +++ b/fieldservice_timeline/i18n/es.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fieldservice_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-03-23 18:23+0000\n" +"Last-Translator: Nicolas Rodriguez Sande \n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: fieldservice_timeline +#: model_terms:ir.ui.view,arch_db:fieldservice_timeline.fsm_order_timeline_view +msgid "Orders" +msgstr "Pedidos" + +#. module: fieldservice_timeline +#: model:ir.actions.act_window,name:fieldservice_timeline.fsm_order_action_request_late +#: model:ir.ui.menu,name:fieldservice_timeline.fsm_order_menu_request_late +msgid "Orders by Latest Request" +msgstr "" + +#, python-format +#~ msgid "Add a condition" +#~ msgstr "Condiciones" + +#, python-format +#~ msgid "Apply" +#~ msgstr "Aplicar" + +#, python-format +#~ msgid "Delete" +#~ msgstr "Borrar" + +#, python-format +#~ msgid "Person Filter" +#~ msgstr "Filtrar Persona" + +#, python-format +#~ msgid "or" +#~ msgstr "o" diff --git a/fieldservice_timeline/i18n/es_AR.po b/fieldservice_timeline/i18n/es_AR.po new file mode 100644 index 0000000000..88cac0dd04 --- /dev/null +++ b/fieldservice_timeline/i18n/es_AR.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fieldservice_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-03-23 18:23+0000\n" +"Last-Translator: Nicolas Rodriguez Sande \n" +"Language-Team: none\n" +"Language: es_AR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: fieldservice_timeline +#: model_terms:ir.ui.view,arch_db:fieldservice_timeline.fsm_order_timeline_view +msgid "Orders" +msgstr "Pedidos" + +#. module: fieldservice_timeline +#: model:ir.actions.act_window,name:fieldservice_timeline.fsm_order_action_request_late +#: model:ir.ui.menu,name:fieldservice_timeline.fsm_order_menu_request_late +msgid "Orders by Latest Request" +msgstr "" + +#, python-format +#~ msgid "Add a condition" +#~ msgstr "Condiciones" + +#, python-format +#~ msgid "Apply" +#~ msgstr "Aplicar" + +#, python-format +#~ msgid "Delete" +#~ msgstr "Borrar" + +#, python-format +#~ msgid "Person Filter" +#~ msgstr "Filtrar Persona" + +#, python-format +#~ msgid "or" +#~ msgstr "o" diff --git a/fieldservice_timeline/i18n/fieldservice_timeline.pot b/fieldservice_timeline/i18n/fieldservice_timeline.pot new file mode 100644 index 0000000000..bcf8cfde7e --- /dev/null +++ b/fieldservice_timeline/i18n/fieldservice_timeline.pot @@ -0,0 +1,25 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fieldservice_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: fieldservice_timeline +#: model_terms:ir.ui.view,arch_db:fieldservice_timeline.fsm_order_timeline_view +msgid "Orders" +msgstr "" + +#. module: fieldservice_timeline +#: model:ir.actions.act_window,name:fieldservice_timeline.fsm_order_action_request_late +#: model:ir.ui.menu,name:fieldservice_timeline.fsm_order_menu_request_late +msgid "Orders by Latest Request" +msgstr "" diff --git a/fieldservice_timeline/i18n/it.po b/fieldservice_timeline/i18n/it.po new file mode 100644 index 0000000000..e4fa7ab4f1 --- /dev/null +++ b/fieldservice_timeline/i18n/it.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fieldservice_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-01-03 12:47+0000\n" +"Last-Translator: Francesco Foresti \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: fieldservice_timeline +#: model_terms:ir.ui.view,arch_db:fieldservice_timeline.fsm_order_timeline_view +msgid "Orders" +msgstr "Ordini" + +#. module: fieldservice_timeline +#: model:ir.actions.act_window,name:fieldservice_timeline.fsm_order_action_request_late +#: model:ir.ui.menu,name:fieldservice_timeline.fsm_order_menu_request_late +msgid "Orders by Latest Request" +msgstr "" + +#, python-format +#~ msgid "Add a condition" +#~ msgstr "Aggiungi condizione" + +#, python-format +#~ msgid "Apply" +#~ msgstr "Applica" + +#, python-format +#~ msgid "Delete" +#~ msgstr "Elimina" + +#, python-format +#~ msgid "Person Filter" +#~ msgstr "Filtro persona" + +#, python-format +#~ msgid "or" +#~ msgstr "o" diff --git a/fieldservice_timeline/i18n/pt_BR.po b/fieldservice_timeline/i18n/pt_BR.po new file mode 100644 index 0000000000..d0e9463f45 --- /dev/null +++ b/fieldservice_timeline/i18n/pt_BR.po @@ -0,0 +1,107 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * fieldservice_timeline +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2021-06-08 21:48+0000\n" +"Last-Translator: Eder Brito \n" +"Language-Team: none\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" + +#. module: fieldservice_timeline +#: model_terms:ir.ui.view,arch_db:fieldservice_timeline.fsm_order_timeline_view +msgid "Orders" +msgstr "Ordens" + +#. module: fieldservice_timeline +#: model:ir.actions.act_window,name:fieldservice_timeline.fsm_order_action_request_late +#: model:ir.ui.menu,name:fieldservice_timeline.fsm_order_menu_request_late +msgid "Orders by Latest Request" +msgstr "" + +#, python-format +#~ msgid "Add a condition" +#~ msgstr "Adicione uma condição" + +#, python-format +#~ msgid "Apply" +#~ msgstr "Aplicar" + +#, python-format +#~ msgid "Delete" +#~ msgstr "Excluir" + +#, python-format +#~ msgid "Person Filter" +#~ msgstr "Filtro de Pessoa" + +#, python-format +#~ msgid "or" +#~ msgstr "ou" + +#~ msgid "Activities" +#~ msgstr "Atividades" + +#~ msgid "Activity Exception Decoration" +#~ msgstr "Decoração de Exceção de Atividade" + +#~ msgid "Activity State" +#~ msgstr "Estado da Atividade" + +#~ msgid "Activity Type Icon" +#~ msgstr "Ícone de Tipo de Atividade" + +#~ msgid "Display Name" +#~ msgstr "Nome de Exibição" + +#~ msgid "Field Service Worker" +#~ msgstr "Trabalhador de Serviço de Campo" + +#~ msgid "Font awesome icon e.g. fa-tasks" +#~ msgstr "Ícone Font Awesome ex: fa-tasks" + +#~ msgid "ID" +#~ msgstr "ID" + +#~ msgid "Icon" +#~ msgstr "Ícone" + +#~ msgid "Icon to indicate an exception activity." +#~ msgstr "Ícone para indicar uma atividade de exceção." + +#~ msgid "Last Modified on" +#~ msgstr "Última Modificação em" + +#~ msgid "Next Activity Deadline" +#~ msgstr "Prazo da Próxima Atividade" + +#~ msgid "Next Activity Summary" +#~ msgstr "Resumo da Próxima Atividade" + +#~ msgid "Next Activity Type" +#~ msgstr "Tipo da Próxima Atividade" + +#~ msgid "Responsible User" +#~ msgstr "Usuário Responsável" + +#~ msgid "" +#~ "Status based on activities\n" +#~ "Overdue: Due date is already passed\n" +#~ "Today: Activity date is today\n" +#~ "Planned: Future activities." +#~ msgstr "" +#~ "Situação baseada em atividades\n" +#~ "Atrasada: A data de vencimento já passou\n" +#~ "Hoje: Data da atividade é hoje\n" +#~ "Planejada: Atividades futuras." + +#~ msgid "Type of the exception activity on record." +#~ msgstr "Tipo de atividade de exceção no registro." diff --git a/fieldservice_timeline/pyproject.toml b/fieldservice_timeline/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/fieldservice_timeline/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/fieldservice_timeline/readme/CONFIGURE.md b/fieldservice_timeline/readme/CONFIGURE.md new file mode 100644 index 0000000000..2f5275aa71 --- /dev/null +++ b/fieldservice_timeline/readme/CONFIGURE.md @@ -0,0 +1,25 @@ +The Field Service Web Timeline View module can be used with minimal +initial configuration. + +## Order Stages + +The stage of an order is used to monitor its progress. Stages can be +configured based on your company's specific business needs. A basic set +of order stages comes pre-configured for use. + +1. Go to *Field Service \> Configuration \> Stages* +2. Create or edit a stage +3. Set the name for the stage. +4. Set the sequence order for the stage. +5. Select *Order* type to apply this stage to your orders. +6. Additonally, you can set a color for the stage. + +You need to add attribute mention below with the tag \ as +base element. + +- colors (optional): it allows to set certain specific colors if the + expressed condition (JS syntax) is met. +- custom_color (optional): it allows to set custom color for fsm.stages + example custom_color = "true". And there is minor condition to follow + to implement this as. Define any one stage color condition like + colors="#ffffff:stage_id=='New';" diff --git a/fieldservice_timeline/readme/CONTRIBUTORS.md b/fieldservice_timeline/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..1e1dfee0ad --- /dev/null +++ b/fieldservice_timeline/readme/CONTRIBUTORS.md @@ -0,0 +1,10 @@ +- Wolfgang Hall \ +- Maxime Chambreuil \ +- Serpent Consulting Services Pvt. Ltd. \ +- Ammar Officewala \ +- [XCG Consulting](https://xcg-consulting.fr): + - Houzéfa Abbasbhay +- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io) + - Bhavesh Heliconia +- [PyTech](https://www.pytech.it): + - Simone Rubino \<\> diff --git a/fieldservice_timeline/readme/CREDITS.md b/fieldservice_timeline/readme/CREDITS.md new file mode 100644 index 0000000000..7e8deceaa7 --- /dev/null +++ b/fieldservice_timeline/readme/CREDITS.md @@ -0,0 +1,3 @@ +The development of this module has been financially supported by: + +- Open Source Integrators \ diff --git a/fieldservice_timeline/readme/DESCRIPTION.md b/fieldservice_timeline/readme/DESCRIPTION.md new file mode 100644 index 0000000000..0c6d3f8900 --- /dev/null +++ b/fieldservice_timeline/readme/DESCRIPTION.md @@ -0,0 +1,4 @@ +This module is the display timeline view of the Field Service +application in Odoo. + +There is also a new menu in Field Service > Operations where Orders are shown in a timeline by their Latest Request Date. diff --git a/fieldservice_timeline/readme/ROADMAP.md b/fieldservice_timeline/readme/ROADMAP.md new file mode 100644 index 0000000000..6bc0e8575f --- /dev/null +++ b/fieldservice_timeline/readme/ROADMAP.md @@ -0,0 +1,2 @@ +- Restore person proposals & filters same as we had in v14. See v14➔v16 + migration PR. diff --git a/fieldservice_timeline/static/description/icon.png b/fieldservice_timeline/static/description/icon.png new file mode 100644 index 0000000000..955674d8f0 Binary files /dev/null and b/fieldservice_timeline/static/description/icon.png differ diff --git a/fieldservice_timeline/static/description/index.html b/fieldservice_timeline/static/description/index.html new file mode 100644 index 0000000000..e5386603c8 --- /dev/null +++ b/fieldservice_timeline/static/description/index.html @@ -0,0 +1,493 @@ + + + + + +Field Service Web Timeline + + + +
+

Field Service Web Timeline

+ + +

Beta License: AGPL-3 OCA/field-service Translate me on Weblate Try me on Runboat

+

This module is the display timeline view of the Field Service +application in Odoo.

+

There is also a new menu in Field Service > Operations where Orders are +shown in a timeline by their Latest Request Date.

+

Table of contents

+ +
+

Configuration

+

The Field Service Web Timeline View module can be used with minimal +initial configuration.

+
+

Order Stages

+

The stage of an order is used to monitor its progress. Stages can be +configured based on your company’s specific business needs. A basic set +of order stages comes pre-configured for use.

+
    +
  1. Go to Field Service > Configuration > Stages
  2. +
  3. Create or edit a stage
  4. +
  5. Set the name for the stage.
  6. +
  7. Set the sequence order for the stage.
  8. +
  9. Select Order type to apply this stage to your orders.
  10. +
  11. Additonally, you can set a color for the stage.
  12. +
+

You need to add attribute mention below with the tag <timeline> as base +element.

+
    +
  • colors (optional): it allows to set certain specific colors if the +expressed condition (JS syntax) is met.
  • +
  • custom_color (optional): it allows to set custom color for fsm.stages +example custom_color = “true”. And there is minor condition to follow +to implement this as. Define any one stage color condition like +colors=”#ffffff:stage_id==’New’;”
  • +
+
+
+
+

Known issues / Roadmap

+
    +
  • Restore person proposals & filters same as we had in v14. See v14➔v16 +migration PR.
  • +
+
+
+

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 +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Open Source Integrators
  • +
+
+
+

Contributors

+ +
+
+

Other credits

+

The development of this module has been financially supported by:

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+ +Odoo Community Association + +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

Current maintainers:

+

wolfhall max3903

+

This module is part of the OCA/field-service project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/fieldservice_timeline/tests/__init__.py b/fieldservice_timeline/tests/__init__.py new file mode 100644 index 0000000000..4b53af39f2 --- /dev/null +++ b/fieldservice_timeline/tests/__init__.py @@ -0,0 +1,3 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_fsm_uninstall diff --git a/fieldservice_timeline/tests/test_fsm_uninstall.py b/fieldservice_timeline/tests/test_fsm_uninstall.py new file mode 100644 index 0000000000..a550a50981 --- /dev/null +++ b/fieldservice_timeline/tests/test_fsm_uninstall.py @@ -0,0 +1,10 @@ +# Copyright (C) 2019 - TODAY, Open Source Integrators +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.addons.base.tests.common import BaseCommon +from odoo.addons.fieldservice_timeline import hooks + + +class FSMUninstall(BaseCommon): + def test_fsm_uninstall(self): + hooks.uninstall_hook(self.env.cr, False) diff --git a/fieldservice_timeline/views/fsm_order.xml b/fieldservice_timeline/views/fsm_order.xml new file mode 100644 index 0000000000..afb6f38223 --- /dev/null +++ b/fieldservice_timeline/views/fsm_order.xml @@ -0,0 +1,65 @@ + + + fsm.order.timeline + fsm.order + timeline + + + + + + + Use Latest Request Date in Field Service Orders timeline view + fsm.order + timeline + primary + 50 + + + + request_late + + + + + + + kanban,list,form,calendar,timeline + + + + list,form,calendar,timeline + + + + Orders by Latest Request + fsm.order + timeline + + + + + diff --git a/fieldservice_timeline/views/fsm_team.xml b/fieldservice_timeline/views/fsm_team.xml new file mode 100644 index 0000000000..d292df0d09 --- /dev/null +++ b/fieldservice_timeline/views/fsm_team.xml @@ -0,0 +1,8 @@ + + + kanban,list,form,calendar,timeline + +