47f08bf9d36b868f24cef32ee3962da8f5580e62
Currently the search methods defined on ``phone_mobile_search`` field forces the usage of ``phone`` and ``mobile`` fields on model. This currently works on models using by default this search field (lead and partner). However this breaks on any model not having those two fields and inheriting from the 'mail.thread.phone' mixin. In this commit we use the result of ``_phone_get_number_fields`` to know which fields to use in the SQL query. Tests are added to ensure it works as intended. Task-3012789 X-original-commit: 6b235868da6fed1b2a0eaa7a25dc2202c6fefaa0 Part-of: odoo/odoo#104111
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%