Browse Source

[IMP] partner search according to l10n_fr_association filters

16.0
RemiFr82 6 months ago
parent
commit
f86d0e69e3
  1. 9
      crock_base/i18n/fr.po
  2. 4
      crock_base/views/res_partner.xml

9
crock_base/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-26 14:22+0000\n"
"PO-Revision-Date: 2024-05-26 14:22+0000\n"
"POT-Creation-Date: 2024-05-27 16:14+0000\n"
"PO-Revision-Date: 2024-05-27 16:14+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -19,3 +19,8 @@ msgstr ""
#: model:ir.model,name:crock_base.model_res_partner
msgid "Contact"
msgstr ""
#. module: crock_base
#: model_terms:ir.ui.view,arch_db:crock_base.view_res_partner_filter_inherit_base
msgid "Occitanie"
msgstr ""

4
crock_base/views/res_partner.xml

@ -5,9 +5,9 @@
<field name="name">res.partner.view.search.inherit</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
<field name="priority">40</field>
<field name="arch" type="xml">
<filter name="association" position="after">
<separator />
<filter name="hexagon" position="after">
<filter name="occitanie" string="Occitanie"
domain="[('state_id','=',%(l10n_fr_state.res_country_state_languedocroussillon)d)]" />
</filter>

Loading…
Cancel
Save