server-tools
server-tools copied to clipboard
[14.0][FIX] base_name_search_improved: avoid error search type query
Step to test:
- install module
accountandbase_name_search_improved - Go to Settings > Smart Searches > active model
Analytic Accountand add somefield to search - Create new invoice/bill and search value in analytic account. it will error.
it error because some module like account.analytic.account will return result to query not list.
Please review #2940 that should solve all the problems.
Closing in favour of https://github.com/OCA/server-tools/pull/2940. Thanks for noting the issue and proposing your fix though!