Merge lp:~openerp-dev/openobject-addons/7.0-opw-599537-rha into lp:openobject-addons/7.0
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-599537-rha |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
23 lines (+3/-3) 1 file modified
event/event.py (+3/-3) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-599537-rha |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Naresh(OpenERP) | Pending | ||
Review via email: mp+193545@code.launchpad.net |
Description of the change
Fix date problem in the name_get() of event registration,
it was not taking care the user's timezone and was directly putting date from db which is actually a UTC value.
Problem:
- create an event record and fill start date on 12 AM i.e. 31-10-2013 00:00:00,
this will save UTC date value in the table which is 30-10-2013 18:30:00
- when you try to create a registration record and try to choose event.
a name_get() is overidden and shows "event name (date)" where this date is directly fetched from table which
UTC value.
- In fact we need to convert this date to user's timezone and then use in name_get() result so that this will
show correct date.
Unmerged revisions
- 9542. By Rifakat Husen (OpenERP)
-
[FIX] event: fix date problem in the name_get() of event registration,
it was not taking care the user's timezone and was directly putting date from db which is actually a UTC value