[FIX] anonymization: end of support
task: 51094
This commit is contained in:
@@ -92,6 +92,9 @@ class ir_model_fields_anonymization(osv.osv):
|
||||
return model_and_field_ids
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
raise UserError("""The Odoo Migration Platform no longer accepts anonymized databases.\n
|
||||
If you wish for your data to remain private during migration, please contact us at upgrade@odoo.com""")
|
||||
|
||||
# check field state: all should be clear before we can add a new field to anonymize:
|
||||
self._check_write(cr, uid, context=context)
|
||||
|
||||
@@ -353,6 +356,8 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory):
|
||||
raise UserError('%s: %s' % (error_type, error_msg))
|
||||
|
||||
def anonymize_database(self, cr, uid, ids, context=None):
|
||||
raise UserError("""The Odoo Migration Platform no longer accepts anonymized databases.\n
|
||||
If you wish for your data to remain private during migration, please contact us at upgrade@odoo.com""")
|
||||
"""Sets the 'anonymized' state to defined fields"""
|
||||
|
||||
# create a new history record:
|
||||
|
||||
Reference in New Issue
Block a user