Skip to content

Commit

Permalink
Merge pull request #1813 from Tecnativa/16.0-ou-fix-partner_property
Browse files Browse the repository at this point in the history
[16.0][OU-FIX] partner_property: Fix migration script (create properly partner_property.properties_definition_person)
  • Loading branch information
pedrobaeza authored Jul 10, 2024
2 parents cd407e1 + d5e1df0 commit f597548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions partner_property/migrations/16.0.1.1.0/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def migrate(env, version):
WHERE key = 'partner_property.properties_definition'
""",
)
icp = env["ir.config_parameter"].get_param(
"partner_property.properties_definition_company"
icp = env["ir.config_parameter"].search(
[("key", "=", "partner_property.properties_definition_company")]
)
icp.copy({"key": "partner_property.properties_definition_person"})

0 comments on commit f597548

Please sign in to comment.