-
- Downloads
[FIX] account: change CoA even if one already installed
Because the tax closing entry is created (empty) at the creation of the
CoA, it is not possible anymore to change it later, even if the user
didn't create any journal entry.
By checking that there are no account.move.line instead of account.move,
and also there are no entries with a name different from '/' (to ensure
that the sequences are untouched) we can change the CoA if needed.
closes odoo/odoo#44647
Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
Please register or sign in to comment