[IMP] industry_fsm: change date displaying on kanban cards
[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
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo