summaryrefslogtreecommitdiff
path: root/ab_openstreetmap/views
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-10 15:47:32 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-10 15:47:32 +0700
commitdf0467f8e493840f3013bc58ca26fc6d98793c95 (patch)
tree05a01e1dee6bf866caaecfb5651f849fcf37cf86 /ab_openstreetmap/views
parent5ca33915f1e3d052cfa989163d43a15dbc9ddec9 (diff)
(andri) add openstreetmaps pada contact
Diffstat (limited to 'ab_openstreetmap/views')
-rw-r--r--ab_openstreetmap/views/templates.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/ab_openstreetmap/views/templates.xml b/ab_openstreetmap/views/templates.xml
new file mode 100644
index 00000000..ed82ae84
--- /dev/null
+++ b/ab_openstreetmap/views/templates.xml
@@ -0,0 +1,13 @@
+<odoo>
+ <data>
+ <template id="assets_backend" inherit_id="web.assets_backend">
+ <xpath expr="." position="inside">
+ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin=""/>
+ <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js" integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA==" crossorigin=""></script>
+ <link rel="stylesheet" href="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.css" />
+ <script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>
+ <script type="text/javascript" src="/ab_openstreetmap/static/src/js/openstreetmap_widget.js"/>
+ </xpath>
+ </template>
+ </data>
+</odoo> \ No newline at end of file