diff --git a/controllers/main.py b/controllers/main.py
index 759eaaa6f7427a1403bc6c21382f975eacb8fba0..de325bdf35f3890cd9bdf4a01c4ed82b2fd9a4f7 100644
--- a/controllers/main.py
+++ b/controllers/main.py
@@ -3,8 +3,7 @@
import json
-from odoo import http
-from odoo import exceptions
+from odoo import exceptions, http
from odoo.http import request
@@ -13,19 +12,27 @@ class ReleaseAgent(http.Controller):
# Routes
# ------------------------------------------------------
@http.route(
- ["/get-modules"], type="http", auth="none", method=["GET"], csrf=False,
+ ["/get-modules"],
+ type="http",
+ auth="none",
+ method=["GET"],
+ csrf=False,
)
def get_modules(self):
db_header = request.httprequest.headers.get("DbName", False)
if db_header and db_header == request.db:
- modules = request.env["ir.module.module"].sudo().search([
- ("state", "=", "installed")
- ])
- res = modules.mapped(lambda m: {
- "name": m.name,
- "author": m.author,
- "author_type": self.get_author_type(m),
- })
+ modules = (
+ request.env["ir.module.module"]
+ .sudo()
+ .search([("state", "=", "installed")])
+ )
+ res = modules.mapped(
+ lambda m: {
+ "name": m.name,
+ "author": m.author,
+ "author_type": self.get_author_type(m),
+ }
+ )
return http.Response(
response=json.dumps(res),
headers=[("Content-Type", "application/json")],
diff --git a/static/description/menu_icon.png b/static/description/menu_icon.png
deleted file mode 100644
index a5aebcac42b215e9b7f559d4fa85da99bcdc78c1..0000000000000000000000000000000000000000
Binary files a/static/description/menu_icon.png and /dev/null differ