mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[14.0][FIX] account_move_reconcile_helper
change action call
This commit is contained in:
committed by
Ethan Hildick
parent
e8c06b23ce
commit
1b8fb5b614
@@ -52,6 +52,7 @@ class AccountMoveLine(models.Model):
|
||||
return move_lines
|
||||
|
||||
def open_full_reconcile_view(self):
|
||||
action = self.env.ref("account.action_account_moves_all_a").read()[0]
|
||||
view = "account.action_account_moves_all_a"
|
||||
action = self.env["ir.actions.act_window"]._for_xml_id(view)
|
||||
action["domain"] = [("id", "in", self.mapped("reconcile_line_ids").ids)]
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user