Merge lp:~openerp-dev/openobject-server/trunk-function-getter-assertion-cto into lp:openobject-server
Proposed by
Samus CTO (OpenERP)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-server/trunk-function-getter-assertion-cto |
Merge into: | lp:openobject-server |
Diff against target: |
12 lines (+2/-0) 1 file modified
openerp/osv/fields.py (+2/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/trunk-function-getter-assertion-cto |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Pending | ||
Review via email: mp+165602@code.launchpad.net |
Description of the change
Hello odo,
I made the improvement we talked a long ago.
There is finally 2 checks:
- one to check if some ids are missing in the result
- one to check if there is not too many ids
Maybe it is better to put a warning in the second case? I don't think so (because it permit less optimized codes).
Let me know if this improvement is correct or not.
To post a comment you must log in.
Unmerged revisions
- 4876. By Samus CTO (OpenERP)
-
[IMP] Getter method of function field now check if all requested ids are present in the result