ORM Search Method is not working properly on model with property fields
This bug report was converted into a question: question #195376: ORM Search Method is not working properly on model with property fields.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
when doing searches on a model which has property fields it returns the whole record for that model
Do this single test and you will realize about this bug.
# I will set id to a value which even doesnt exist and it will return the whole set of values for the model res.partner,
# the valid return value should be an empty list
id = 300000000
if context is None: context = {}
print self.pool.
working on server revno. 3558.
Thanks for you help in advance
Related branches
- Lionel Sausin - Initiatives/Numérigraphe (community): Abstain (no code review - feature is needed.)
- Olivier Dony (Odoo): Pending requested
- OpenERP Driver: Pending requested
-
Diff: 155 lines (+137/-1)1 file modifiedopenerp/osv/fields.py (+137/-1)
Changed in openobject-server: | |
status: | New → Confirmed |
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
Changed in openobject-server: | |
status: | Confirmed → Invalid |
tags: | added: maintenance |
Hello guys,
Can somebody says something about the status of this bug?
Thanks,