Files
odoo_source/addons/base_geolocalize/views/res_partner_view.xml
T
Gaurav Panchal 6b55539dc7 [IMP] res_partner: form view cleaning
Better display of contacts, simplified contact creation, use default image
for shipping and delivery, and various fixes and improvements in the
form view.

Main impacted addons :

 - account: add a bank_account_count field and stat button that replaces the
 2many field
 - base_vat: remove the button to check vat, as there is already a constraint
 and removed and unused import
 - payment: add a payment_method_count field and stat button that replaces
 the 2many field
2015-08-18 10:51:27 +02:00

37 lines
1.6 KiB
XML

<?xml version="1.0"?>
<openerp>
<data>
<record id="view_crm_partner_geo_form" model="ir.ui.view">
<field name="name">res.partner.geo.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="Geo Location" colspan="2"/>
<button
string="Geo Localize"
name="geo_localize"
colspan="2"
icon="gtk-apply"
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>
</data>
</openerp>