[MERGE] fix de-anonymization process

bzr revid: olt@openerp.com-20130513085444-qvx73tn8auuxtqvn
This commit is contained in:
Olivier 2013-05-13 10:54:44 +02:00
commit fd75b116da
1 changed files with 1 additions and 0 deletions

View File

@ -543,6 +543,7 @@ class ir_model_fields_anonymize_wizard(osv.osv_memory):
fixes = group(fixes, ('model_name', 'field_name'))
for line in data:
queries = []
table_name = self.pool.get(line['model_id'])._table if self.pool.get(line['model_id']) else None
# check if custom sql exists: