[FIX]: document_ftp: Fixed problem of importing ics file
bzr revid: rpa@tinyerp.com-20100423134533-t8c53tctk7zy6191
This commit is contained in:
@@ -97,7 +97,7 @@ class content_wrapper(StringIO.StringIO):
|
||||
cr = db.cursor()
|
||||
cr.commit()
|
||||
try:
|
||||
getattr(self.pool.get('document.directory.content'), 'process_write_'+self.node.content.extension[1:])(cr, self.uid, self.node, self.getvalue())
|
||||
getattr(self.pool.get('document.directory.content'), 'process_write')(cr, self.uid, self.node, self.getvalue())
|
||||
finally:
|
||||
cr.commit()
|
||||
cr.close()
|
||||
|
||||
Reference in New Issue
Block a user