Anup, I have added a comment over the code and changed the code from attachment['db_datas'].__len__() to len(attachment['db_datas']).
Thanks to Olivier Laurent and Anup. -- https://code.launchpad.net/~openerp-dev/openobject-addons/6.0-opw_document_content_4586-ach/+merge/55478 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/6.0-opw_document_content_4586-ach. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-web Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-web More help : https://help.launchpad.net/ListHelp

