[FIX] anonymization: ignore unreachable code pylint warning
This commit is contained in:
@@ -126,6 +126,7 @@ class IrModelFieldsAnonymizeWizard(models.TransientModel):
|
||||
@api.multi
|
||||
def anonymize_database(self):
|
||||
"""Sets the 'anonymized' state to defined fields"""
|
||||
# pylint: disable=W0101
|
||||
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""")
|
||||
self.ensure_one()
|
||||
|
||||
Reference in New Issue
Block a user