[MERGE] OPW 381924 add os.unlink() in document module
authorJean-Christophe VASSORT <jcv@openerp.com>
Mon, 5 Mar 2012 13:32:24 +0000 (14:32 +0100)
committerJean-Christophe VASSORT <jcv@openerp.com>
Mon, 5 Mar 2012 13:32:24 +0000 (14:32 +0100)
commitf8dc7cc35876b7ff996dbcbb2ce13bd060961ebd
tree8f3e1cb191fbdbc30dffb0ce91c973eeb01d5bab
parent163e1c9380c5a56d260d0e9da52d4a9c26dae24e
parentd238ec4efc31e291ca746d0ddc2f240641ce7865
[MERGE] OPW 381924 add os.unlink() in document module

When we create an attachment with .pdf file extension, a copy is been created in /tmp(temporary) folder of ubuntu system and stays in the system until rebooted or manually deleted.

This fixes the issue.

bzr revid: jcv@openerp.com-20120305133224-c1jr8x4qeu8wyhd9