[FIX] orm: fields_view_get selection values must properly heed ir.rules: - Added private _search() method with optional uid to use when checking access rights (still using correct ir.rules) - Corrected fields_view_get's call to name_search() to use this feature instead of hardcoding user=1 which bypasses ir.rules
[FIX] orm: fields_view_get selection values must properly heed ir.rules:
- Added private _search() method with optional uid to use when checking access rights (still using correct ir.rules)
- Corrected fields_view_get's call to name_search() to use this feature instead of hardcoding user=1 which bypasses ir.rules

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server