diff --git a/sale_loyalty_order_line_link/migrations/16.0.1.0.0/pre-migration.py b/sale_loyalty_order_line_link/migrations/16.0.1.0.0/pre-migration.py index b59a6b231..871bf67d4 100644 --- a/sale_loyalty_order_line_link/migrations/16.0.1.0.0/pre-migration.py +++ b/sale_loyalty_order_line_link/migrations/16.0.1.0.0/pre-migration.py @@ -26,7 +26,7 @@ def migrate(env, version): env.cr, """ UPDATE sale_order_line AS sol - SET sol.reward_id = lr.id + SET reward_id = lr.id FROM loyalty_reward AS lr WHERE sol.loyalty_program_id = lr.program_id; """,