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, } )