[fix]base/res:remove the reference of  childs only if save the record
[fix]base/res:remove the reference of  childs only if save the record

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server