Ir al contenido
Menú
Se marcó esta pregunta
2699 Vistas

If use method "search", then it don't found by translated value.

For example: Translated UoM = 'шт', original UoM = 'Unit'. Need find UoM by translated value 'шт'.

This don't work

name = u'шт'
self.pool.get('product.uom').search(cr, uid, [('name', '=', name)])

What right way for this?

Avatar
Descartar