[table].id IN (false) HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
Bug #1124130 reported by
Holger Brunn (Therp)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D | |||
OpenERP Community Backports (Server) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
Holger Brunn (Therp) | |||
Therp Backports (Deprecated) |
Fix Released
|
Medium
|
Holger Brunn (Therp) | |||
Server-6.1 |
Fix Released
|
Medium
|
Holger Brunn (Therp) |
Bug Description
When getting many2one fields via the value= parameter which *name* is False, the error above is thrown.
This is caused by the fact that bool is an instance of int and http://
This applies to 6.1, 7.0, trunk, MPs follow
Related branches
lp://staging/~therp-nl/openobject-server/6.1-lp1124130
Ready for review
for merging
into
lp://staging/openobject-server/6.1
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/osv/fields.py (+1/-1)
lp://staging/~therp-nl/openobject-server/7.0-lp1124130
Ready for review
for merging
into
lp://staging/openobject-server/7.0
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/osv/fields.py (+1/-1)
lp://staging/~hbrunn/ocb-server/7.0-lp1124130
- Alexandre Fayolle - camptocamp: Approve
- Stefan Rijnhart (Opener): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/osv/fields.py (+1/-1)
lp://staging/~hbrunn/therp-backports/6.1-lp1124130
- Stefan Rijnhart (Opener) (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedopenerp/osv/fields.py (+1/-1)
Changed in ocb-server: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Holger Brunn (Therp) (hbrunn) |
Changed in therp-backports: | |
status: | New → Fix Committed |
importance: | Undecided → Medium |
assignee: | nobody → Holger Brunn (Therp) (hbrunn) |
milestone: | none → fixed-after-61 |
Changed in therp-backports: | |
status: | Fix Committed → Fix Released |
milestone: | fixed-after-61 → 6.1-maintenance |
To post a comment you must log in.
Horror:
bool(False - 1) == True