Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] fieldservice_geoengine: Migration to 16.0 #1169

Merged
merged 62 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
a0f5834
[ADD][WIP][12.0] fieldservice_geoengine (#170)
murtuzasaleh Apr 18, 2019
8475270
[ADD] icon.png
OCA-git-bot Apr 18, 2019
f3471df
[WIP][FIX][12.0] fieldservice_geoengine
murtuzasaleh Apr 24, 2019
c23fee3
[ADD] fieldservice_geoengine: Documentation
max3903 May 24, 2019
cfea4e4
[UPD] README.rst
OCA-git-bot May 27, 2019
7692fa1
[IMP] Calendar
osi-scampbell Jun 20, 2019
edf2d68
[FIX][12.0] fieldservice_geoengine
murtuzasaleh Jul 3, 2019
f1cf83e
[IMP] Add Calendar to Team Order View
osi-scampbell Jul 17, 2019
140cf87
[UPD] README.rst
OCA-git-bot Jul 29, 2019
2b11ab7
[FIX] fieldservice_geoengine
max3903 Jul 26, 2019
bcdfe89
[IMP] UI
brian10048 Aug 21, 2019
651077a
[IMP] fieldservice_geoengine
max3903 Oct 11, 2019
0d42872
[UPD] Update fieldservice_geoengine.pot
oca-travis Nov 14, 2019
27b24a1
Added translation using Weblate (Spanish (Chile))
Nov 21, 2019
eff6ba7
Translated using Weblate (Spanish (Chile))
Nov 21, 2019
072ed75
Added translation using Weblate (German)
marylla Nov 22, 2019
e0cd0cd
Translated using Weblate (German)
marylla Nov 26, 2019
df66689
Translated using Weblate (German)
marylla Nov 26, 2019
96ced32
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 16, 2020
b9c4abf
[ADD] Spanish (es) translation
max3903 Jan 16, 2020
c046376
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 5, 2020
6f02cb8
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
72037a0
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
e642e03
Added translation using Weblate (Spanish (Argentina))
ibuioli Jul 21, 2020
465422d
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 21, 2020
69efa60
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 5, 2020
8e2089b
[IMP] : black, isort, prettier
JevinD Oct 7, 2020
e2bff1d
[MIG] fieldservice_geoengine: migration to 13.0
JevinD Oct 8, 2020
87d4a57
[UPD] Update fieldservice_geoengine.pot
oca-travis Oct 26, 2020
70c0105
[UPD] README.rst
OCA-git-bot Oct 26, 2020
aa68366
Added translation using Weblate (French (France))
sanrav May 20, 2021
bac57bc
Translated using Weblate (French (France))
sanrav May 20, 2021
e9ed9ad
[14.0][MIG] fieldservice_geoengine
Freni-OSI Jun 7, 2021
8cfc88e
[ADD] test cases for georngine
Nov 30, 2022
fdb125c
[FIX] resove pre-commit issue
urvisha-serpentcs Dec 15, 2022
d7b4947
add test cases for geoengine
urvisha-serpentcs Dec 15, 2022
f4060a1
[FIX] codepatch not covered by test
urvisha-serpentcs Dec 15, 2022
87dffa5
[UPD] Update fieldservice_geoengine.pot
Dec 20, 2022
1aea908
[UPD] README.rst
OCA-git-bot Dec 20, 2022
9091e8a
Update translation files
weblate Dec 20, 2022
585ae07
Added translation using Weblate (Italian)
mymage Dec 22, 2022
1e9339b
Translated using Weblate (Italian)
mymage Dec 22, 2022
3020014
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 24, 2022
a4f5ad4
Translated using Weblate (Italian)
mymage Jan 11, 2023
64f0d5c
[14.0][IMP] fielservice_geoengine: proposal for refactor of fieldserv…
PicchiSeba Feb 14, 2023
34dd8e7
[UPD] Update fieldservice_geoengine.pot
Feb 16, 2023
7f76aa4
[UPD] README.rst
OCA-git-bot Feb 16, 2023
fa0b87b
fieldservice_geoengine 14.0.1.1.0
OCA-git-bot Feb 16, 2023
75f4150
Update translation files
weblate Feb 16, 2023
a45b227
Translated using Weblate (Spanish (Argentina))
ibuioli Feb 20, 2023
f8bb014
Translated using Weblate (Italian)
mymage Mar 8, 2023
1e2902a
[14.0][FIX]fieldservice_geoengine: fsm_user_own can see maps
PicchiSeba Jan 13, 2023
800ac2b
fieldservice_geoengine 14.0.1.2.0
OCA-git-bot Mar 16, 2023
897338c
fieldservice_geoengine: fix test to new values from api
hparfr Jun 1, 2023
70e665a
fieldservice_geoengine 14.0.1.2.1
OCA-git-bot Jun 1, 2023
140266a
[FIX] fieldservice_geoengine
Jul 5, 2023
e110444
Update test_fsm_location.py
max3903 Jul 10, 2023
90783fc
fieldservice_geoengine 14.0.1.2.2
OCA-git-bot Jul 10, 2023
bcd6b95
[UPD] README.rst
OCA-git-bot Sep 3, 2023
442f746
Translated using Weblate (Spanish)
Ivorra78 Feb 23, 2024
5dee8cc
[IMP] fieldservice_geoengine: pre-commit stuff
peluko00 Apr 3, 2024
fcafc1e
[MIG] fieldservice_geoengine: Migration to 16.0
peluko00 Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading