summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorMaxLarue <mla@odoo.com>2019-08-23 13:26:24 +0000
committerGeoffroy Larue <gla@odoo.com>2019-09-18 12:05:19 +0000
commit5c03820f87ca96fc4bf31b695372ec9af8d1ac1a (patch)
tree08cedd31f1163c183e4a337fbc05c3c712e9c2ae /addons/web/static/tests/fields/basic_fields_tests.js
parentb3bc7af0eabac726a8e33b4dd8ca55f9c3014392 (diff)
[IMP] industry_fsm: change date displaying on kanban cards
This commit changes the display of dates on kanban cards. It is now conditional. Depending on the date versus actual date we conditionally set the color. Depending if the record are grouped by date, we format the date as a date or as a time. If the task is an fsm task we show the planned date begin otherwise we display the deadline. From which App | project | fsm | ------------------------------------------------------------------------------- task.is_fsm | y | n | y | n | ------------------------------------------------------------------------------- task.fsm_state == 'done' | y | n | y | n | y | n | y | n | ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- display deadline | n | n | y | y | n | n | y | y | ------------------------------------------------------------------------------- should it be colored? | n | y | y | y | n | y | y | y | ------------------------------------------------------------------------------- display city ? | n | n | n | n | y | y | y | y | extra case: in fsm, if the records are grouped by date, we display time only in red, if the task is late, taking the time into account. Task-2047389 Closes #5388
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions