[IMP] account: do not offer closed analytic accounts on invoices

lp:1223922, opw 609656
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-win32