[fix] bugs during write and unlink
[fix] bugs during write and unlink

gisce/openerp-web,vnc-biz/openerp-web,MarkusTeufelberger/openerp-web,MarkusTeufelberger/openerp-web,vnc-biz/openerp-web,gisce/openerp-web,MarkusTeufelberger/openerp-web,vnc-biz/openerp-web,splbio/openerp-web,vnc-biz/openerp-web,splbio/openerp-web,splbio/openerp-web,gisce/openerp-web