summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2025-06-11 07:44:25 +0000
committerIT Fixcomart <it@fixcomart.co.id>2025-06-11 07:44:25 +0000
commit9c31b4af2a2611fe9338e879eee48957273dbe10 (patch)
tree8206e920fe8a3652b891fd9ffdbf2f5fb51312b6 /indoteknik_custom/views
parent1a63fac5f7f4dbb2990e5b1eeb9d7f381f39e908 (diff)
parent771cd3b9f5c0a6594b6e276bc47e3599d6c751e4 (diff)
Merged in gmaps-biteship (pull request #328)
Gmaps biteship
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/res_partner.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/indoteknik_custom/views/res_partner.xml b/indoteknik_custom/views/res_partner.xml
index 9fb6530c..6acfeaa0 100644
--- a/indoteknik_custom/views/res_partner.xml
+++ b/indoteknik_custom/views/res_partner.xml
@@ -65,10 +65,20 @@
<group name="purchase" position="inside">
<field name="leadtime"/>
</group>
- <field name="vat" position="before">
- <field name="latitude"/>
- <field name="longtitude"/>
- </field>
+ <xpath expr="//notebook/page[@name='contact_addresses']" position="before">
+ <page string="Pin Point Location" name="map_location" autofocus="autofocus">
+ <group>
+ <button name="geocode_address" type="object" string="Get Pin Point Location" class="btn btn-primary"/>
+ </group>
+ <div style="margin: 16px 0;">
+ <field name="map_view" widget="openstreetmap" nolabel="1" style="width: 100%;"/>
+ </div>
+ <group>
+ <field name="latitude" readonly="1"/>
+ <field name="longtitude" readonly="1"/>
+ </group>
+ </page>
+ </xpath>
<field name="vat" position="after">
<field name="email_finance" widget="email"/>
<field name="email_sales" widget="email"/>
@@ -82,6 +92,15 @@
<field name="main_parent_id" invisible="1" />
<field name="site_id" attrs="{'readonly': [('parent_id', '=', False)]}" domain="[('partner_id', '=', main_parent_id)]" context="{'default_partner_id': active_id}" />
</xpath>
+ <xpath expr="//field[@name='child_ids']/form/sheet/group" position="after">
+ <div class="oe_left" style="margin-top: 16px;">
+ <button name="action_open_full_form"
+ type="object"
+ string="Detail Information"
+ class="btn btn-primary"
+ />
+ </div>
+ </xpath>
<xpath expr="//field[@name='property_payment_term_id']" position="attributes">
<attribute name="readonly">0</attribute>
</xpath>