diff --git a/module_analysis/README.rst b/module_analysis/README.rst
index 0d1236fdb..a042c6732 100644
--- a/module_analysis/README.rst
+++ b/module_analysis/README.rst
@@ -17,13 +17,13 @@ Module Analysis
:target: https://github.com/OCA/server-tools/tree/13.0/module_analysis
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
- :target: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-module_analysis
+ :target: https://translation.odoo-community.org/projects/server-tools-13-0/server-tools-13-0-module_analysis
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/149/13.0
:alt: Try me on Runbot
-|badge1| |badge2| |badge3| |badge4| |badge5|
+|badge1| |badge2| |badge3| |badge4| |badge5|
This module allows you to know 'how much code' is running on your Odoo
instance, group by 'Type' (Odoo Core, OCA, other...)
@@ -140,14 +140,13 @@ Open the stats to analyse the detail of the code installed
.. image:: https://raw.githubusercontent.com/OCA/server-tools/13.0/module_analysis/static/description/analysis_pie.png
-
Bug Tracker
===========
Bugs are tracked on `GitHub Issues `_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
-`feedback `_.
+`feedback `_.
Do not contact contributors directly about support or help with technical issues.
diff --git a/module_analysis/i18n/module_analysis.pot b/module_analysis/i18n/module_analysis.pot
index 3bff3c3db..c8a53b9b6 100644
--- a/module_analysis/i18n/module_analysis.pot
+++ b/module_analysis/i18n/module_analysis.pot
@@ -1,12 +1,12 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
-# * module_analysis
+# * module_analysis
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
-"Last-Translator: <>\n"
+"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -192,7 +192,7 @@ msgid "Settings"
msgstr ""
#. module: module_analysis
-#: sql_constraint:ir.module.author:0
+#: model:ir.model.constraint,message:module_analysis.constraint_ir_module_author_name_uniq
msgid "The name of the modules author should be unique per database!"
msgstr ""
@@ -210,4 +210,3 @@ msgstr ""
#: model:ir.model.fields,field_description:module_analysis.field_ir_module_module__xml_code_qty
msgid "XML Code Quantity"
msgstr ""
-
diff --git a/module_analysis/models/ir_module_module.py b/module_analysis/models/ir_module_module.py
index db9148530..a372dbc16 100644
--- a/module_analysis/models/ir_module_module.py
+++ b/module_analysis/models/ir_module_module.py
@@ -156,6 +156,8 @@ class IrModuleModule(models.Model):
self, path, file_extensions, exclude_directories, exclude_files
):
res = []
+ if not path:
+ return res
for root, _, files in os.walk(path, followlinks=True):
if set(Path(root).parts) & set(exclude_directories):
continue
diff --git a/module_analysis/static/description/index.html b/module_analysis/static/description/index.html
index 3d9a78736..309193735 100644
--- a/module_analysis/static/description/index.html
+++ b/module_analysis/static/description/index.html
@@ -490,7 +490,7 @@ You can change the default settings.
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
-feedback.
+feedback.
Do not contact contributors directly about support or help with technical issues.