Skip to content

Commit

Permalink
[OU-FIX] partner_property: Fix migration script (create properly part…
Browse files Browse the repository at this point in the history
…ner_property.properties_definition_person)

Related to d3e2fe8

TT49480
  • Loading branch information
victoralmau committed Jul 10, 2024
1 parent cd407e1 commit d5e1df0
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 d5e1df0

Please sign in to comment.