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-06-14 15:51:46 +02:00
committed by Martin Trigaux
parent dedbcce762
commit 7db7b2dd6a
+2
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':