Merge lp:~0k.io/openobject-addons/7.0-fix-base-calendar-bugs into lp:openobject-addons/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~0k.io/openobject-addons/7.0-fix-base-calendar-bugs |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
248 lines (+101/-39) 2 files modified
base_calendar/base_calendar.py (+100/-38) base_calendar/base_calendar_view.xml (+1/-1) |
To merge this branch: | bzr merge lp:~0k.io/openobject-addons/7.0-fix-base-calendar-bugs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+174561@code.launchpad.net |
Description of the change
This branch needs this other branch on openobject-server to work:
In addition to correct both bugs that are linked to this branch, it'll:
1 - explicitely refuse to read virtual id that can't be generated thanks to a real event rrule.
This is helpful to catch soon bugs as this one:
- https:/
2 - correct subtile bugs dangling around by storing timezone
of when you create your recurring event rule.
For instance, what to do if we want to store "all day"
events when you are working in Hong-Kong. Then go back to
Paris, then look at your events...
3 - actually make better (more efficient, and working) query
to database to catch all recurring event that would be
selected by filters "<" or ">" on dates.
4 - remove duplicate code, and actually use pre-existing and
not used field "vtimezone"
Any comment are welcome. This needs a serious review.
Unmerged revisions
- 9250. By Valentin Lab
-
new: refuse to answer to read requests on virtual ids that cannot be generated from the recurrence rule.
- 9249. By Valentin Lab
-
fix: recurrent days are now correctly filtered and thus displayed in agenda view.
- 9248. By Valentin Lab
-
new: added recurrence_end_date stored function to allow efficient filtering via SQL.