Skip to content

Commit

Permalink
Merge pull request #4276 from Tecnativa/15.0-fix-website_event_track-…
Browse files Browse the repository at this point in the history
…pre-mig

[15.0][FIX] website_event_track: contact_email
  • Loading branch information
pedrobaeza authored Jan 4, 2024
2 parents fdde72c + 9b6155f commit 6a63efc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def migrate(env, version):
SET contact_email = rp.email, contact_phone = rp.phone
FROM res_partner rp
WHERE rp.id = et.partner_id
AND rp.email IS NOT NULL OR rp.phone IS NOT NULL""",
AND (rp.email IS NOT NULL OR rp.phone IS NOT NULL)""",
)
openupgrade.rename_fields(
env,
Expand Down

0 comments on commit 6a63efc

Please sign in to comment.