mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-15 02:32:04 +00:00
3cff39fa65
This reverts merge request !3
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<flectra>
|
|
<record id="view_country_search" model="ir.ui.view">
|
|
<field name="name">res.country.search</field>
|
|
<field name="model">res.country</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Country">
|
|
<field name="name" />
|
|
<field name="code" />
|
|
</search>
|
|
</field>
|
|
</record>
|
|
<record id="view_res_country_city_better_zip_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_zip_tree)d"
|
|
class="oe_stat_button"
|
|
icon="fa-globe"
|
|
type="action"
|
|
context="{'default_country_id': active_id, 'search_default_country_id': active_id}"
|
|
string="Zips"
|
|
>
|
|
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</flectra>
|