This module is a technical module, that remove a bad implementation of _name_search
function
for the model res.partner
.
In odoo, the _name_search
function has a bad behaviour :
- if name field is not set, a super of _search
function is called
- but if name field is set, an hardcoded SQL request function is done.
This implementation prevent to overload properly the _search
function, and breaks ACL restrictions.
This module restore the default _name_search
function for the model res.partner
,
writen in the models.py
file.
Table of contents
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
- GRAP
- Sylvain LE GAL <https://twitter.com/legalsylvain>
This module is part of the grap/grap-odoo-incubator project on GitHub.
You are welcome to contribute.