diff --git a/trytond/osv/orm.py b/trytond/osv/orm.py index 105f3c2d72..79f0de947d 100644 --- a/trytond/osv/orm.py +++ b/trytond/osv/orm.py @@ -428,7 +428,7 @@ class ORM(object): "AND a.attname = %s " \ "AND c.oid = a.attrelid " \ "AND a.atttypid = t.oid", - (self._table, k.lower())) + (self._table, k)) res = cursor.dictfetchall() if not res: if not isinstance(field, fields.function) \