Sananaz (Open ERP) has proposed merging
lp:~openerp-dev/openobject-client-web/6.0-opw-6217-sma into
lp:openobject-client-web/6.0.
Requested reviews:
OpenERP Core Team (openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-6217-sma/+merge/66238
Hello,
1. Install `Document` module
2. Click the Knowledge button
3. Select 'Documents'
4. Create one record or select existing one with the binary attachment.
5. Click Edit on the document, do not change anything, then click 'Save'.
You should get the stack trace, generated on the server.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-6217-sma/+merge/66238
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-client-web/6.0-opw-6217-sma.
=== modified file 'addons/openerp/widgets/form/templates/binary.mako'
--- addons/openerp/widgets/form/templates/binary.mako 2010-11-15 12:50:28 +0000
+++ addons/openerp/widgets/form/templates/binary.mako 2011-06-29 05:29:24 +0000
@@ -21,8 +21,8 @@
</div>
<div id="${name}_binary_buttons" class="binary_buttons">
<input type="text" value="${value or text or ''}" readonly="readonly"/>
- %if value or text:
- <input type="hidden" name="${name}" value="${value or text}"></input>
+ %if value:
+ <input type="hidden" name="${name}" value="${value}"></input>
% endif
% if text:
<a class="button-a" href="javascript: void(0)" onclick="save_binary_data('${name}', '${filename}')">${_("Save As")}</a>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp