Browse Source

publish muk_web_utils - 12.0

pull/115/head
MuK IT GmbH 5 years ago
parent
commit
6ab318c0d2
  1. 2
      muk_web_utils/__manifest__.py
  2. 1
      muk_web_utils/controllers/attachment.py

2
muk_web_utils/__manifest__.py

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

1
muk_web_utils/controllers/attachment.py

@ -40,6 +40,7 @@ class AttachmentController(http.Controller):
'type': 'binary',
'public': False,
'temporary': tmp,
'mimetype': ufile.mimetype if ufile.mimetype and ufile.mimetype != 'application/octet-stream' else None,
})
attachment.generate_access_token()
base_url = request.env['ir.config_parameter'].sudo().get_param('web.base.url')

Loading…
Cancel
Save