Skip to content

Commit

Permalink
Merge PR #369 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by yvaucher
  • Loading branch information
OCA-git-bot committed Oct 17, 2024
2 parents b421bf7 + a9892db commit e703d1a
Show file tree
Hide file tree
Showing 15 changed files with 825 additions and 0 deletions.
102 changes: 102 additions & 0 deletions geoengine_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
==============================
Geospatial support of partners
==============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ae44b0e11797ff8a1aa6cebb41d7948d7c6999905ecd7dfd2d717f398ecd2ddc
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fgeospatial-lightgray.png?logo=github
:target: https://github.com/OCA/geospatial/tree/17.0/geoengine_partner
:alt: OCA/geospatial
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/geospatial-17-0/geospatial-17-0-geoengine_partner
: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/geospatial&target_branch=17.0
:alt: Try me on Runboat

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

Geolocalise your partner.

**Table of contents**

.. contents::
:local:

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

Take a look at the installation section in the description of the module
'base_geoengine'.

Usage
=====

- Open a partner form
- Go in Geoengine Map tab
- Change to edit mode
- Click on the map to add a point.

To remove the point click on the trash bin. To edit the point drag and
drop it.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/geospatial/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/geospatial/issues/new?body=module:%20geoengine_partner%0Aversion:%2017.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
-------

* Camptocamp

Contributors
------------

- Guewen Baconnier <[email protected]>
- Jordi Riera <[email protected]>
- Laurent Mignon <[email protected]>
- Nicolas Bessi <[email protected]>
- Sandy Carter <[email protected]>
- Yannick Vaucher <[email protected]>
- Pierre Verkest <[email protected]>
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <[email protected]>

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.

This module is part of the `OCA/geospatial <https://github.com/OCA/geospatial/tree/17.0/geoengine_partner>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions geoengine_partner/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
14 changes: 14 additions & 0 deletions geoengine_partner/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2011-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
{
"name": "Geospatial support of partners",
"version": "17.0.1.0.0",
"category": "GeoBI",
"author": "Camptocamp, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/geospatial",
"depends": ["base", "base_geoengine"],
"data": ["views/partner.xml"],
"installable": True,
"application": True,
}
75 changes: 75 additions & 0 deletions geoengine_partner/i18n/geoengine_partner.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * geoengine_partner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.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: geoengine_partner
#: model:ir.model.fields,field_description:geoengine_partner.field_res_partner__geo_point
#: model:ir.model.fields,field_description:geoengine_partner.field_res_users__geo_point
msgid "Address coordinates"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "City:"
msgstr ""

#. module: geoengine_partner
#: model:ir.model,name:geoengine_partner.model_res_partner
msgid "Contact"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Country:"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Function:"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.geo_partner_view_form
msgid "Geoengine Map"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Name:"
msgstr ""

#. module: geoengine_partner
#: model:geoengine.raster.layer,name:geoengine_partner.geoengine_raster_layer_res_partner_osm
msgid "Partner background"
msgstr ""

#. module: geoengine_partner
#: model:geoengine.vector.layer,name:geoengine_partner.geoengine_vector_layer_res_partner
msgid "Partner location"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Title:"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Website:"
msgstr ""

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "ZIP:"
msgstr ""
78 changes: 78 additions & 0 deletions geoengine_partner/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * geoengine_partner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-04-04 11:40+0000\n"
"Last-Translator: mymage <[email protected]>\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.17\n"

#. module: geoengine_partner
#: model:ir.model.fields,field_description:geoengine_partner.field_res_partner__geo_point
#: model:ir.model.fields,field_description:geoengine_partner.field_res_users__geo_point
msgid "Address coordinates"
msgstr "Coordinate indirizzo"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "City:"
msgstr "Città:"

#. module: geoengine_partner
#: model:ir.model,name:geoengine_partner.model_res_partner
msgid "Contact"
msgstr "Contatto"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Country:"
msgstr "Nazione:"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Function:"
msgstr "Funzione:"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.geo_partner_view_form
msgid "Geoengine Map"
msgstr "Mappa Geoengine"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Name:"
msgstr "Nome:"

#. module: geoengine_partner
#: model:geoengine.raster.layer,name:geoengine_partner.geoengine_raster_layer_res_partner_osm
msgid "Partner background"
msgstr "Sfondo partner"

#. module: geoengine_partner
#: model:geoengine.vector.layer,name:geoengine_partner.geoengine_vector_layer_res_partner
msgid "Partner location"
msgstr "Posizione partner"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Title:"
msgstr "Titolo:"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "Website:"
msgstr "Sito web:"

#. module: geoengine_partner
#: model_terms:ir.ui.view,arch_db:geoengine_partner.ir_ui_view_geo_partner
msgid "ZIP:"
msgstr "CAP:"
1 change: 1 addition & 0 deletions geoengine_partner/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import partner
12 changes: 12 additions & 0 deletions geoengine_partner/models/partner.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright 2011-2017 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from odoo import fields, models


class ResPartner(models.Model):
"""Add geo_point to partner using a function filed"""

_inherit = "res.partner"

geo_point = fields.GeoPoint("Address coordinates")
3 changes: 3 additions & 0 deletions geoengine_partner/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
9 changes: 9 additions & 0 deletions geoengine_partner/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- Guewen Baconnier \<<[email protected]>\>
- Jordi Riera \<<[email protected]>\>
- Laurent Mignon \<<[email protected]>\>
- Nicolas Bessi \<<[email protected]>\>
- Sandy Carter \<<[email protected]>\>
- Yannick Vaucher \<<[email protected]>\>
- Pierre Verkest \<<[email protected]>\>
- [APSL-Nagarro](https://www.apsl.tech):
- Antoni Marroig \<<[email protected]>\>
1 change: 1 addition & 0 deletions geoengine_partner/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Geolocalise your partner.
1 change: 1 addition & 0 deletions geoengine_partner/readme/INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Take a look at the installation section in the description of the module 'base_geoengine'.
6 changes: 6 additions & 0 deletions geoengine_partner/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- Open a partner form
- Go in Geoengine Map tab
- Change to edit mode
- Click on the map to add a point.

To remove the point click on the trash bin. To edit the point drag and drop it.
Binary file added geoengine_partner/static/description/icon.png
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 e703d1a

Please sign in to comment.