[IMP] base{_geolocalize},project,web: usability improvements

purpose of the task is to improve the usability of the base,
base_geolocalize, project and web

task-2764760

closes odoo/odoo#85295

Related: odoo/enterprise#24706
Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
Hardik Prajapati
2022-05-15 15:29:55 +02:00
committed by Laurent Stukkens (LTU)
parent f99c93b5ce
commit c0662dc68b
4 changed files with 9 additions and 8 deletions
@@ -13,7 +13,8 @@
<div>
<span>Lat : </span>
<field name="partner_latitude" nolabel="1" class="oe_inline"/>
<span>, Long: </span>
<br/>
<span>Long: </span>
<field name="partner_longitude" nolabel="1" class="oe_inline"/>
<br/>
<span attrs="{'invisible': [('date_localization', '=', False)]}">Updated on: </span>
+2 -2
View File
@@ -883,7 +883,7 @@
No projects found. Let's create one!
</p>
<p>
Projects contain tasks on the same topic, and each has its own dashboard.
Create projects to organize your tasks and define a different workflow for each project.
</p>
</field>
</record>
@@ -923,7 +923,7 @@
No projects found. Let's create one!
</p>
<p>
Projects contain tasks on the same topic, and each has its own dashboard.
Create projects to organize your tasks and define a different workflow for each project.
</p>
</field>
</record>
@@ -19,7 +19,7 @@
>
<span class="d-flex p-0 align-items-center justify-content-between">
<t t-esc="item.description"/>
<i class="o_icon_right fa fa-trash-o"
<i class="ml-1 o_icon_right fa fa-trash-o"
title="Delete item"
t-on-click.stop="() => this.openConfirmationDialog(item.id)"
/>
@@ -389,6 +389,10 @@ var BaseSettingController = FormController.extend({
dialog.close();
}
},
}, {
text: _t('Stay Here'),
close: true,
click: cancel,
}, {
text: _t('Discard'),
close: true,
@@ -396,10 +400,6 @@ var BaseSettingController = FormController.extend({
resolve(true);
reset();
},
}, {
text: _t('Stay Here'),
close: true,
click: cancel,
}],
});
dialog.on('closed', this.discardingDef, cancel);