Commit Graph

10 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
Juan Jose Scarafia d962ad0c5f [FIX] base_name_search_improved: tests 2022-11-29 08:46:54 -03:00
Juan Jose Scarafia 8133a2ede6 [IMP] base_name_search_improved: better ux 2022-11-29 08:46:54 -03:00
Kitti U e37419adda [14.0][MIG] base_name_search_improved 2022-11-29 08:46:54 -03:00
Juan Jose Scarafia 323645077e [IMP] base_name_search_improved: run pre commit again 2022-11-29 08:46:54 -03:00
Juan Jose Scarafia bebd42a4a2 [IMP] base_name_search_improved: add v12 imp 2022-11-29 08:46:54 -03:00
Juan Jose Scarafia 21daec5241 [IMP] base_name_search_improved: black, isort, prettier 2022-11-29 08:46:54 -03:00
Katherine Zaoral 36c1bdc975 [MIG] base_name_search_improved: Migration to 11.0
- Descriptor: change __openerp__.py file to __manifest__.py also update module
  version from 9.0.1.0.0 to 11.0.1.0.0
- Update README using guideline
- Views: replace view tag openerp to odoo and rename files to match guideline
- Models

  - update imports from openerp to odoo
  - remove enconding line # -*- coding: utf-8 -*-
  - update to make it compatible
  - remove use of SUPERUSER_ID use sudo instead.
  - rename class name to make it match with guideline.
  - update methods to match api used in version 11.0
  - fix pylint errors
  - replace use of non exist self._model with self._name
  - use `Model `is not None instead of if `Model` this becuase the last one is
    a empty recordset and this one was evaluate to False and never was
    patching the method.

- apply changes resquested/suggested in the PR by the reviewers.
2022-11-29 08:46:54 -03:00
Daniel Reis 23f1eb792d Test if additional domain is honored 2022-11-29 08:46:54 -03:00
Daniel Reis aa9b06681c Return all results from the several methods, ordered by best match 2022-11-29 08:46:54 -03:00
Daniel Reis afa8e9042f base_name_search_improved: friendly and powerful name search 2022-11-29 08:46:54 -03:00