diff options
| author | David Monjoie <dmo@odoo.com> | 2016-08-31 15:54:24 +0200 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2016-09-02 12:08:42 +0200 |
| commit | fc53108c65822160dd22eefc0d6da5e6ea9d5939 (patch) | |
| tree | 19b5c838b2f402f1950c9fb594245a0ff2c649e3 /addons/web_tour/static/src/xml/debug_manager.xml | |
| parent | 4b5398f53aeb877b46165e5d7b73565e1caddae1 (diff) | |
[FIX] base: fix tz onchange in user preferences view
Since res.users is an inherits of res.partner, the onchange that
should be triggered by tz to update tz_offset is not triggered.
Considering tz_offset is never used on res_partner and is only
used by the timezone_mistmatch widget which compares the offset
with the one of the browser timezone, which only makes sense if
you are a user, we could have completely moved this field on
res.users. That being said, it feels strange to have a tz field
defined on partner but having to be a user to compute the actual
timezon offset, which doesn't need any additional information.
For this reason, we chose to duplicate it until either we decide
to truly move it in the next version, or the orm is fixed to
correctly trigger the onchanges of the inherits models.
This patch could be applied in 9.0 if needed, but considering
nobody ever complained about this issue and the "workaround"
nature of this fix, we decided to apply it in master only.
Diffstat (limited to 'addons/web_tour/static/src/xml/debug_manager.xml')
0 files changed, 0 insertions, 0 deletions
