[FIX] account: starting amount of bank statement was considering only closed statements which is wrong (+ made small refactoring for the default_value and the onchange)
[FIX] account: starting amount of bank statement was considering only closed statements which is wrong (+ made small refactoring for the default_value and the onchange)

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