[FIX] ir_attachment : move the computation of mimetype. Allow to set it during a create. If not given, it will be computed as a functionnal field depending on datas or datas_fname. Bundle generated from less file are not octet-stream mimetype, but text/css given by the bundle itself. The checksum is now computed also for empty datas (and only for binary type attachment).
[FIX] ir_attachment : move the computation of mimetype. Allow to set it during a create. If not given, it will be computed as a functionnal field depending on datas or datas_fname. Bundle generated from less file are not octet-stream mimetype, but text/css given by the bundle itself. The checksum is now computed also for empty datas (and only for binary type attachment).

microcom/odoo,hip-odoo/odoo,syci/OCB,optima-ict/odoo,stephen144/odoo,tvtsoft/odoo8,microcom/odoo,alhashash/odoo,storm-computers/odoo,ygol/odoo,optima-ict/odoo,Grirrane/odoo,microcom/odoo,addition-it-solutions/project-all,sysadminmatmoz/OCB,odoousers2014/odoo,storm-computers/odoo,cdrooom/odoo,alhashash/odoo,OpusVL/odoo,Elico-Corp/odoo_OCB,odoousers2014/odoo,OpusVL/odoo,Grirrane/odoo,storm-computers/odoo,ygol/odoo,Grirrane/odoo,odoousers2014/odoo,hip-odoo/odoo,ygol/odoo,stephen144/odoo,Grirrane/odoo,optima-ict/odoo,hip-odoo/odoo,odoousers2014/odoo,deKupini/erp,syci/OCB,odoousers2014/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,syci/OCB,Grirrane/odoo,tvtsoft/odoo8,stephen144/odoo,laslabs/odoo,storm-computers/odoo,addition-it-solutions/project-all,alhashash/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,optima-ict/odoo,hip-odoo/odoo,mkieszek/odoo,alhashash/odoo,bplancher/odoo,Elico-Corp/odoo_OCB,mkieszek/odoo,sysadminmatmoz/OCB,addition-it-solutions/project-all,laslabs/odoo,Grirrane/odoo,sysadminmatmoz/OCB,cdrooom/odoo,OpusVL/odoo,dfang/odoo,mkieszek/odoo,tvtsoft/odoo8,odoousers2014/odoo,laslabs/odoo,bplancher/odoo,laslabs/odoo,hip-odoo/odoo,mkieszek/odoo,addition-it-solutions/project-all,optima-ict/odoo,mkieszek/odoo,OpusVL/odoo,mkieszek/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,dfang/odoo,ygol/odoo,tvtsoft/odoo8,deKupini/erp,cdrooom/odoo,tvtsoft/odoo8,deKupini/erp,alhashash/odoo,stephen144/odoo,dfang/odoo,optima-ict/odoo,cdrooom/odoo,ygol/odoo,addition-it-solutions/project-all,alhashash/odoo,addition-it-solutions/project-all,storm-computers/odoo,bplancher/odoo,microcom/odoo,dfang/odoo,storm-computers/odoo,stephen144/odoo,stephen144/odoo,deKupini/erp,syci/OCB,ygol/odoo,laslabs/odoo,sysadminmatmoz/OCB,syci/OCB,ygol/odoo,syci/OCB,microcom/odoo,dfang/odoo,tvtsoft/odoo8,sysadminmatmoz/OCB,bplancher/odoo,dfang/odoo,microcom/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,Elico-Corp/odoo_OCB,deKupini/erp,bplancher/odoo