mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] account_statement_import_online: Change pull button visibility
You may have an old value on online_bank_statement_provider, but switched to another source, and thus, the button is still visible, which is not correct. Let's use the source selection as the invisible modifier.
This commit is contained in:
committed by
Carolina Fernandez
parent
5f9e44d54b
commit
de81bf0f34
@@ -53,7 +53,7 @@
|
|||||||
<button
|
<button
|
||||||
type="action"
|
type="action"
|
||||||
name="%(action_online_bank_statements_pull_wizard)d"
|
name="%(action_online_bank_statements_pull_wizard)d"
|
||||||
attrs="{'invisible': [('online_bank_statement_provider', '=', False)]}"
|
attrs="{'invisible': [('bank_statements_source', '!=', 'online')]}"
|
||||||
string="Pull Online Bank Statement"
|
string="Pull Online Bank Statement"
|
||||||
groups="account.group_account_user"
|
groups="account.group_account_user"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user