Skip to content
Snippets Groups Projects
Commit 4776bf1a authored by aliya's avatar aliya
Browse files

[FIX] account: fix the bank account onboarding


If a bank account is added through the onboarding step and the user creates one instead of linking it,
the dashboard is not reloaded to show the completion of the step and the new account.
To make sure that the view is reloaded to show new data,
the easiest fix would be to return a reload action in `validate`.

task-3431961

closes odoo/odoo#133057

Related: odoo/enterprise#46250
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 1b9c7fec
Branches
Tags
No related merge requests found
......@@ -146,3 +146,4 @@ class SetupBarBankConfigWizard(models.TransientModel):
extension hook in account_bank_statement_import.
"""
self.linked_journal_id.mark_bank_setup_as_done_action()
return {'type': 'ir.actions.client', 'tag': 'soft_reload'}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment