[FIX] account: avoid crashing when no active_ids
[FIX] account: avoid crashing when no active_ids

We should avoid crashing in case active_ids is not in the context

X-original-commit: b528cf82d5144073cee112fb5cc5626243c51e96
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo