odoo-addon-web-view-leaflet-map 18.0.1.1.1__py3-none-any.whl → 18.0.1.1.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/web_view_leaflet_map/README.rst +9 -1
- odoo/addons/web_view_leaflet_map/__manifest__.py +7 -4
- odoo/addons/web_view_leaflet_map/i18n/web_view_leaflet_map.pot +6 -0
- odoo/addons/web_view_leaflet_map/readme/ROADMAP.md +5 -0
- odoo/addons/web_view_leaflet_map/static/description/index.html +10 -1
- odoo/addons/web_view_leaflet_map/static/description/res_partner_large.png +0 -0
- odoo/addons/web_view_leaflet_map/static/description/res_partner_precise.png +0 -0
- odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.esm.js +24 -0
- odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.xml +24 -0
- odoo/addons/web_view_leaflet_map/static/src/{components/map-component/map_view.esm.js → views/leaflet_map/leaflet_map_renderer.esm.js} +8 -66
- odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.xml +10 -0
- odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_view.esm.js +53 -0
- {odoo_addon_web_view_leaflet_map-18.0.1.1.1.dist-info → odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info}/METADATA +10 -2
- {odoo_addon_web_view_leaflet_map-18.0.1.1.1.dist-info → odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info}/RECORD +17 -14
- odoo/addons/web_view_leaflet_map/static/src/components/map-component/map_view.xml +0 -19
- /odoo/addons/web_view_leaflet_map/static/src/{components/map-component/web_view_leaflet_map.css → views/leaflet_map/leaflet_map_renderer.css} +0 -0
- {odoo_addon_web_view_leaflet_map-18.0.1.1.1.dist-info → odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info}/WHEEL +0 -0
- {odoo_addon_web_view_leaflet_map-18.0.1.1.1.dist-info → odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@ Leaflet Map View (OpenStreetMap)
|
|
|
11
11
|
!! This file is generated by oca-gen-addon-readme !!
|
|
12
12
|
!! changes will be overwritten. !!
|
|
13
13
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
14
|
-
!! source digest: sha256:
|
|
14
|
+
!! source digest: sha256:74bf9361fbf3e37a4355f272c0cfb21bff1711d71639a7164dfe915bfc7773ab
|
|
15
15
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
16
16
|
|
|
17
17
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -137,6 +137,14 @@ Known issues / Roadmap
|
|
|
137
137
|
items if longitude and latitude are available. We could imagine other
|
|
138
138
|
kind of usages, with Polylines, Polygons, etc... See all the leaflet
|
|
139
139
|
options : https://leafletjs.com/reference.html
|
|
140
|
+
- Search bar is not implemented in this view. All records are displayed
|
|
141
|
+
for now. We should:
|
|
142
|
+
|
|
143
|
+
- implement records refresh, when adding / removing domain in the
|
|
144
|
+
search bar.
|
|
145
|
+
- implement a custom search based on the displayed map. (no need to
|
|
146
|
+
load records that are out of the scope of the current displayed
|
|
147
|
+
map).
|
|
140
148
|
|
|
141
149
|
Bug Tracker
|
|
142
150
|
===========
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{
|
|
6
6
|
"name": "Leaflet Map View (OpenStreetMap)",
|
|
7
7
|
"summary": "Add new 'leaflet_map' view, to display markers.",
|
|
8
|
-
"version": "18.0.1.1.
|
|
8
|
+
"version": "18.0.1.1.2",
|
|
9
9
|
"author": "GRAP, Odoo Community Association (OCA)",
|
|
10
10
|
"maintainers": ["legalsylvain"],
|
|
11
11
|
"website": "https://github.com/OCA/geospatial",
|
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
],
|
|
18
18
|
"assets": {
|
|
19
19
|
"web.assets_backend": [
|
|
20
|
-
"web_view_leaflet_map/static/src/
|
|
21
|
-
"web_view_leaflet_map/static/src/
|
|
22
|
-
"web_view_leaflet_map/static/src/
|
|
20
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.esm.js",
|
|
21
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.xml",
|
|
22
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.css",
|
|
23
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.esm.js",
|
|
24
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.xml",
|
|
25
|
+
"web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_view.esm.js",
|
|
23
26
|
],
|
|
24
27
|
},
|
|
25
28
|
"installable": True,
|
|
@@ -24,6 +24,12 @@ msgstr ""
|
|
|
24
24
|
msgid "Leaflet Map"
|
|
25
25
|
msgstr ""
|
|
26
26
|
|
|
27
|
+
#. module: web_view_leaflet_map
|
|
28
|
+
#. odoo-javascript
|
|
29
|
+
#: code:addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.xml:0
|
|
30
|
+
msgid "New"
|
|
31
|
+
msgstr ""
|
|
32
|
+
|
|
27
33
|
#. module: web_view_leaflet_map
|
|
28
34
|
#: model:ir.model,name:web_view_leaflet_map.model_res_users
|
|
29
35
|
msgid "User"
|
|
@@ -6,3 +6,8 @@
|
|
|
6
6
|
items if longitude and latitude are available. We could imagine other
|
|
7
7
|
kind of usages, with Polylines, Polygons, etc... See all the leaflet
|
|
8
8
|
options : <https://leafletjs.com/reference.html>
|
|
9
|
+
- Search bar is not implemented in this view. All records are displayed for now.
|
|
10
|
+
We should:
|
|
11
|
+
- implement records refresh, when adding / removing domain in the search bar.
|
|
12
|
+
- implement a custom search based on the displayed map. (no need to load records
|
|
13
|
+
that are out of the scope of the current displayed map).
|
|
@@ -372,7 +372,7 @@ ul.auto-toc {
|
|
|
372
372
|
!! This file is generated by oca-gen-addon-readme !!
|
|
373
373
|
!! changes will be overwritten. !!
|
|
374
374
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
375
|
-
!! source digest: sha256:
|
|
375
|
+
!! source digest: sha256:74bf9361fbf3e37a4355f272c0cfb21bff1711d71639a7164dfe915bfc7773ab
|
|
376
376
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
|
377
377
|
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/geospatial/tree/18.0/web_view_leaflet_map"><img alt="OCA/geospatial" src="https://img.shields.io/badge/github-OCA%2Fgeospatial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/geospatial-18-0/geospatial-18-0-web_view_leaflet_map"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/geospatial&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
|
378
378
|
<p>This module extends odoo views, to add a new kind of view, named
|
|
@@ -477,6 +477,15 @@ remove that call. see
|
|
|
477
477
|
items if longitude and latitude are available. We could imagine other
|
|
478
478
|
kind of usages, with Polylines, Polygons, etc… See all the leaflet
|
|
479
479
|
options : <a class="reference external" href="https://leafletjs.com/reference.html">https://leafletjs.com/reference.html</a></li>
|
|
480
|
+
<li>Search bar is not implemented in this view. All records are displayed
|
|
481
|
+
for now. We should:<ul>
|
|
482
|
+
<li>implement records refresh, when adding / removing domain in the
|
|
483
|
+
search bar.</li>
|
|
484
|
+
<li>implement a custom search based on the displayed map. (no need to
|
|
485
|
+
load records that are out of the scope of the current displayed
|
|
486
|
+
map).</li>
|
|
487
|
+
</ul>
|
|
488
|
+
</li>
|
|
480
489
|
</ul>
|
|
481
490
|
</div>
|
|
482
491
|
<div class="section" id="bug-tracker">
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {Component, useRef} from "@odoo/owl";
|
|
2
|
+
import {Layout} from "@web/search/layout";
|
|
3
|
+
import {MapRenderer} from "./leaflet_map_renderer.esm";
|
|
4
|
+
import {executeButtonCallback} from "@web/views/view_button/view_button_hook";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Controller class for the Map view, setting up the environment configuration.
|
|
8
|
+
*/
|
|
9
|
+
export class MapController extends Component {
|
|
10
|
+
static template = "web_view_leaflet_map.MapView";
|
|
11
|
+
static components = {Layout, MapRenderer};
|
|
12
|
+
|
|
13
|
+
setup() {
|
|
14
|
+
this.rootRef = useRef("root");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
async onClickCreate() {
|
|
18
|
+
return executeButtonCallback(this.rootRef.el, () => this.createRecord());
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
async createRecord() {
|
|
22
|
+
await this.props.createRecord();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<templates xml:space="preserve">
|
|
3
|
+
|
|
4
|
+
<t t-name="web_view_leaflet_map.MapView" owl="1">
|
|
5
|
+
<div class="h-100 overflow-auto" t-ref="root">
|
|
6
|
+
<Layout display="props.display" className="'h-100 overflow-auto'">
|
|
7
|
+
<t t-set-slot="control-panel-create-button">
|
|
8
|
+
<button
|
|
9
|
+
type="button"
|
|
10
|
+
class="btn btn-primary o_list_button_add"
|
|
11
|
+
data-hotkey="c"
|
|
12
|
+
t-on-click="onClickCreate"
|
|
13
|
+
data-bounce-button=""
|
|
14
|
+
>
|
|
15
|
+
New
|
|
16
|
+
</button>
|
|
17
|
+
</t>
|
|
18
|
+
|
|
19
|
+
<MapRenderer t-props="props" />
|
|
20
|
+
</Layout>
|
|
21
|
+
</div>
|
|
22
|
+
</t>
|
|
23
|
+
|
|
24
|
+
</templates>
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {registry} from "@web/core/registry";
|
|
2
|
-
import {useService} from "@web/core/utils/hooks";
|
|
3
|
-
import {Layout} from "@web/search/layout";
|
|
4
1
|
import {session} from "@web/session";
|
|
2
|
+
import {useService} from "@web/core/utils/hooks";
|
|
5
3
|
|
|
6
|
-
/* global L, console, document
|
|
4
|
+
/* global L, console, document */
|
|
7
5
|
|
|
8
|
-
const {Component,
|
|
6
|
+
const {Component, onWillStart, onMounted, onPatched, useRef} = owl;
|
|
9
7
|
|
|
10
8
|
export class MapRenderer extends Component {
|
|
9
|
+
static template = "web_view_leaflet_map.MapRenderer";
|
|
10
|
+
static components = {};
|
|
11
|
+
|
|
11
12
|
/**
|
|
12
13
|
* Initializes the MapRenderer component, setting up services, references, and configuration.
|
|
13
14
|
*/
|
|
15
|
+
// eslint-disable-next-line complexity
|
|
14
16
|
setup() {
|
|
15
|
-
console.log(this.props);
|
|
16
17
|
this.orm = useService("orm");
|
|
17
18
|
this.action = useService("action");
|
|
18
19
|
this.mapRef = useRef("mapContainer");
|
|
@@ -53,7 +54,6 @@ export class MapRenderer extends Component {
|
|
|
53
54
|
});
|
|
54
55
|
|
|
55
56
|
onPatched(() => {
|
|
56
|
-
console.log("onPatched");
|
|
57
57
|
if (this.leafletMap) {
|
|
58
58
|
this.renderMarkers();
|
|
59
59
|
}
|
|
@@ -179,7 +179,7 @@ export class MapRenderer extends Component {
|
|
|
179
179
|
const lng = record[this.fieldLongitude];
|
|
180
180
|
let marker = null;
|
|
181
181
|
if (!lat || !lng) {
|
|
182
|
-
console.
|
|
182
|
+
console.debug(`Record ${record.id} has no coordinates`);
|
|
183
183
|
return;
|
|
184
184
|
}
|
|
185
185
|
|
|
@@ -273,61 +273,3 @@ export class MapRenderer extends Component {
|
|
|
273
273
|
});
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
MapRenderer.template = "web_view_leaflet_map.MapRenderer";
|
|
278
|
-
MapRenderer.components = {};
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Controller class for the Map view, setting up the environment configuration.
|
|
282
|
-
*/
|
|
283
|
-
export class MapController extends Component {
|
|
284
|
-
setup() {
|
|
285
|
-
useSubEnv({
|
|
286
|
-
config: {
|
|
287
|
-
...this.env.config,
|
|
288
|
-
},
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
MapController.template = "web_view_leaflet_map.MapView";
|
|
294
|
-
MapController.components = {Layout, MapRenderer};
|
|
295
|
-
|
|
296
|
-
/**
|
|
297
|
-
* Helper function that normalize the architecture input to ensure it is an HTMLElement.
|
|
298
|
-
* @param arch
|
|
299
|
-
* @returns {HTMLElement|*}
|
|
300
|
-
*/
|
|
301
|
-
function normalizeArch(arch) {
|
|
302
|
-
if (arch && typeof arch !== "string") return arch;
|
|
303
|
-
const xml = String(arch || "");
|
|
304
|
-
const doc = new DOMParser().parseFromString(xml, "text/xml");
|
|
305
|
-
return doc.documentElement;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
/**
|
|
309
|
-
* Definition of the map view for Odoo, including its properties and components.
|
|
310
|
-
* @type {{searchMenuTypes: string[], icon: string, Renderer: MapRenderer, multiRecord: boolean, type: string, display_name: string, Controller: MapController, props: (function(*, *): *&{archInfo: {arch: *}, Renderer: MapRenderer})}}
|
|
311
|
-
*/
|
|
312
|
-
export const mapView = {
|
|
313
|
-
type: "leaflet_map",
|
|
314
|
-
display_name: "Map",
|
|
315
|
-
icon: "fa fa-map-o",
|
|
316
|
-
multiRecord: true,
|
|
317
|
-
Controller: MapController,
|
|
318
|
-
Renderer: MapRenderer,
|
|
319
|
-
searchMenuTypes: ["filter", "favorite"],
|
|
320
|
-
|
|
321
|
-
props: (genericProps) => {
|
|
322
|
-
const archEl = normalizeArch(genericProps.arch);
|
|
323
|
-
return {
|
|
324
|
-
...genericProps,
|
|
325
|
-
Renderer: MapRenderer,
|
|
326
|
-
archInfo: {
|
|
327
|
-
arch: archEl,
|
|
328
|
-
},
|
|
329
|
-
};
|
|
330
|
-
},
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
registry.category("views").add("leaflet_map", mapView);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
+
<templates xml:space="preserve">
|
|
3
|
+
|
|
4
|
+
<t t-name="web_view_leaflet_map.MapRenderer" owl="1">
|
|
5
|
+
<div class="o_leaflet_main_container h-100" t-ref="root">
|
|
6
|
+
<div t-ref="mapContainer" class="o_leaflet_map_container h-100" />
|
|
7
|
+
</div>
|
|
8
|
+
</t>
|
|
9
|
+
|
|
10
|
+
</templates>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import {MapController} from "./leaflet_map_controller.esm";
|
|
2
|
+
import {MapRenderer} from "./leaflet_map_renderer.esm";
|
|
3
|
+
import {registry} from "@web/core/registry";
|
|
4
|
+
|
|
5
|
+
/* global DOMParser */
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Helper function that normalize the architecture input to ensure it is an HTMLElement.
|
|
9
|
+
* @param arch
|
|
10
|
+
* @returns {HTMLElement|*}
|
|
11
|
+
*/
|
|
12
|
+
function normalizeArch(arch) {
|
|
13
|
+
if (arch && typeof arch !== "string") return arch;
|
|
14
|
+
const xml = String(arch || "");
|
|
15
|
+
const doc = new DOMParser().parseFromString(xml, "text/xml");
|
|
16
|
+
return doc.documentElement;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Definition of the map view for Odoo, including its properties and components.
|
|
21
|
+
* @type {{
|
|
22
|
+
* type: string,
|
|
23
|
+
* display_name: string,
|
|
24
|
+
* icon: string,
|
|
25
|
+
* multiRecord: boolean,
|
|
26
|
+
* Controller: MapController,
|
|
27
|
+
* Renderer: MapRenderer,
|
|
28
|
+
* searchMenuTypes: string[],
|
|
29
|
+
* props: (function(*, *): *&{archInfo: {arch: *}, Renderer: MapRenderer})
|
|
30
|
+
* }}
|
|
31
|
+
*/
|
|
32
|
+
export const leafletMapView = {
|
|
33
|
+
type: "leaflet_map",
|
|
34
|
+
display_name: "Map",
|
|
35
|
+
icon: "fa fa-map-o",
|
|
36
|
+
multiRecord: true,
|
|
37
|
+
Controller: MapController,
|
|
38
|
+
Renderer: MapRenderer,
|
|
39
|
+
searchMenuTypes: ["filter", "favorite"],
|
|
40
|
+
|
|
41
|
+
props: (genericProps) => {
|
|
42
|
+
const archEl = normalizeArch(genericProps.arch);
|
|
43
|
+
return {
|
|
44
|
+
...genericProps,
|
|
45
|
+
Renderer: MapRenderer,
|
|
46
|
+
archInfo: {
|
|
47
|
+
arch: archEl,
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
registry.category("views").add("leaflet_map", leafletMapView);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: odoo-addon-web_view_leaflet_map
|
|
3
|
-
Version: 18.0.1.1.
|
|
3
|
+
Version: 18.0.1.1.2
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Requires-Dist: odoo-addon-web_leaflet_lib==18.0.*
|
|
6
6
|
Requires-Dist: odoo==18.0.*
|
|
@@ -28,7 +28,7 @@ Leaflet Map View (OpenStreetMap)
|
|
|
28
28
|
!! This file is generated by oca-gen-addon-readme !!
|
|
29
29
|
!! changes will be overwritten. !!
|
|
30
30
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
31
|
-
!! source digest: sha256:
|
|
31
|
+
!! source digest: sha256:74bf9361fbf3e37a4355f272c0cfb21bff1711d71639a7164dfe915bfc7773ab
|
|
32
32
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
33
33
|
|
|
34
34
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -154,6 +154,14 @@ Known issues / Roadmap
|
|
|
154
154
|
items if longitude and latitude are available. We could imagine other
|
|
155
155
|
kind of usages, with Polylines, Polygons, etc... See all the leaflet
|
|
156
156
|
options : https://leafletjs.com/reference.html
|
|
157
|
+
- Search bar is not implemented in this view. All records are displayed
|
|
158
|
+
for now. We should:
|
|
159
|
+
|
|
160
|
+
- implement records refresh, when adding / removing domain in the
|
|
161
|
+
search bar.
|
|
162
|
+
- implement a custom search based on the displayed map. (no need to
|
|
163
|
+
load records that are out of the scope of the current displayed
|
|
164
|
+
map).
|
|
157
165
|
|
|
158
166
|
Bug Tracker
|
|
159
167
|
===========
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
odoo/addons/web_view_leaflet_map/README.rst,sha256=
|
|
1
|
+
odoo/addons/web_view_leaflet_map/README.rst,sha256=jjOnQerGoTIsFBLJeCJnhwWe-h0Fj-0m6-UsJF5XWAY,7333
|
|
2
2
|
odoo/addons/web_view_leaflet_map/__init__.py,sha256=lHbcD_3Jhk02gKyANjQ1Bif8uknO8qLtRSK4lJNPeeQ,55
|
|
3
|
-
odoo/addons/web_view_leaflet_map/__manifest__.py,sha256=
|
|
3
|
+
odoo/addons/web_view_leaflet_map/__manifest__.py,sha256=WIkj3fDkPC5SPFtzTELQ3rOSkxnYFdLRsPqUUAI4ALs,1296
|
|
4
4
|
odoo/addons/web_view_leaflet_map/hooks.py,sha256=VWhMUWedPCg8oZxqJCladNBaU9NvJMBJI6BlYKXNcEM,685
|
|
5
5
|
odoo/addons/web_view_leaflet_map/i18n/fr.po,sha256=xSXoIxogfegwOztumHeW5R4xxUooxHsDPCcoqQEgm0k,2102
|
|
6
6
|
odoo/addons/web_view_leaflet_map/i18n/it.po,sha256=RjAJVMbLRt2eJZ-YG2gb_yGGEfB9idHfZZt7Y_ehU0Y,1761
|
|
7
|
-
odoo/addons/web_view_leaflet_map/i18n/web_view_leaflet_map.pot,sha256=
|
|
7
|
+
odoo/addons/web_view_leaflet_map/i18n/web_view_leaflet_map.pot,sha256=S6I9-CMdFVyClUbdjKkErD7pqqe6GxYYqNJkzMrYRxA,1459
|
|
8
8
|
odoo/addons/web_view_leaflet_map/models/__init__.py,sha256=K0P7QAr_t6UHNt0nbpDhqpH4-zILR1hpfNip3VUtouc,82
|
|
9
9
|
odoo/addons/web_view_leaflet_map/models/ir_act_window_view.py,sha256=NfjklK_VNBCuuXn0X22uQzWr9iOJWeT2oN-qXwwDhqQ,499
|
|
10
10
|
odoo/addons/web_view_leaflet_map/models/ir_ui_view.py,sha256=6K_zmkC44ymIDNycqo2KxFq3brsrd6tvm_JpjIlebdw,518
|
|
@@ -13,15 +13,18 @@ odoo/addons/web_view_leaflet_map/readme/CONFIGURE.md,sha256=X0jv_nRhCoSaQ3ZqwOqr
|
|
|
13
13
|
odoo/addons/web_view_leaflet_map/readme/CONTRIBUTORS.md,sha256=MBsB-NNU4QMO7gTa_ZRympiiIQwyMPYqq4M3-PbwbHM,58
|
|
14
14
|
odoo/addons/web_view_leaflet_map/readme/DESCRIPTION.md,sha256=D2_dBJqIgPwUWBL-JnqAXh8LezKNEup1nPB9v10-RBo,878
|
|
15
15
|
odoo/addons/web_view_leaflet_map/readme/DEVELOP.md,sha256=kiVt9qT6SC6Uh9fY0qqSpaI9HSeC67Ppi0b7O7iGPfg,1968
|
|
16
|
-
odoo/addons/web_view_leaflet_map/readme/ROADMAP.md,sha256=
|
|
16
|
+
odoo/addons/web_view_leaflet_map/readme/ROADMAP.md,sha256=LEGUvn8BNbLJ4mgUOA5_wgRLQ96qKzGhk-GRADXu9us,816
|
|
17
17
|
odoo/addons/web_view_leaflet_map/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
|
|
18
|
-
odoo/addons/web_view_leaflet_map/static/description/index.html,sha256=
|
|
19
|
-
odoo/addons/web_view_leaflet_map/static/description/res_partner_large.png,sha256=
|
|
20
|
-
odoo/addons/web_view_leaflet_map/static/description/res_partner_precise.png,sha256=
|
|
21
|
-
odoo/addons/web_view_leaflet_map/static/src/
|
|
22
|
-
odoo/addons/web_view_leaflet_map/static/src/
|
|
23
|
-
odoo/addons/web_view_leaflet_map/static/src/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
odoo_addon_web_view_leaflet_map-18.0.1.1.
|
|
18
|
+
odoo/addons/web_view_leaflet_map/static/description/index.html,sha256=ki_IyFZgzd_LIr2rn29rQDLHUL837Z7B0BPzum3Yuh8,20785
|
|
19
|
+
odoo/addons/web_view_leaflet_map/static/description/res_partner_large.png,sha256=wkjGS9Yc-b5fJEINpp1RwbGMd1DdIkDZVUCC94VYYXs,134800
|
|
20
|
+
odoo/addons/web_view_leaflet_map/static/description/res_partner_precise.png,sha256=wkjGS9Yc-b5fJEINpp1RwbGMd1DdIkDZVUCC94VYYXs,134800
|
|
21
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.esm.js,sha256=Y-dTiyZa3BhyoT5qxcgh96CSU1Yzo1P1pHv4XE6qGC0,714
|
|
22
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_controller.xml,sha256=qbir26ccYwWLLwFrHDCf4lK0LI1LYVQhdswkEQZywew,802
|
|
23
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.css,sha256=Tp3SfDNuSPCN32sh_HlSmiF3AYWlvxlzSp8u3NCAHiA,1527
|
|
24
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.esm.js,sha256=PtoiMfYGkdMUUC3kM7eJdo3uQ9xlFVIOqxvfVJ6dI9k,8838
|
|
25
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_renderer.xml,sha256=6Mewk0Ak7ILUsj_5gMMPbqvm1iz7CVv_FZ9dmhJY9eQ,315
|
|
26
|
+
odoo/addons/web_view_leaflet_map/static/src/views/leaflet_map/leaflet_map_view.esm.js,sha256=Ueip83K8KxE9KMwNs9fVBsjwkOcbi_khw1qdrJdy1KM,1498
|
|
27
|
+
odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info/METADATA,sha256=UVAssRWGa9B-NXLjZHp6MFU23vDAtNaI7wLeos_8Lnk,7946
|
|
28
|
+
odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info/WHEEL,sha256=ZhOvUsYhy81Dx67gN3TV0RchQWBIIzutDZaJODDg2Vo,81
|
|
29
|
+
odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
|
|
30
|
+
odoo_addon_web_view_leaflet_map-18.0.1.1.2.dist-info/RECORD,,
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
-
<templates xml:space="preserve">
|
|
3
|
-
|
|
4
|
-
<t t-name="web_view_leaflet_map.MapView" owl="1">
|
|
5
|
-
<Layout display="props.display" className="'h-100'">
|
|
6
|
-
<t t-set-slot="control-panel-bottom-right">
|
|
7
|
-
<div />
|
|
8
|
-
</t>
|
|
9
|
-
<MapRenderer t-props="props" />
|
|
10
|
-
</Layout>
|
|
11
|
-
</t>
|
|
12
|
-
|
|
13
|
-
<t t-name="web_view_leaflet_map.MapRenderer" owl="1">
|
|
14
|
-
<div class="o_leaflet_main_container h-100">
|
|
15
|
-
<div t-ref="mapContainer" class="o_leaflet_map_container h-100" />
|
|
16
|
-
</div>
|
|
17
|
-
</t>
|
|
18
|
-
|
|
19
|
-
</templates>
|
|
File without changes
|
|
File without changes
|