Previously, only columns with the class o_column_sortable had the custom
SCSS applied to them. As a result, columns like HTML were not sortable
and didn't benefit from the custom SCSS.
This commit made changes to the SCSS selector to include all table's
columns in the list view. However, the record selector (the first
checkbox column) and the column optional (the last column) that have the
class o_list_controller were excluded to avoid unexpected behavior.
On the cloned record we were unable to change the values of the
relational fields we we just had edited it. Here is solved adding a
pseudo onchange method that triggers the proper refreshed values as if
the record was made manually.
TT38191
- When we clone a line, we can be interested in preloading those fields
availiable in other field views available. Otherwise, we could be unable
to get the proper states in the cloned line.
- When we load the cloned field values from the rpc method, we must
discard those fields not available in the views or some subproccess
could try to get their state causing errors.
TT38191
By doing this, the extension view is charged just after the main, so
if some other views are using this other, to make a primary one,
like project is doing for project.task control_panel, the refresher
will continue be shown.
Inverted dates make no functional sense, but when they do happen, this
change allows displaying them as single points in the timeline (same as
when begin=end).
We currently do have such demo data when installing project_timeline.
Before this change the status widget was hidden as it had no width. You
can check it installing the project module and going to a task. Now you
can see the status widget along the task name.
When an item label does not fit in its date-range box, overflow
according to
https://visjs.github.io/vis-timeline/examples/timeline/items/rangeOverflowItem.html
Previous CSS code was already trying to do that, but was selecting
`.vis-item.vis-item-content` instead of `.vis-item .vis-item-content`.
Displaying overflow text brings up layout issues solved by removing the
forced-100% width instruction.
This change also adds highlight when hovering a box, which is useful on
text that has overflown (as it has no borders).