database - Non Case sensitive in ORM search method in openerp -


ओआरपी विधि में OpenERP

strong>। मैं डेटाबेस में डुप्लिकेट पंक्तियों को निम्नानुसार खोजता हूं:

  duplicate_ids = sns_obj.search (cr, uid, [('country_id', '=', country_id), ('keyword_list', '  केस-संवेदनशील    

मैं मामला-संवेदी

  पूर्व: देश_आईडी में, "वियतनाम" = "वियतनाम" या ऐसा कुछ   

धन्यवाद

आपकी समस्या का हल ऑपरेटर ilike

  duplicate_ids = sns_obj.search (cr , ('मूल', 'आईआईएल', मूल)]) (, 'आईआईएलई', देश_आईडी), ('keyword_list', 'आईआईएलई', फाइनल_स्ट्रैक)]   < / div> 

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -