Community mailing list archives

community@mail.odoo.com

Re: domain operator in is case sensitive

by
Skillteam, Houssine BAKKALI
- 09/11/2016 07:59:36
finally i've lowered the case of the field in the db.

would be nice to have such operator in the futur.

2016-09-10 12:07 GMT+02:00 Graeme Gellatly <gdgellatly@gmail.com>:

Then a functional stored field that is basically str.lower() is the best solution.


On Sat, 10 Sep 2016 7:18 PM Houssine BAKKALI <houssine.bakkali@gmail.com> wrote:

Tha list of values can be quiet long. So I'm afraid it's not applicable in my use can.

Thanks for your answer though.


Le 9 sept. 2016 11:37 PM, "Daniel Reis" <dreis.pt@hotmail.com> a écrit :
Use an OR with several ILIKEs.

--
Daniel

No dia 09/09/2016, às 09:34, Houssine BAKKALI <houssine.bakkali@gmail.com> escreveu:

Hi Community,

I was wondering if there is a way to have a domain filter that check if a field value is in a list of value but without taking care of case insensitive way?

for example searching partner with email is in a list of emails but partner that have their email with a letter capitalized aren't returned... Same can go for names...

=ilike operator do not seem to apply on list...

Maybe I'm not aware of a operator allowing this

Thanks for your answer
Houssine

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe