yezyilomo / odoo-rest-api

Module which expose Odoo as a REST API
MIT License
202 stars 162 forks source link

Filtering on phone numbers with a + prefix #71

Open dv8inpp opened 2 years ago

dv8inpp commented 2 years ago

I can filter on USERS_URL = 'http://192.168.1.231:8069/api/res.partner/?query={id, phone, name, company_id{name}}&filter=[["phone", "=", "12345678"]]'

but cant filter on USERS_URL = 'http://192.168.1.231:8069/api/res.partner/?query={id, phone, name, company_id{name}}&filter=[["phone", "=", "+12345678"]]'

Is this a bug or misuse of the filter function