Browse Source

publish muk_web_utils - 12.0

pull/48/head
MuK IT GmbH 6 years ago
parent
commit
737e65056d
  1. 2
      muk_web_utils/__manifest__.py
  2. 2
      muk_web_utils/controllers/backend.py

2
muk_web_utils/__manifest__.py

@ -20,7 +20,7 @@
{ {
"name": "MuK Web Utils", "name": "MuK Web Utils",
"summary": """Utility Features""", "summary": """Utility Features""",
"version": "12.0.2.8.2",
"version": "12.0.2.8.3",
"category": "Extra Tools", "category": "Extra Tools",
"license": "AGPL-3", "license": "AGPL-3",
"author": "MuK IT", "author": "MuK IT",

2
muk_web_utils/controllers/backend.py

@ -30,5 +30,5 @@ class BackendController(http.Controller):
def max_upload_size(self, **kw): def max_upload_size(self, **kw):
params = request.env['ir.config_parameter'].sudo() params = request.env['ir.config_parameter'].sudo()
return { return {
'max_upload_size': int(params.get_param("muk_dms.max_upload_size", default=25))
'max_upload_size': int(params.get_param("muk_web_utils.max_upload_size", default=25))
} }
Loading…
Cancel
Save