summaryrefslogtreecommitdiff
path: root/addons/base_import/static
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-08-01 14:08:38 +0200
committerqsm-odoo <qsm@odoo.com>2018-08-02 09:55:20 +0200
commit8ba0bbb0924a398d086dd58d61b265e41530c4ff (patch)
tree51d06657566213496da98620eb2ae47bd364ada1 /addons/base_import/static
parent90d22851b261f6e3cea48ff933a6a7b4233428db (diff)
[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.
Diffstat (limited to 'addons/base_import/static')
-rw-r--r--addons/base_import/static/src/xml/base_import.xml2
1 files changed, 1 insertions, 1 deletions
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 @@
</tbody>
</t>
<t t-name="ImportView.preview.error">
- <div class="oe_import_report bg-danger text-danger">
+ <div class="oe_import_report bg-danger">
<p>Import preview failed due to: <t t-esc="error"/>.</p>
<p>For CSV files, you may need to select the correct separator.</p>
<p t-if="preview">Here is the start of the file we could not import:</p>