From 8ba0bbb0924a398d086dd58d61b265e41530c4ff Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 1 Aug 2018 14:08:38 +0200 Subject: [PATCH] [FIX] base_import: BS4, visible error text on import fail In BS3, the combination "text-danger" and "bg-danger" worked as the red color for texts was not the same as the red color for backgrounds. With BS4, they are the same so it does not make sense. Fortunately, we introduced a mixin customization which automatically selects the correct color according to the background. So removing the "text-danger" part is enough to make sure the text will be visible over "bg-danger" background. --- addons/base_import/static/src/xml/base_import.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/base_import/static/src/xml/base_import.xml b/addons/base_import/static/src/xml/base_import.xml index 80077e30d31..ff6a06a45f6 100644 --- a/addons/base_import/static/src/xml/base_import.xml +++ b/addons/base_import/static/src/xml/base_import.xml @@ -121,7 +121,7 @@ -
+

Import preview failed due to: .

For CSV files, you may need to select the correct separator.

Here is the start of the file we could not import: