[IMP]:anonymization:checked if context == NONE then pass the dict.
bzr revid: apa@tinyerp.com-20120605061629-ulshs2cevdqm0hlf
This commit is contained in:
parent
b84c3a198d
commit
f5ecf231d2
|
@ -289,6 +289,10 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory):
|
|||
|
||||
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, *args, **kwargs):
|
||||
state = self.pool.get('ir.model.fields.anonymization')._get_global_state(cr, uid, context=context)
|
||||
|
||||
if context is None:
|
||||
context = {}
|
||||
|
||||
step = context.get('step', 'new_window')
|
||||
|
||||
res = super(ir_model_fields_anonymize_wizard, self).fields_view_get(cr, uid, view_id, view_type, context, *args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue