[FIX] account: issue #2995

This PR fixes https://github.com/odoo/odoo/issues/2995