From d3661f36d7f081ab18b532de63556245302f0b5b Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 9 Apr 2021 22:57:12 +0200 Subject: [PATCH] [OU-FIX] contract: Incorrect table It was contract_contract, not contract_line --- contract/migrations/13.0.1.0.0/post-migration.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contract/migrations/13.0.1.0.0/post-migration.py b/contract/migrations/13.0.1.0.0/post-migration.py index e264c2be1..35342f65d 100644 --- a/contract/migrations/13.0.1.0.0/post-migration.py +++ b/contract/migrations/13.0.1.0.0/post-migration.py @@ -27,6 +27,7 @@ def migrate(env, version): openupgrade.load_data( env.cr, "contract", "migrations/13.0.1.0.0/noupdate_changes.xml" ) - # Don't alter line recurrence v12 behavior - openupgrade.logged_query(env.cr, "UPDATE contract_line SET line_recurrence = True") + openupgrade.logged_query( + env.cr, "UPDATE contract_contract SET line_recurrence = True", + )