Skip to content

Commit

Permalink
Merge PR #1169 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by max3903
  • Loading branch information
OCA-git-bot committed May 21, 2024
2 parents b7fe2a3 + fcafc1e commit da9802a
Show file tree
Hide file tree
Showing 34 changed files with 2,236 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
makepot: "true"
services:
postgres:
image: postgres:12.0
image: postgis/postgis:13-3.4
env:
POSTGRES_USER: odoo
POSTGRES_PASSWORD: odoo
Expand Down
148 changes: 148 additions & 0 deletions fieldservice_geoengine/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
=======================
Field Service Geoengine
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:74438fc7ba6bb4441445c45d385f8490260b60a5d097618700e52d7b525b1f72
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/16.0/fieldservice_geoengine
: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-16-0/field-service-16-0-fieldservice_geoengine
: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=16.0
:alt: Try me on Runboat

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

This module displays map views on the order and location using the GeoEngine module and PostGIS.

**Table of contents**

.. contents::
:local:

Installation
============

To install Field Service and have the mapping features, you need to install GeoEngine.

Please refer to the installation instructions available at:
https://github.com/OCA/geospatial/tree/13.0/base_geoengine

Configuration
=============

To configure this module, you need to:

* Go to Field Service > Configuration > Settings

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';"

Usage
=====

To use this module, you need to:

* Go to Field Service > Master Data > Locations
* Make sure to provide all the address information to geolocalize properly
* Check the map tab to display the location as a point on the map
* Go to Field Service > Dashboard
* Select the map view to show the orders on a map with a different colors
based on their stage

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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_geoengine%0Aversion:%2016.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
* Pytech SRL

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

* Open Source Integrators
* Wolfgang Hall <whall@opensourceintegrators.com>
* Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
* Steve Campbell <scampbell@opensourceintegrators.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Michael Allen <mallen@opensourceintegrators.com>
* Sandip Mangukiya <smangukiya@opensourceintegrators.com>
* Jevin Dement <jdement@opensourceintegrators.com>
* Murtuza Saleh <murtuza.saleh@serpentcs.com>
* Sebastiano Picchi <sebastiano.picchi@pytech.it>
* [APSL-Nagarro](https://apsl.tech):
* Antoni Marroig <amarroig@apsl.net>

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/16.0/fieldservice_geoengine>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions fieldservice_geoengine/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2023 - TODAY Pytech SRL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
27 changes: 27 additions & 0 deletions fieldservice_geoengine/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright (C) 2018 - TODAY, Open Source Integrators
# Copyright (C) 2023 - TODAY Pytech SRL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service Geoengine",
"summary": "Display Field Service locations on a map with Open Street Map",
"license": "AGPL-3",
"version": "16.0.1.0.0",
"category": "Field Service",
"author": "Open Source Integrators, Odoo Community Association (OCA), Pytech SRL",
"website": "https://github.com/OCA/field-service",
"depends": ["base_geoengine", "fieldservice"],
"data": [
"security/res_groups.xml",
"views/fsm_location.xml",
"views/fsm_team.xml",
"views/fsm_order.xml",
],
"assets": {
"web.assets_backend": [
"fieldservice_geoengine/static/src/js/**",
]
},
"development_status": "Beta",
"maintainers": ["wolfhall", "max3903"],
}
112 changes: 112 additions & 0 deletions fieldservice_geoengine/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fieldservice_geoengine
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-11-26 14:27+0000\n"
"Last-Translator: Maria Sparenberg <maria.sparenberg@gmx.net>\n"
"Language-Team: none\n"
"Language: de\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 3.8\n"

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location__shape
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_order__shape
msgid "Coordinate"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location__display_name
msgid "Display Name"
msgstr ""

#. module: fieldservice_geoengine
#: model:geoengine.vector.layer,name:fieldservice_geoengine.loc_geoengine_vector_layer_fsm0
msgid "FSM Location Point"
msgstr ""

#. module: fieldservice_geoengine
#: model:geoengine.vector.layer,name:fieldservice_geoengine.loc_geoengine_vector_layer_fsmordertatecoloredcustom0
msgid "FSM Location State colored custom"
msgstr ""

#. module: fieldservice_geoengine
#: model:geoengine.vector.layer,name:fieldservice_geoengine.geoengine_vector_layer_fsm0
msgid "FSM Order Point"
msgstr ""

#. module: fieldservice_geoengine
#: model:geoengine.vector.layer,name:fieldservice_geoengine.geoengine_vector_layer_fsmordertatecoloredcustom0
msgid "FSM Order State colored custom"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model,name:fieldservice_geoengine.model_fsm_location
msgid "Field Service Location"
msgstr "Field-Service-Ort"

#. module: fieldservice_geoengine
#: model:ir.model,name:fieldservice_geoengine.model_fsm_order
msgid "Field Service Order"
msgstr "Field-Service-Auftrag"

#. module: fieldservice_geoengine
#: model_terms:ir.ui.view,arch_db:fieldservice_geoengine.fsm_order_form
msgid "GeoCode Location"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location__id
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_order__id
msgid "ID"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location____last_update
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_order____last_update
msgid "Last Modified on"
msgstr ""

#. module: fieldservice_geoengine
#: model_terms:ir.ui.view,arch_db:fieldservice_geoengine.fsm_order_form
msgid "Map"
msgstr "Karte"

#. module: fieldservice_geoengine
#: model:geoengine.raster.layer,name:fieldservice_geoengine.geoengine_raster_layer_retailmachineosm
#: model:geoengine.raster.layer,name:fieldservice_geoengine.loc_geoengine_raster_layer_osm
msgid "Open Street Map"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_order__display_name
msgid "Order"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location__custom_color
msgid "Stage Color"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,field_description:fieldservice_geoengine.field_fsm_location__stage_name
msgid "Stage Name"
msgstr ""

#. module: fieldservice_geoengine
#: model:ir.model.fields,help:fieldservice_geoengine.field_fsm_location__custom_color
msgid "Use Hex Code only Ex:-#FFFFFF"
msgstr ""

#. module: fieldservice_geoengine
#: model:geoengine.raster.layer,name:fieldservice_geoengine.geoengine_raster_layer_basic0
#: model:geoengine.raster.layer,name:fieldservice_geoengine.loc_geoengine_raster_layer_basic0
msgid "basic"
msgstr ""
Loading

0 comments on commit da9802a

Please sign in to comment.