Hello Olivier,

Thanks for the review.

This branch is for supporting Non-ASCII characters in filename.

I have checked this issue again but even if we not merge this branch then still 
this issue will be faced because there is a special character & which is 
actually & in html which is different issue and it is faced initially, if 
you reload or save the record you will not see &.

Reason :- When we select any file at that time file is going to save and using 
form submit and in return we will get name of the file i.e. datas.filename but 
in sidebar.mako when it is return "setupAttachments" function of form.js will 
be called at the time document ready which will again call "createAttachment" 
function now here li element is created using javascript so when we set text of 
anchor element of li using data['name'], so it will give &20248 and here & will 
be shown as an html.

But if you save the record so again sidebar is loaded and all the attachments 
will be loaded from ir.attachments and you will see there will be &20248 not 
&20248.

After uploading the file if you save the record then sidebar is loaded again 
and data of attachment is loaded from ir.attachments and li is created using 
sidebar.mako line no. 64 not using createAttachment.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-50584-msh/+merge/82816
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/6.0-opw-50584-msh.

_______________________________________________
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

Reply via email to