parent
211d9c1d79
commit
37e218e36a
|
@ -86,7 +86,7 @@
|
|||
<page string="Preferences">
|
||||
<field name="password" password="True" readonly="0"/>
|
||||
<newline/>
|
||||
<label string="" colspan="1"
|
||||
<label string="" colspan="1"/>
|
||||
<label colspan="3" string="Please note that you will have to logout and relog if you change your password."/>
|
||||
<field name="context_lang" completion="1" readonly="0"/>
|
||||
<field name="context_tz" completion="1" readonly="0"/>
|
||||
|
|
|
@ -780,7 +780,7 @@ class related(function):
|
|||
relation = obj._name
|
||||
res = {}.fromkeys(ids, False)
|
||||
|
||||
objlst = obj.browse(cr, uid, ids, context=context)
|
||||
objlst = obj.browse(cr, 1, ids, context=context)
|
||||
for data in objlst:
|
||||
if not data:
|
||||
continue
|
||||
|
@ -807,7 +807,7 @@ class related(function):
|
|||
if self._type=='many2one':
|
||||
ids = filter(None, res.values())
|
||||
if ids:
|
||||
ng = dict(obj.pool.get(self._obj).name_get(cr, uid, ids, context=context))
|
||||
ng = dict(obj.pool.get(self._obj).name_get(cr, 1, ids, context=context))
|
||||
for r in res:
|
||||
if res[r]:
|
||||
res[r] = (res[r], ng[res[r]])
|
||||
|
|
Loading…
Reference in New Issue