Skip to content
Snippets Groups Projects
Commit 3299450d authored by jvm-odoo's avatar jvm-odoo Committed by fw-bot
Browse files

[FIX] account: fix cash bank statement import button


Go on the accounting module, you'll find a kanban view with a few
cards including "Bank" and "Cash". Click on the Cash card.

The default import button doesn't appears because it is hidden.
The reason of this hiding is that the bank statements of type "Bank"
have a custom import method and the users where confuse. They
didn't know which is the right button for the special import so
we hid the default import button for the whole model.

But there is also a "Cash" type bank statement who doesn't have that
special import and his default import button is hidden too.

This commit checks the type of the bank statement and hide the default
import button only if the type is not "Cash".

OPW-2090477

closes odoo/odoo#39827

X-original-commit: ee45228a
Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 0dd48299
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment