Skip to content
Snippets Groups Projects
Commit 0a57778e authored by Adrien Widart's avatar Adrien Widart
Browse files

[FIX] account: prevent creation of JE on analytic line creation


When the user creates a new account analytic line, he should not be able
to create a new journal item.

To reproduce the error:
(Use demo data)
1. In Settings, enable "Analytic Accounting"
2. Accounting > Configuration > Analytic Accounts > Administrative >
Cost/Revenue
3. Create a new one
4. Click on "Journal Item" list

Error: the list contains the "Create and Edit..." option. Such an action
should not be possible.

OPW-2481197

closes #69881

closes odoo/odoo#70376

X-original-commit: f3ef533ed18c996f7f87c9596135e450479a8c19
Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
parent a65651a0
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment