projects
/
odoo
/
odoo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
account,account_report,base,product,scrum,stock,kernel: fix name_search
[odoo/odoo.git]
/
bin
/
osv
/
orm.py
diff --git
a/bin/osv/orm.py
b/bin/osv/orm.py
index
9915888
..
07866ce
100644
(file)
--- a/
bin/osv/orm.py
+++ b/
bin/osv/orm.py
@@
-1698,7
+1698,7
@@
class orm(object):
args=args[:]
if name:
args += [(self._rec_name,operator,name)]
- ids = self.search(cr, user, args, limit=limit)
+ ids = self.search(cr, user, args, limit=limit, context=context)
res = self.name_get(cr, user, ids, context)
return res