diff options
| author | wan <wan@odoo.com> | 2020-01-03 15:35:48 +0000 |
|---|---|---|
| committer | wan <wan@odoo.com> | 2020-02-05 14:10:11 +0000 |
| commit | b2feb8b7f44ca326e327e203206fa75f6245f61c (patch) | |
| tree | ddf31497603c8151f733f43834b72fb2ff5ab78c /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 76e31253e67d63e0f77590311e9698124bcd88c6 (diff) | |
[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#44659
X-original-commit: 8928dfe70867da3e40fa47f50bffa5dfd1976090
Signed-off-by: wan <william-andre@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
