diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-02-13 06:45:50 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-02-13 10:19:56 +0000 |
| commit | 96146643c10b8e565ac595030302e51b48a08e50 (patch) | |
| tree | 9d1f4155fb9d796af37e3d4cf395236d07681fda /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 8b344883a6f50211e416a5e048b543d6bae4b954 (diff) | |
[FIX] hr_holidays: fix kanban view date format
Issue
- Install Time Off & Studio
- Set up your language to English with format date
to %d/%m/%y instead of %m/%d/%y
- Enable Kanban view in Time Off dashboard with Studio
- Compare Kanban and List view
The list view dates is correctly formatted but not
the kanban view dates
Cause
We use momentjs which doesn't take the user date format
in account, only the locale.
Solution
Use a field with datetime widget which handle this case.
OPW-2195584
closes odoo/odoo#45272
X-original-commit: 69b3578b3d00c8b6284c40f91ffb117a8bd3eec4
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions
