From 7817d7c13d04643867dad6e379a60edb13fe4dc4 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 46945bce4..3a4b68812 100644 --- a/account_payment_order/models/account_move.py +++ b/account_payment_order/models/account_move.py @@ -152,7 +152,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, } )