Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
114 changes: 114 additions & 0 deletions website_geoengine_store_locator/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
================================
Geospatial Website store locator
================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:fe322224dbdd376eea03ba9aa37eaf3c4bc975d36a999b33a2f799caf36e441f
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/website_geoengine_store_locator
: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-website_geoengine_store_locator
: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|

This module extends the ``website_geoengine`` odoo module, to add a map
snippet view for the website. By default the map features are filtered
to only display contact of type store.

**Table of contents**

.. contents::
:local:

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

You should configure first a web site. Then drag n drop the Store
Locator widget from the OCA/Geopspatial section.

|image1|

You can the configure the maximum number of results you want to display
before to force your user to filter results.

|image2|

Then go to 'Contact' app and add some store type address to your
contacts and add them some tags.

.. |image1| image:: https://raw.githubusercontent.com/OCA/geospatial/17.0/website_geoengine_store_locator/static/description/snippet.png
.. |image2| image:: https://raw.githubusercontent.com/OCA/geospatial/17.0/website_geoengine_store_locator/static/description/snippet_configuration.png

Usage
=====

|image1|

.. |image1| image:: https://raw.githubusercontent.com/OCA/geospatial/17.0/website_geoengine_store_locator/static/description/screencast.gif

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:%20website_geoengine_store_locator%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
------------

- Stéphane Brunner <stephane.brunner@camptocamp.com>
- Hadrien Huvelle <hadrien.huvelle@camptocamp.com>
- Cédric Paradis <cparadis@impressfoods.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-Wouitmil| image:: https://github.com/Wouitmil.png?size=40px
:target: https://github.com/Wouitmil
:alt: Wouitmil

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Wouitmil|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
54 changes: 54 additions & 0 deletions website_geoengine_store_locator/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Copyright 2024 Camptocamp
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Geospatial Website store locator",
"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_geoengine", "website", "partner_store", "website_geoengine"],
"data": [
"templates/snippets/s_openlayer_store_locator.xml",
"views/snippets.xml",
],
"assets": {
"web.assets_frontend": [
"website_geoengine_store_locator/static/lib/node_modules/ol/dist/ol.js",
(
"website_geoengine_store_locator/static/lib/node_modules/"
"jquery-flexdatalist/jquery.flexdatalist.js"
),
(
"website_geoengine_store_locator/static/src/scss/snippets/"
"s_openlayer_store_locator/frontend.scss"
),
(
"website_geoengine_store_locator/static/src/js/snippets/"
"s_openlayer_store_locator/frontend.esm.js"
),
(
"website_geoengine_store_locator/static/src/js/snippets/"
"s_openlayer_store_locator/popover.esm.js"
),
(
"website_geoengine_store_locator/static/src/js/snippets/"
"s_openlayer_store_locator/search.esm.js"
),
(
"website_geoengine_store_locator/static/src/js/snippets/"
"s_openlayer_store_locator/map.esm.js"
),
"/web/static/lib/stacktracejs/stacktrace.js",
],
"website.assets_wysiwyg": [
(
"website_geoengine_store_locator/static/src/js/snippets/"
"s_openlayer_store_locator/snippet.options.esm.js"
)
],
},
"maintainers": ["Wouitmil"],
"installable": True,
"application": True,
}
47 changes: 47 additions & 0 deletions website_geoengine_store_locator/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_geoengine_store_locator
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-11-03 17:06+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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 5.6.2\n"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator_options
msgid "200"
msgstr "200"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator_options
msgid "Max number of results"
msgstr "Numero massimo risultati"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "OCA/Geospatial"
msgstr "OCA/Geospaziali"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator
msgid "Search store"
msgstr "Cerca deposito"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "Store Locator"
msgstr "Localizzatore deposito"

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "map, store"
msgstr "mappa, deposito"
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_geoengine_store_locator
#
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: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator_options
msgid "200"
msgstr ""

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator_options
msgid "Max number of results"
msgstr ""

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "OCA/Geospatial"
msgstr ""

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.s_openlayer_store_locator
msgid "Search store"
msgstr ""

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "Store Locator"
msgstr ""

#. module: website_geoengine_store_locator
#: model_terms:ir.ui.view,arch_db:website_geoengine_store_locator.website_geoengine_store_locator_snipet
msgid "map, store"
msgstr ""
3 changes: 3 additions & 0 deletions website_geoengine_store_locator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
12 changes: 12 additions & 0 deletions website_geoengine_store_locator/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
You should configure first a web site. Then drag n drop the Store
Locator widget from the OCA/Geopspatial section.

![](./static/description/snippet.png)

You can the configure the maximum number of results you want to display
before to force your user to filter results.

![](./static/description/snippet_configuration.png)

Then go to 'Contact' app and add some store type address to your
contacts and add them some tags.
3 changes: 3 additions & 0 deletions website_geoengine_store_locator/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Stéphane Brunner \<stephane.brunner@camptocamp.com\>
- Hadrien Huvelle \<hadrien.huvelle@camptocamp.com\>
- Cédric Paradis \<cparadis@impressfoods.com\>
3 changes: 3 additions & 0 deletions website_geoengine_store_locator/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module extends the `website_geoengine` odoo module, to add a map
snippet view for the website. By default the map features are filtered
to only display contact of type store.
1 change: 1 addition & 0 deletions website_geoengine_store_locator/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![](./static/description/screencast.gif)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading