From f328b9ca8ce9ef3a8aaa4ce7c513ba7c01929e62 Mon Sep 17 00:00:00 2001 From: Julien Mougenot Date: Wed, 18 Sep 2019 10:25:59 +0000 Subject: [IMP] web: list multi edition confirmation modal Changed the information dipslayed by the confirmation modal in multi edition in list views. Before this commit, the modal simply showed a one-line message with the amount of valid records. Now, there are 3 elements: - If all of the fields cannot be changed, a first line warns the amount of valid records. - A second (or first if all fields can be updated) line ensuring that the user is aware of the occuring changes. - A table displaying the affected field and the updated value (readonly widget with the new value). Part of task 1967602 --- addons/web/static/src/xml/base.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'addons/web/static/src/xml/base.xml') diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 5ea1a8e535c..bd4284b0b07 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -281,6 +281,34 @@ + +
+

+ + Among the selected records, + are valid for this update.
+
+ Are you sure you want to perform the following update on those records ? +

+
+ + + + + + + + + + + +
Field:
Update to: +
+
+
+
+
+