diff options
| author | Jason Van Malder <jvm@odoo.com> | 2020-01-08 07:38:12 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2020-01-08 14:12:06 +0000 |
| commit | 1761a5c501fb53f04550e72d247a64829687c372 (patch) | |
| tree | 7383ad0ca60d05ab7b62f0735eb9169bc7b7b6ed /addons/web/static/src/js/fields/basic_fields.js | |
| parent | c1e3439462969a2424d459e05c558258cd81d029 (diff) | |
[FIX] website_blog: fix last update change on visit
Issue
- Install Blog
- Create a post
- Remember the last update date
- Visit the post
- Check the last update date
After visiting the post, the last update date changed.
Cause
In the web_blog main.py controller, we increase the visit
count with a write, so the write_date is updated.
Solution
Keep the old write_date by forcing it.
OPW-2166289
closes odoo/odoo#42954
X-original-commit: 16843c63b97cda746972526f8933bf25b435d585
Signed-off-by: Jason Van Malder <jvm-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
