Backport of 45483b96 to 8.0

[FIX] anonymization: allow anonymization on HTML fields

Was missing in the (old) list of fields
This commit is contained in:
Simon Leblanc 2016-04-24 19:54:09 +02:00 committed by Martin Trigaux
parent dedbcce762
commit 7db7b2dd6a
No known key found for this signature in database
GPG Key ID: 7B0E288E7C0F83A7
1 changed files with 2 additions and 0 deletions

View File

@ -431,6 +431,8 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory):
anonymized_value = 'xxx'+sid
elif field_type == 'text':
anonymized_value = 'xxx'+sid
elif field_type == 'html':
anonymized_value = 'xxx'+sid
elif field_type == 'boolean':
anonymized_value = random.choice([True, False])
elif field_type == 'date':