lp://staging/~olivier-laurent/openobject-server/7.0-bug1060086
- Get this branch:
- bzr branch lp://staging/~olivier-laurent/openobject-server/7.0-bug1060086
Branch merges
- Anaël Closson (openerp): Pending requested
-
Diff: 146 lines (+52/-37)1 file modifiedopenerp/osv/orm.py (+52/-37)
Branch information
Recent revisions
- 5104. By Olivier Laurent (Acsone)
-
[FIX] OPW 598942 - grouped report views sorting is broken (Part II)
When sorting on a m2o field, some fields (other than the relation id field) has to be added to the 'group by' clause. - 5103. By Anaël Closson (openerp)
-
[FIX] incorrect handling of m2o fields for domain construction and incomplete previous commit: refactoring missing for call to _read_group_
fill_results - 5102. By Anaël Closson (openerp)
-
[FIX] OPW 598942 - grouped report views sorting is broken
Sorting was done by using a simple search method on the sorting field.
That doesn't take into account aggregated fields. Sorting on these fields gave unexpected results as it took the first matching line as reference instead of the (for example) the result of the sum function. - 5101. By Olivier Dony (Odoo)
-
[FIX] document: overridden ORM methods need to respect API idiosyncrasies, otherwise check() calls may fail
- 5098. By Olivier Dony (Odoo)
-
[FIX] registry: restore `elif` changed to `if` in previous commit, for better readability (no effect)
This should have no effect because when the first `if`
is entered a new registry is instantiated with
the default value for base_cache_signaling_ sequence
set to 1, preventing entering the next `if` even
without `elif`. - 5097. By Olivier Dony (Odoo)
-
[FIX] registry: avoid discarding registry or cache when the registry is fresh
When the sequence value is 1 it means that either:
- the registry was just instantiated, so there is no
reason to reload it immediately, the real checks will
start at next request
- the db was just created with new sequences set to 1,
so there has been no change to reloadIn both cases there is no good reason to reload the
registry, and it is actually a performance killer,
especially for cron workers that keep iterating on
the list of databases. - 5096. By Olivier Dony (Odoo)
-
[FIX] ir.model: FK constraints for custom m2o fields were never created, creating possible data integrity errors
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/openobject-server