Commit Graph

3 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
Juan Jose Scarafia bebd42a4a2 [IMP] base_name_search_improved: add v12 imp 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 afa8e9042f base_name_search_improved: friendly and powerful name search 2022-11-29 08:46:54 -03:00