[FIX] anonymization: ignore unreachable code pylint warning

This commit is contained in:
Christophe Simonis
2018-08-14 16:55:36 +02:00
parent a711c5acb8
commit 71bba5e43d
@@ -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()