2018-01-16 06:58:15 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-16 11:34:37 +01:00
|
|
|
<flectra>
|
2018-01-16 06:58:15 +01:00
|
|
|
<record id="view_crm_partner_geo_form" model="ir.ui.view">
|
|
|
|
<field name="name">res.partner.geolocation.inherit</field>
|
|
|
|
<field name="model">res.partner</field>
|
|
|
|
<field name="inherit_id" ref="base.view_partner_form"/>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<xpath expr="//notebook[last()]" position="inside">
|
|
|
|
<page string="Partner Assignation" name="geo_location">
|
|
|
|
<!-- something to do here -->
|
|
|
|
<group colspan="2" col="2">
|
|
|
|
<separator string="Geolocation" colspan="2"/>
|
|
|
|
<button
|
|
|
|
string="Geolocate"
|
|
|
|
name="geo_localize"
|
|
|
|
colspan="2"
|
|
|
|
icon="fa-check"
|
|
|
|
type="object"/>
|
|
|
|
<div>
|
|
|
|
<span class="oe_inline"> ( On </span>
|
|
|
|
<field name="date_localization" nolabel="1" class="oe_inline"/>
|
|
|
|
<span> : Lat : </span>
|
|
|
|
<field name="partner_latitude" nolabel="1" class="oe_inline"/>
|
|
|
|
<span> ; Long: </span>
|
|
|
|
<field name="partner_longitude" nolabel="1" class="oe_inline"/>
|
|
|
|
<span>) </span>
|
|
|
|
</div>
|
|
|
|
</group>
|
|
|
|
</page>
|
|
|
|
</xpath>
|
|
|
|
</field>
|
|
|
|
</record>
|
2018-01-16 11:34:37 +01:00
|
|
|
</flectra>
|