[BUG/FIX] base_setup - Chnages the Models Veriable name

lp bug: https://launchpad.net/bugs/857189 fixed

bzr revid: jam@tinyerp.com-20110926083804-2bgqwx0pi1qqdutj
This commit is contained in:
Jigar Amin - OpenERP 2011-09-26 14:08:04 +05:30
parent 9633196fdc
commit 85ff882481
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ class specify_partner_terminology(osv.osv_memory):
field_ref = f_id.model_id.model + ',' + f_id.name
self.make_translations(cr, uid, ids, field_ref, 'field', f_id.field_description, _case_insensitive_replace(f_id.field_description,'Customer',o.partner), context=context)
#translate help tooltip of field
for obj in self.pool.obj_pool.values():
for obj in self.pool.models.values():
for field_name, field_rec in obj._columns.items():
if field_rec.help.lower().count('customer'):
field_ref = obj._name + ',' + field_name