diff --git a/l10n_it_split_payment/migrations/14.0.1.0.0/post-migration.py b/l10n_it_split_payment/migrations/14.0.1.0.0/post-migration.py index b28b920131ca..0267bc6d5721 100644 --- a/l10n_it_split_payment/migrations/14.0.1.0.0/post-migration.py +++ b/l10n_it_split_payment/migrations/14.0.1.0.0/post-migration.py @@ -26,8 +26,8 @@ def migrate(cr, installed_version): """ update account_move_line set is_split_payment = True - where id in {line_ids} + where id in ({line_ids}) """.format( - line_ids=tuple(line_ids) + line_ids=",".join(map(str, line_ids)) ), )