[FIX] account: select last bank statement based on date_done, not date
[FIX] account: select last bank statement based on date_done, not date

date is a Date field, whereas date_done is a Datetime field. When using
date, the code failed to successfully select the last bank statement if
there were multiple bank statements being opened on the same day.

syci/OCB,bplancher/odoo,stephen144/odoo,sysadminmatmoz/OCB,dfang/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,ygol/odoo,Elico-Corp/odoo_OCB,bplancher/odoo,sysadminmatmoz/OCB,stephen144/odoo,ygol/odoo,syci/OCB,microcom/odoo,sysadminmatmoz/OCB,Elico-Corp/odoo_OCB,dfang/odoo,optima-ict/odoo,ygol/odoo,storm-computers/odoo,laslabs/odoo,stephen144/odoo,syci/OCB,hip-odoo/odoo,storm-computers/odoo,ygol/odoo,laslabs/odoo,optima-ict/odoo,bplancher/odoo,dfang/odoo,optima-ict/odoo,syci/OCB,storm-computers/odoo,Elico-Corp/odoo_OCB,dfang/odoo,optima-ict/odoo,Elico-Corp/odoo_OCB,ygol/odoo,microcom/odoo,microcom/odoo,hip-odoo/odoo,hip-odoo/odoo,sysadminmatmoz/OCB,syci/OCB,syci/OCB,optima-ict/odoo,hip-odoo/odoo,sysadminmatmoz/OCB,bplancher/odoo,storm-computers/odoo,hip-odoo/odoo,Elico-Corp/odoo_OCB,laslabs/odoo,dfang/odoo,bplancher/odoo,ygol/odoo,storm-computers/odoo,hip-odoo/odoo,dfang/odoo,bplancher/odoo,laslabs/odoo,stephen144/odoo,microcom/odoo,stephen144/odoo,microcom/odoo,storm-computers/odoo,sysadminmatmoz/OCB,sysadminmatmoz/OCB,laslabs/odoo,ygol/odoo,microcom/odoo,laslabs/odoo,stephen144/odoo