[CHG] set lang to False instead of en_US (already being the default language), reducing the places where this default value is set
bzr revid: guewen.baconnier@camptocamp.com-20131228203801-3z6g1bb0ggfio5x0
This commit is contained in:
parent
226ed9abea
commit
780e1548c0
|
@ -4169,7 +4169,7 @@ class BaseModel(object):
|
|||
src_trans = vals[f]
|
||||
# Inserting value to DB
|
||||
ctx = context.copy()
|
||||
ctx['lang'] = 'en_US'
|
||||
ctx['lang'] = False
|
||||
self.write(cr, user, ids, {f: vals[f]}, context=ctx)
|
||||
self.pool.get('ir.translation')._set_ids(cr, user, self._name+','+f, 'model', context['lang'], ids, vals[f], src_trans)
|
||||
|
||||
|
|
Loading…
Reference in New Issue