We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 78e3767 + fe4cc24 commit 5da9ed6Copy full SHA for 5da9ed6
openupgrade_scripts/scripts/base/17.0.1.3/pre-migration.py
@@ -222,6 +222,8 @@ def _handle_partner_private_type(cr):
222
openupgrade.copy_columns(cr, _column_copies)
223
# Change contact type and erase sensitive information
224
query = "type = 'contact'"
225
+ # name of private contact may be null, which is forbidden by res_partner_check_name
226
+ query += ", name = COALESCE(name, '*****')"
227
for field in [
228
"street",
229
"street2",
0 commit comments