[IMP] account: Remove t-if condition with "online_sync" for accounting dashboard.
The t-if condition using "online_sync" couldn't be there... "online_sync" condition must be present in account_online_sync module and not account module. closes odoo/odoo#45263 Related: odoo/enterprise#8404 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
<t t-if="journal_type == 'bank'" id="journal_body_bank_cash_left">
|
||||
<div name="bank_journal_cta">
|
||||
<button t-if="dashboard.bank_statements_source == 'undefined'" name="action_configure_bank_journal" type="object" class="btn btn-primary" groups="account.group_account_invoice">Configure</button>
|
||||
<div name="bank_statement_create_button" t-if="dashboard.bank_statements_source != 'online_sync'" groups="account.group_account_invoice">
|
||||
<div name="bank_statement_create_button" groups="account.group_account_invoice">
|
||||
<a type="object" name="create_bank_statement" class="oe_inline">Create</a><span name="button_import_placeholder"/> Statements
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user