[IMP] removed constraints if term created by website(Speed improved)
bzr revid: pga@tinyerp.com-20140321133829-p2eon73py0ny3aja
This commit is contained in:
parent
bc0a7cbc0c
commit
2cf5e1a490
|
@ -74,7 +74,7 @@ class ir_translation(osv.Model):
|
|||
|
||||
def _check_lang_support(self, cr, uid, ids, context=None):
|
||||
for term in self.browse(cr, uid, ids, context=context):
|
||||
if term.gengo_translation:
|
||||
if term.gengo_translation and term.name != 'website':
|
||||
supported_langs = self._get_all_supported_languages(cr, uid, context=context)
|
||||
if supported_langs:
|
||||
tier = "nonprofit" if term.gengo_translation == 'machine' else term.gengo_translation
|
||||
|
|
Loading…
Reference in New Issue