Skip to content

Commit

Permalink
[13.0][ADD] fieldservice_web_timeline_view
Browse files Browse the repository at this point in the history
  • Loading branch information
murtuzasaleh committed Mar 12, 2020
1 parent 6ba57d9 commit 93d480d
Show file tree
Hide file tree
Showing 19 changed files with 1,278 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .isort.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=
known_third_party=setuptools
127 changes: 127 additions & 0 deletions fieldservice_web_timeline_view/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
===============================
Field Service Web Timeline View
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/13.0/fieldservice_web_timeline_view
: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-13-0/field-service-13-0-fieldservice_web_timeline_view
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/264/13.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

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

**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.

#. Go to *Field Service > Configuration > Stages*
#. Create or edit a stage
#. Set the name for the stage.
#. Set the sequence order for the stage.
#. Select *Order* type to apply this stage to your orders.
#. Additonally, you can set a color for the stage.

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
======================

The roadmap of the Field Service application is documented on
`Github <https://github.com/OCA/field-service/issues/1>`_.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_web_timeline_view%0Aversion:%2013.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* Wolfgang Hall <[email protected]>
* Maxime Chambreuil <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>

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 <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-wolfhall| |maintainer-max3903|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/13.0/fieldservice_web_timeline_view>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions fieldservice_web_timeline_view/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from .hooks import uninstall_hook
19 changes: 19 additions & 0 deletions fieldservice_web_timeline_view/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright (C) 2020 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service Web Timeline View",
"summary": "This module is a display timeline view of the Field Service"
" order in Odoo.",
"version": "13.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"],
"qweb": ["static/src/xml/*.xml"],
"development_status": "Beta",
"maintainers": ["wolfhall", "max3903"],
"uninstall_hook": "uninstall_hook",
}
14 changes: 14 additions & 0 deletions fieldservice_web_timeline_view/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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,%';"
)
24 changes: 24 additions & 0 deletions fieldservice_web_timeline_view/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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.

#. Go to *Field Service > Configuration > Stages*
#. Create or edit a stage
#. Set the name for the stage.
#. Set the sequence order for the stage.
#. Select *Order* type to apply this stage to your orders.
#. Additonally, you can set a color for the stage.

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';"
3 changes: 3 additions & 0 deletions fieldservice_web_timeline_view/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Wolfgang Hall <[email protected]>
* Maxime Chambreuil <[email protected]>
* Serpent Consulting Services Pvt. Ltd. <[email protected]>
3 changes: 3 additions & 0 deletions fieldservice_web_timeline_view/readme/CREDITS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The development of this module has been financially supported by:

* Open Source Integrators <https://opensourceintegrators.com>
1 change: 1 addition & 0 deletions fieldservice_web_timeline_view/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module is the display timeline view of the Field Service application in Odoo.
2 changes: 2 additions & 0 deletions fieldservice_web_timeline_view/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The roadmap of the Field Service application is documented on
`Github <https://github.com/OCA/field-service/issues/1>`_.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 93d480d

Please sign in to comment.