summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/res_partner.py2
-rw-r--r--indoteknik_custom/views/res_partner.xml2
2 files changed, 1 insertions, 3 deletions
diff --git a/indoteknik_custom/models/res_partner.py b/indoteknik_custom/models/res_partner.py
index a15398c7..eeb8b67d 100644
--- a/indoteknik_custom/models/res_partner.py
+++ b/indoteknik_custom/models/res_partner.py
@@ -545,7 +545,6 @@ class ResPartner(models.Model):
'Kota': rec.kota_id.name if rec.kota_id else '',
'Kode Pos': rec.zip,
'Provinsi': rec.state_id.name if rec.state_id else '',
- 'Negara': rec.country_id.name if rec.country_id else '',
}
# Cek jika ada yang kosong
@@ -563,7 +562,6 @@ class ResPartner(models.Model):
required_fields['Kota'],
required_fields['Kode Pos'],
required_fields['Provinsi'],
- required_fields['Negara'],
])
# Ambil API Key
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index 6acfeaa0..85ee5ef0 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -66,7 +66,7 @@
<field name="leadtime"/>
</group>
<xpath expr="//notebook/page[@name='contact_addresses']" position="before">
- <page string="Pin Point Location" name="map_location" autofocus="autofocus">
+ <page string="Pin Point Location" name="map_location">
<group>
<button name="geocode_address" type="object" string="Get Pin Point Location" class="btn btn-primary"/>
</group>