[14.0][FIX] account_move_reconcile_helper

change action call
This commit is contained in:
xavier-bouquiaux
2021-11-10 15:03:53 +01:00
committed by Ethan Hildick
parent e8c06b23ce
commit 1b8fb5b614

View File

@@ -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