From ee3e87bd945cb87d1da03e429cea85974d409362 Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Wed, 4 Jan 2023 10:10:40 -0500 Subject: [PATCH] [FIX] account_payment_order: change result_payorder_ids to list to show action correctly --- account_payment_order/models/account_move.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/models/account_move.py b/account_payment_order/models/account_move.py index bdecae718..c5c99a2ec 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -132,7 +132,7 @@ class AccountMove(models.Model): action.update( { "view_mode": "tree,form,pivot,graph", - "domain": "[('id', 'in', %s)]" % result_payorder_ids, + "domain": "[('id', 'in', %s)]" % list(result_payorder_ids), "views": False, } )