mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[OU-FIX] contract: Incorrect table
It was contract_contract, not contract_line
This commit is contained in:
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user