Browse Source

..

pull/64/head
Mathias Markl 7 years ago
parent
commit
d96f35eef6
  1. 2
      muk_web_export_attachment/__manifest__.py
  2. 2
      muk_web_export_attachment/wizards/convert.py
  3. 2
      muk_web_preview_mail/__manifest__.py
  4. 4
      muk_web_preview_mail/controllers/main.py
  5. 2
      muk_web_preview_msoffice/__manifest__.py
  6. 4
      muk_web_preview_msoffice/controllers/main.py
  7. 2
      muk_web_preview_rst/__manifest__.py
  8. 8
      muk_web_preview_rst/controllers/main.py

2
muk_web_export_attachment/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Export Attachment",
"summary": """Export Odoo Attachments""",
"version": "11.0.1.1 .0",
"version": "11.0.1.1.1",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

2
muk_web_export_attachment/wizards/convert.py

@ -25,7 +25,7 @@ import mimetypes
from odoo import _, api, fields, models
from odoo.addons.muk_utils.http import get_response
from odoo.addons.muk_utils.tools.http import get_response
from odoo.addons.muk_converter.tools import converter
_logger = logging.getLogger(__name__)

2
muk_web_preview_mail/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Preview Mail",
"summary": """Mail Preview""",
"version": "11.0.2.0.0",
"version": "11.0.2.0.1",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

4
muk_web_preview_mail/controllers/main.py

@ -29,8 +29,8 @@ import werkzeug
from odoo import _, http
from odoo.http import request, Response
from odoo.addons.muk_utils.http import get_response
from odoo.addons.muk_utils.http import make_error_response
from odoo.addons.muk_utils.tools.http import get_response
from odoo.addons.muk_utils.tools.http import make_error_response
_logger = logging.getLogger(__name__)

2
muk_web_preview_msoffice/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Preview MS Office",
"summary": """MS Office Preview""",
"version": "11.0.2.0.0",
"version": "11.0.2.0.1",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

4
muk_web_preview_msoffice/controllers/main.py

@ -26,8 +26,8 @@ import werkzeug
from odoo import _, http
from odoo.http import request
from odoo.addons.muk_utils.http import get_response
from odoo.addons.muk_utils.http import make_error_response
from odoo.addons.muk_utils.tools.http import get_response
from odoo.addons.muk_utils.tools.http import make_error_response
_logger = logging.getLogger(__name__)

2
muk_web_preview_rst/__manifest__.py

@ -20,7 +20,7 @@
{
"name": "MuK Preview reStructuredText",
"summary": """reStructuredText Preview""",
"version": "11.0.1.0.0",
"version": "11.0.1.0.1",
"category": "Extra Tools",
"license": "AGPL-3",
"website": "http://www.mukit.at",

8
muk_web_preview_rst/controllers/main.py

@ -21,9 +21,9 @@ import logging
from odoo import _, http
from odoo.addons.muk_utils.http import get_response
from odoo.addons.muk_utils.http import make_error_response
from odoo.addons.muk_utils.tools import parse_rst
from odoo.addons.muk_utils.tools.http import get_response
from odoo.addons.muk_utils.tools.http import make_error_response
from odoo.addons.muk_utils.tools.parse_rst import rst2html
_logger = logging.getLogger(__name__)
@ -35,5 +35,5 @@ class ReStructuredTextController(http.Controller):
if status != 200:
return make_error_response(status, content or _("Unknown Error"))
else:
return parse_rst.rst2html(content)
return rst2html(content)
Loading…
Cancel
Save