Skip to content

Commit

Permalink
Merge 7513e04 into 1557991
Browse files Browse the repository at this point in the history
  • Loading branch information
moylop260 committed Dec 1, 2021
2 parents 1557991 + 7513e04 commit a861cc4
Showing 1 changed file 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

0 comments on commit a861cc4

Please sign in to comment.