Hi,
While running Version 5.0.1-0, I encountered a problem with a view of the 
documents management system, called ir.attachment. Document Management > Search 
a File > and then click on one of the the files will call it up. The field File 
Content: shows a long line with the Base 64 encoded file content that goes on 
forever. Not a pretty sight! I looked a bit a the source code and in 
document.py on line 522 there appears this conditional statement:
if context.get('bin_size', False):
    result[id] = 
tools.human_size(len(result[id]))
Dictionary entry bin_size appears to be False so instead of a nicely formatted 
file size the field 'datas' displays the raw file content. 
The problem only occurs with the web client, not with the GTK client, although 
there the field shows something meaningless like 7.00 bytes. 
I could not find any related bug report.
Anybody any ideas? Would be much appreciated.
Bhikkhu




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=39626#39626

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to