تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3596 أدوات العرض

Hello!

Stupid question but...

The majority of time, I am searching a client by his email adress and not his name.

Or, on the searching windows, I have choose just between Name and Tag.

So, I need to go to Advanced Search - email and then I can search per email.

Is it possible to have a choose between Name, Tag and email directly? In order not go every time in Advanced Search?


Thank you a lot,


Selverine

الصورة الرمزية
إهمال
أفضل إجابة

try this in your xml file :

you have to inherit current res.partner search view, like this :

    <record id="view_res_partner_custom" model="ir.ui.view">
            <field name="name">view.res.partner.custom</field>
            <field name="model">res.partner</field>
            <field name="inherit_id" ref="base.view_res_partner_filter"/>
            <field name="arch" type="xml">
                <field name="name" position='after'>
                    <field name="email"/> 
                </field>
            </field>
        </record>

hope it works !

الصورة الرمزية
إهمال
الكاتب

It works ;-). Thank you a lot for your fast and good answer!

you're welcome :)

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
307
1
يوليو 25
388
5
مايو 25
17749
0
أبريل 25
956
1
أبريل 25
1307