Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module_analysis/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"data/ir_module_type_rule.xml",
],
"external_dependencies": {
"python": ["pygount==1.4.0"],
"python": ["pygount"],
},
"post_init_hook": "analyse_installed_modules",
"installable": True,
Expand Down
8 changes: 4 additions & 4 deletions module_analysis/models/ir_module_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ def _get_analyse_settings(self):
field_name: Odoo field name to store the analysis
"""
return {
".py": {"code": "python_code_qty"},
".xml": {"code": "xml_code_qty"},
".js": {"code": "js_code_qty"},
".css": {"code": "css_code_qty"},
".py": {"code_count": "python_code_qty"},
".xml": {"code_count": "xml_code_qty"},
".js": {"code_count": "js_code_qty"},
".css": {"code_count": "css_code_qty"},
}

@api.model
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ odoo_test_helper
odoorpc
openpyxl
openupgradelib
pygount==1.4.0
pygount
pysftp
sentry_sdk<=1.9.0