From 61d1711ff0fc5ebca5bc72b43cbd6d7b09a371f7 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 1b5ae21f5..293e44214 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -151,7 +151,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, } )