Browse Source

[FIX] country search view + xmlids

16.0
RemiFr82 6 months ago
parent
commit
88eb917b10
  1. 5
      l10n_fr_association/__manifest__.py
  2. 6
      l10n_fr_association/i18n/fr.po
  3. 1
      l10n_fr_association/views/res_country.xml
  4. 4
      l10n_fr_association/views/res_partner_relation_type.xml

5
l10n_fr_association/__manifest__.py

@ -18,7 +18,12 @@
"contacts",
"l10n_fr",
"l10n_fr_department_state",
"partner_contact_age_range",
"partner_contact_gender",
"partner_contact_majority",
"partner_contact_persons",
"partner_multi_relation",
"partner_firstname",
],
"data": [
# Base data

6
l10n_fr_association/i18n/fr.po

@ -6,8 +6,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0-20230613\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-27 16:13+0000\n"
"PO-Revision-Date: 2024-05-27 16:13+0000\n"
"POT-Creation-Date: 2024-05-29 12:59+0000\n"
"PO-Revision-Date: 2024-05-29 12:59+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -368,7 +368,7 @@ msgid "Project update"
msgstr "Màj du Projet"
#. module: l10n_fr_association
#: model_terms:ir.ui.view,arch_db:l10n_fr_association.form_res_partner_relation_type_inherit_ffck
#: model_terms:ir.ui.view,arch_db:l10n_fr_association.form_res_partner_relation_type_inherit_asso
msgid "Properties"
msgstr "Propriétés"

1
l10n_fr_association/views/res_country.xml

@ -18,6 +18,7 @@
<field name="model">res.country</field>
<field name="arch" type="xml">
<search>
<field name="name" filter_domain="['|', ('name', 'ilike', self), ('code', 'ilike', self)]" />
<filter name="french" string="French" domain="[('is_french', '=', True)]" />
<filter name="europe" string="Europe" domain="[('country_group_ids', 'in', %(base.europe)d)]" />
<group name="group_by" expand="0">

4
l10n_fr_association/views/res_partner_relation_type.xml

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="form_res_partner_relation_type_inherit_ffck" model="ir.ui.view">
<record id="form_res_partner_relation_type_inherit_asso" model="ir.ui.view">
<field name="name">res.partner.relation.type.view.form.inherit</field>
<field name="model">res.partner.relation.type</field>
<field name="inherit_id" ref="partner_multi_relation.form_res_partner_relation_type" />
@ -23,7 +23,7 @@
</field>
</record>
<record id="tree_res_partner_relation_type_inherit_ffck" model="ir.ui.view">
<record id="tree_res_partner_relation_type_inherit_asso" model="ir.ui.view">
<field name="name">res.partner.relation.type.view.tree.inherit</field>
<field name="model">res.partner.relation.type</field>
<field name="inherit_id" ref="partner_multi_relation.tree_res_partner_relation_type" />

Loading…
Cancel
Save