From 2acc9b32f984d1a8eff1b92a44ce3c07ab2df907 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Thu, 29 Jun 2023 18:11:51 +0200 Subject: [PATCH] [REF] Bump leaflet js library to 1.9.4, released on May 18, 2023. (from 1.8.0, released on April 18, 2022.) --- web_view_leaflet_map/README.rst | 29 +- .../static/description/index.html | 103 +- .../static/lib/leaflet/leaflet.css | 1318 +++++++++-------- .../static/lib/leaflet/leaflet.js | 6 +- .../static/lib/leaflet/leaflet.js.map | 2 +- .../static/src/js/view/map/map_view.js | 1 + web_view_leaflet_map_partner/README.rst | 110 ++ .../static/description/index.html | 454 ++++++ 8 files changed, 1297 insertions(+), 726 deletions(-) create mode 100644 web_view_leaflet_map_partner/static/description/index.html diff --git a/web_view_leaflet_map/README.rst b/web_view_leaflet_map/README.rst index b6ea029ce8..55b0c9cdc6 100644 --- a/web_view_leaflet_map/README.rst +++ b/web_view_leaflet_map/README.rst @@ -2,10 +2,13 @@ Leaflet Map View (OpenStreetMap) ================================ -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:b9e0beff8f439a6c89a4b788c6c59e63b150e687eb60845e5cd811768148f875 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ Leaflet Map View (OpenStreetMap) :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/12.0/web_view_leaflet_map + :target: https://github.com/OCA/geospatial/tree/16.0/web_view_leaflet_map :alt: OCA/geospatial .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/geospatial-12-0/geospatial-12-0-web_view_leaflet_map + :target: https://translation.odoo-community.org/projects/geospatial-16-0/geospatial-16-0-web_view_leaflet_map :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/115/12.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/geospatial&target_branch=16.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module extends odoo views, to add a new kind of view, named ``leaflet_map`` that is using the Leaflet javascript library to use maps. (https://leafletjs.com/) @@ -33,9 +36,9 @@ You can see a simple usage in the module ``web_view_leaflet_map_partner`` in the same OCA repository that displays your contact in a map, if latitude and longitude are defined. (To define latitude and longitude, refer to the Odoo module ``base_geolocalize``) -.. figure:: https://raw.githubusercontent.com/OCA/geospatial/12.0/web_view_leaflet_map/static/description/view_res_partner_map_1.png +.. figure:: https://raw.githubusercontent.com/OCA/geospatial/16.0/web_view_leaflet_map/static/description/view_res_partner_map_1.png -.. figure:: https://raw.githubusercontent.com/OCA/geospatial/12.0/web_view_leaflet_map/static/description/view_res_partner_map_2.png +.. figure:: https://raw.githubusercontent.com/OCA/geospatial/16.0/web_view_leaflet_map/static/description/view_res_partner_map_2.png **Important Note** @@ -156,15 +159,13 @@ Known issues / Roadmap with Polylines, Polygons, etc... See all the leaflet options : https://leafletjs.com/reference.html -* The module could not work properly on mobile devices. - Bug Tracker =========== Bugs are tracked on `GitHub 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 `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -207,6 +208,6 @@ Current `maintainer `__: |maintainer-legalsylvain| -This module is part of the `OCA/geospatial `_ project on GitHub. +This module is part of the `OCA/geospatial `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_view_leaflet_map/static/description/index.html b/web_view_leaflet_map/static/description/index.html index 72654516f9..595e1e917b 100644 --- a/web_view_leaflet_map/static/description/index.html +++ b/web_view_leaflet_map/static/description/index.html @@ -1,20 +1,20 @@ - + - + Leaflet Map View (OpenStreetMap) + + +
+

Leaflet Map View for Partners (OpenStreetMap)

+ + +

Alpha License: AGPL-3 OCA/geospatial Translate me on Weblate Try me on Runboat

+

This module extends the web_view_leaflet_map odoo module, to add +a map view on the res.partner model.

+
+

Important

+

This is an alpha version, the data model and design can change at any time without warning. +Only for development or testing purpose, do not use in production. +More details on development status

+
+

Table of contents

+ +
+

Configuration

+

You should configure first the module web_view_leaflet_map to +enable the feature.

+
+
+

Usage

+
    +
  • go to ‘Contact’.
  • +
  • a new map icon is available.
  • +
+
+https://raw.githubusercontent.com/OCA/geospatial/16.0/web_view_leaflet_map_partner/static/description/res_partner_button.png +
+
    +
  • by clicking on it, the partners are displayed on the map, if the +latitude and longitude are defined. (see base_geolocalize module)
  • +
+
+https://raw.githubusercontent.com/OCA/geospatial/16.0/web_view_leaflet_map_partner/static/description/view_res_partner_map.png +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • GRAP
  • +
+
+ +
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

legalsylvain

+

This module is part of the OCA/geospatial project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ +