[IMP] web: export: change field sorting icon to fa-sort

task-2413274

closes odoo/odoo#62998

Related: odoo/enterprise#15215
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Mohammed Shekha
2020-12-22 11:21:03 +00:00
committed by Aaron Bohy
parent e3be9d183f
commit 5e6fd455b1
2 changed files with 3 additions and 2 deletions
@@ -84,6 +84,7 @@ var DataExport = Dialog.extend({
this.opened().then(function () {
self.$('.o_fields_list').sortable({
axis: 'y',
cursor: 'grabbing',
handle: '.o_short_field',
forcePlaceholderSize: true,
placeholder: 'o-field-placeholder',
@@ -140,7 +141,7 @@ var DataExport = Dialog.extend({
if (!$fieldList.find(".o_export_field[data-field_id='" + fieldID + "']").length) {
$fieldList.append(
$('<li>', {'class': 'o_export_field', 'data-field_id': fieldID}).append(
$('<span>', {'class': "fa fa-arrows o_short_field mx-1"}),
$('<span>', {'class': "fa fa-sort o_short_field mx-1"}),
label.trim(),
$('<span>', {'class': 'fa fa-trash m-1 pull-right o_remove_field', 'title': _t("Remove field")})
)
+1 -1
View File
@@ -37,7 +37,7 @@
flex: 1;
overflow: auto;
.o_short_field {
cursor: ns-resize;
cursor: grab;
}
.o-field-placeholder {
border: 1px dashed $o-brand-primary;