broken search on fields.related for simple cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP's Framework R&D |
Bug Description
Hello,
when the related field is used as an alias of another field of the same object, the search is broken.
This is with branch 6.1.
This happens with following context:
- field is "fields.related"
- store=False
- only 1 chained element (field is an alias of another field of the current model)
Example below:
(1) When using the search method with domain [('report_broken', '=', False)] it breaks
(2) with domain [('report_file', '=', False)] it succeeds
class TestRelated(
_name = 'test.related.bug'
_columns = {
}
TestRelated()
Related branches
- OpenERP Publisher's Warranty Team: Pending requested
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+2/-0)1 file modifiedopenerp/osv/fields.py (+2/-0)
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |