Fixed sorting for m2o

bzr revid: paulius@hacbee.com-20121024100321-tqjm4pyk9y392qur
This commit is contained in:
Paulius Sladkevičius
2012-10-24 13:03:21 +03:00
parent 2067192d37
commit d9c7febf49
+1
View File
@@ -4766,6 +4766,7 @@ class BaseModel(object):
"""
if context is None:
context = {}
order = order or self._order
self.check_access_rights(cr, access_rights_uid or user, 'read')
# For transient models, restrict acces to the current user, except for the super-user