[FIX]Speed improvement : Call of write() should go when there is vals
[FIX]Speed improvement : Call of write() should go when there is vals

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