projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75309b5
)
[FIX] Search on property field should not crash,it should go for fnct_search() instea...
author
Jay (OpenERP)
<jvo@tinyerp.com>
Fri, 29 Oct 2010 20:28:12 +0000
(
01:58
+0530)
committer
Jay (OpenERP)
<jvo@tinyerp.com>
Fri, 29 Oct 2010 20:28:12 +0000
(
01:58
+0530)
lp bug: https://launchpad.net/bugs/634607 fixed
bzr revid: jvo@tinyerp.com-
20101029202812
-2wsxpx91c38e3z8f
bin/osv/expression.py
patch
|
blob
|
history
diff --git
a/bin/osv/expression.py
b/bin/osv/expression.py
index
a49a14b
..
718492d
100644
(file)
--- a/
bin/osv/expression.py
+++ b/
bin/osv/expression.py
@@
-148,7
+148,8
@@
class expression(object):
right1 = table.search(cr, uid, [(fargs[0],'in', right)], context=context)
self.__exp[i] = ('id', 'in', right1)
- continue
+ if not isinstance(field,fields.property):
+ continue
if field._properties and ((not field.store) or field._fnct_search):