Hello everyone! I need to get the unstranslated original value of a field.
For example, the value of the field ‘name’ on the res_group table.
Sorry, I already solve it.
For other who wants to know,
pool = Pool()
Group = pool.get('res.group')
group = []
context = {'language':'en'}
users = []
with Transaction().set_context(context):
group = Group.search([('name','=','Administrator')])
users = group[0].users
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.