26 lines
1009 B
XML
26 lines
1009 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data>
|
|
<record id="view_res_country_city_extended_form" model="ir.ui.view">
|
|
<field name="model">res.country</field>
|
|
<field name="inherit_id" ref="base.view_country_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
|
|
<button name="%(action_res_city_tree)d"
|
|
class="oe_stat_button"
|
|
icon="fa-globe"
|
|
type="action"
|
|
context="{'default_country_id': id, 'search_default_country_id': id}">
|
|
<div class="o_field_widget o_stat_info">
|
|
<span class="o_stat_text">Cities</span>
|
|
</div>
|
|
</button>
|
|
</xpath>
|
|
<xpath expr="//field[@name='phone_code']" position="after">
|
|
<field name="enforce_cities"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</odoo>
|