Skip to content
Permalink
Browse files

[FIX] account: wrong domain from dashboard to go to reconcile model

The domain by default when clicking a button on the dashboard is
`('journal_id', '=', self.id)` but in this case, the field is not
`journal_id` but `match_journal_id`
  • Loading branch information...
william-andre committed Nov 7, 2019
1 parent 9f46dc7 commit 99a20a366b36f60ee4f7002b0bc0bf3199653b1e
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/account/views/account_journal_dashboard_view.xml
@@ -107,7 +107,7 @@
<span role="separator">Reconciliation</span>
</div>
<div>
<a role="menuitem" type="object" name="open_action_with_context" context="{'action_name': 'action_account_reconcile_model', 'use_domain': True}" groups="account.group_account_manager">Reconciliation Models</a>
<a role="menuitem" type="object" name="open_action_with_context" context="{'action_name': 'action_account_reconcile_model', 'use_domain': False, 'search_default_matched_journal_id: [self.id]}" groups="account.group_account_manager">Reconciliation Models</a>
</div>
</div>
</div>

0 comments on commit 99a20a3

Please sign in to comment.
You can’t perform that action at this time.