[FIX] account: issue #3064

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