Skip to content

Commit

Permalink
Merge 9fb2230 into 1557991
Browse files Browse the repository at this point in the history
  • Loading branch information
moylop260 committed Dec 1, 2021
2 parents 1557991 + 9fb2230 commit dd6225b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint_odoo/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def _check_{NAME_KEY}(self, module_path)
self.manifest_dict = {}
self.manifest_file = None
self.is_main_odoo_module = False
if self.manifest_file and (
if self.manifest_file and os.path.basename(node.file) == '__init__.py' and (
node.name.count('.') == 0 or
node.name.endswith(self.odoo_module_name_with_ns)
):
Expand Down
Empty file.
Empty file.

0 comments on commit dd6225b

Please sign in to comment.