diff --git a/addons/pad/__openerp__.py b/addons/pad/__openerp__.py index bee24b1a794..6d0f24c53a1 100644 --- a/addons/pad/__openerp__.py +++ b/addons/pad/__openerp__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- { 'name': 'Enhanced support for (Ether)Pad attachments', - 'version': '1.0', + 'version': '1.0.1', 'category': 'Generic Modules/Others', 'description': """ Adds enhanced support for (Ether)Pad attachments in the web client, lets the diff --git a/addons/pad/web/controllers.py b/addons/pad/web/controllers.py index 1553d721303..9c439f1e656 100644 --- a/addons/pad/web/controllers.py +++ b/addons/pad/web/controllers.py @@ -26,6 +26,7 @@ class Piratepad(openerp.controllers.SecuredController): default_res_model=params.model, default_res_id=params.id, active_id=False, active_ids=[]) + pad_name = pad_name.decode('utf8') pad_link = self.make_url(pad_name) attachment_id = rpc.RPCProxy('ir.attachment').create({ 'name': pad_name,