summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndoteknik . <it@fixcomart.co.id>2025-06-16 08:07:03 +0700
committerIndoteknik . <it@fixcomart.co.id>2025-06-16 08:07:03 +0700
commitb20b6ada9b13ea40732de14e7ce356f28df40a6b (patch)
tree8e03b84aff6c51d658e7b9b0a455c5f893833829
parent8718c383e39440f83d6579ef536478053e623bc3 (diff)
(andri) revisi pesan help pada address_map & nonaktifkan button get pin point location sebab GMAPS sudah bisa
-rw-r--r--indoteknik_custom/models/res_partner.py2
-rw-r--r--indoteknik_custom/views/res_partner.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py
index 380761b4..986ff786 100644
--- a/indoteknik_custom/models/res_partner.py
+++ b/indoteknik_custom/models/res_partner.py
@@ -149,7 +149,7 @@ class ResPartner(models.Model):
longtitude = fields.Char(string='Longtitude')
latitude = fields.Char(string='Latitude')
map_view = fields.Char(string='Map')
- address_map = fields.Char(string='Address Map', help='Ini adalah alamat yang didapatkan dari pin point pada peta')
+ address_map = fields.Char(string='Address Map', help='Ini adalah alamat yang didapatkan dari pin point pada peta, bila hasil alamat tidak sesuai, silahkan ubah alamat pada field Alamat Lengkap', tracking=3)
company_type = fields.Selection(string='Company Type',
selection=[('person', 'Individual'), ('company', 'Company')],
compute='_compute_company_type', inverse='_write_company_type', tracking=3)
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index 30b5ca36..2a4b03a7 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -67,9 +67,9 @@
</group>
<xpath expr="//notebook/page[@name='contact_addresses']" position="before">
<page string="Pin Point Location" name="map_location">
- <group>
+ <!-- <group>
<button name="geocode_address" type="object" string="Get Pin Point Location" class="btn btn-primary"/>
- </group>
+ </group> -->
<div style="margin: 16px 0;">
<field name="map_view" widget="googlemap" nolabel="1"/>
</div>