Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions openupgrade_scripts/scripts/base/17.0.1.3/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def _handle_partner_private_type(cr):
openupgrade.copy_columns(cr, _column_copies)
# Change contact type and erase sensitive information
query = "type = 'contact'"
# name of private contact may be null, which is forbidden by res_partner_check_name
query += ", name = COALESCE(name, '*****')"
for field in [
"street",
"street2",
Expand Down