diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2021-03-16 13:04:10 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2021-03-16 13:48:20 +0000 |
| commit | 681e709b239c2456c71d1c16bb40de055dfb927c (patch) | |
| tree | 567f23a2859839bb5443b020ca6e1790f59fb062 /addons/web/static/src/js/tools | |
| parent | 87cbd4be261a426cb28ed6c1de7941c6b751521f (diff) | |
[FIX] website_blog: display post_date on latests blogs
Issue
- Install 'Blogs' module
- Create a blog post
- Set published_date to 01/01/1997
- Go to website
- Edit any page and add a 'Blog Posts' Block
- Set 'Layout' to 'Cards' (or 'Horizontal')
- Save
In snippet cards, the blog post date is not the published date.
Cause
Displaying update date ('write_date' field) instead of
the published date ('post_date' field).
Solution
Replace 'write_date' by 'post_date'.
opw-2443104
closes odoo/odoo#67952
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/tools')
0 files changed, 0 insertions, 0 deletions
