diff --git a/addons/calendar/views/calendar_templates.xml b/addons/calendar/views/calendar_templates.xml index ab5117a88b9..f2a6ca2b152 100644 --- a/addons/calendar/views/calendar_templates.xml +++ b/addons/calendar/views/calendar_templates.xml @@ -26,7 +26,7 @@
diff --git a/addons/crm/static/description/index.html b/addons/crm/static/description/index.html index 6f4ab397d69..3191abfb168 100644 --- a/addons/crm/static/description/index.html +++ b/addons/crm/static/description/index.html @@ -43,7 +43,7 @@

Automate activities based on your sales scripts: calls, meetings, mails and quotations. Get all information you need, right on the opportunity: page viewed, mails received, etc.

- +
diff --git a/addons/fleet/views/fleet_vehicle_model_views.xml b/addons/fleet/views/fleet_vehicle_model_views.xml index d04413af0b5..f85a81649bd 100644 --- a/addons/fleet/views/fleet_vehicle_model_views.xml +++ b/addons/fleet/views/fleet_vehicle_model_views.xml @@ -125,7 +125,7 @@
- Open + Open

diff --git a/addons/hr_attendance/static/src/xml/attendance.xml b/addons/hr_attendance/static/src/xml/attendance.xml index 7da29413eeb..f9a2be5b041 100644 --- a/addons/hr_attendance/static/src/xml/attendance.xml +++ b/addons/hr_attendance/static/src/xml/attendance.xml @@ -14,7 +14,7 @@ Company Logo
- +
Scan your badge
diff --git a/addons/hr_timesheet/views/res_config_settings_views.xml b/addons/hr_timesheet/views/res_config_settings_views.xml index a8f5e440abf..19ca5289205 100644 --- a/addons/hr_timesheet/views/res_config_settings_views.xml +++ b/addons/hr_timesheet/views/res_config_settings_views.xml @@ -26,17 +26,17 @@ diff --git a/addons/im_livechat/views/im_livechat_channel_views.xml b/addons/im_livechat/views/im_livechat_channel_views.xml index d08e427f2c4..bb24a19eb87 100644 --- a/addons/im_livechat/views/im_livechat_channel_views.xml +++ b/addons/im_livechat/views/im_livechat_channel_views.xml @@ -36,7 +36,7 @@
- Channel + Channel
diff --git a/addons/portal/static/src/scss/portal.scss b/addons/portal/static/src/scss/portal.scss index faf5942d121..178e37b1907 100644 --- a/addons/portal/static/src/scss/portal.scss +++ b/addons/portal/static/src/scss/portal.scss @@ -137,7 +137,7 @@ img, .media_iframe_video, .o_image { } } img.o_we_custom_image { - // Images added with the editor are .img-responsive by default but should + // Images added with the editor are .img-fluid by default but should // still behave like inline content. display: inline-block; } diff --git a/addons/web/models/ir_qweb.py b/addons/web/models/ir_qweb.py index 29426b9d8a8..757f30dc1e2 100644 --- a/addons/web/models/ir_qweb.py +++ b/addons/web/models/ir_qweb.py @@ -29,7 +29,7 @@ class Image(models.AbstractModel): if options.get('qweb_img_raw_data', False): return super(Image, self).record_to_html(record, field_name, options) - aclasses = ['img', 'img-responsive'] if options.get('qweb_img_responsive', True) else ['img'] + aclasses = ['img', 'img-fluid'] if options.get('qweb_img_responsive', True) else ['img'] aclasses += options.get('class', '').split() classes = ' '.join(pycompat.imap(escape, aclasses)) diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js index 00092073d6a..707a944a727 100644 --- a/addons/web/static/src/js/fields/basic_fields.js +++ b/addons/web/static/src/js/fields/basic_fields.js @@ -2691,7 +2691,7 @@ var ImageSelection = AbstractField.extend({ _.each(this.nodeOptions, function (val, key) { var $container = $('
').addClass('col-xs-3 text-center'); var $img = $('') - .addClass('img img-responsive img-thumbnail ml16') + .addClass('img img-fluid img-thumbnail ml16') .toggleClass('btn-info', key === self.value) .attr('src', val.image_link) .data('key', key); diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 1eaa2e59b84..561290d6322 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -939,7 +939,7 @@
- Binary file
- Upgrade to enterprise + Upgrade to enterprise
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js index a2224193bab..7d3108d5b43 100644 --- a/addons/web/static/tests/fields/basic_fields_tests.js +++ b/addons/web/static/tests/fields/basic_fields_tests.js @@ -1828,7 +1828,7 @@ QUnit.module('basic_fields', { "the widget should have the correct class"); assert.strictEqual(form.$('div[name="document"] > img').length, 1, "the widget should contain an image"); - assert.ok(form.$('div[name="document"] > img').hasClass('img-responsive'), + assert.ok(form.$('div[name="document"] > img').hasClass('img-fluid'), "the image should have the correct class"); assert.strictEqual(form.$('div[name="document"] > img').attr('width'), "90", "the image should correctly set its attributes"); @@ -4679,14 +4679,14 @@ QUnit.module('basic_fields', { res_id: 2, }); - assert.strictEqual(form.$('.img.img-responsive').length, 2, + assert.strictEqual(form.$('.img.img-fluid').length, 2, "Two images should be rendered"); assert.strictEqual(form.$('.img.btn-info').length, 0, "No image should be selected"); // select first image - form.$(".img.img-responsive:first").click(); - assert.ok(form.$(".img.img-responsive:first").hasClass('btn-info'), + form.$(".img.img-fluid:first").click(); + assert.ok(form.$(".img.img-fluid:first").hasClass('btn-info'), "First image should be selected"); form.destroy(); diff --git a/addons/web/views/database_manager.html b/addons/web/views/database_manager.html index c555c9e2e88..32033d94987 100644 --- a/addons/web/views/database_manager.html +++ b/addons/web/views/database_manager.html @@ -114,7 +114,7 @@
- +
{% if not list_db %}
diff --git a/addons/web_editor/static/src/js/editor/snippets.options.js b/addons/web_editor/static/src/js/editor/snippets.options.js index 463d2acf08e..059a0524ab4 100644 --- a/addons/web_editor/static/src/js/editor/snippets.options.js +++ b/addons/web_editor/static/src/js/editor/snippets.options.js @@ -994,7 +994,7 @@ registry.background_position = SnippetOption.extend({ var img_url = /\(['"]?([^'"]+)['"]?\)/g.exec(self.$target.css('background-image')); img_url = (img_url && img_url[1]) || ''; - var $img = $('', {class: 'img img-responsive', src: img_url}); + var $img = $('', {class: 'img img-fluid', src: img_url}); $img.on('load', function () { self._bindImageEvents($img); }); diff --git a/addons/web_editor/static/src/js/tours/rte.js b/addons/web_editor/static/src/js/tours/rte.js index 0a4ae0b32c3..a2c16262b6a 100644 --- a/addons/web_editor/static/src/js/tours/rte.js +++ b/addons/web_editor/static/src/js/tours/rte.js @@ -37,7 +37,7 @@ tour.register('rte', { '

Harum trium sententiarum nulli prorsus assentior.

\n'+ '
\n'+ '
\n'+ - ' Odoo text and image block\n'+ + ' Odoo text and image block\n'+ '
\n'+ '
\n'+ '\n'; diff --git a/addons/web_editor/static/src/js/widgets/widgets.js b/addons/web_editor/static/src/js/widgets/widgets.js index 9e04c9dbe7d..e189726051d 100644 --- a/addons/web_editor/static/src/js/widgets/widgets.js +++ b/addons/web_editor/static/src/js/widgets/widgets.js @@ -313,9 +313,9 @@ var ImageWidget = MediaWidget.extend({ } if (!self.$media.is('img')) { // Note: by default the images receive the bootstrap opt-in - // img-responsive class. We cannot make them all responsive + // img-fluid class. We cannot make them all responsive // by design because of libraries and client databases img. - self._replaceMedia($('', {class: 'img-responsive o_we_custom_image'})); + self._replaceMedia($('', {class: 'img-fluid o_we_custom_image'})); } self.$media.attr('src', img.src); @@ -459,7 +459,7 @@ var ImageWidget = MediaWidget.extend({ var $div = $(el); if (/gif|jpe|jpg|png/.test($div.data('mimetype'))) { var $img = $('', { - class: 'img-responsive', + class: 'img-fluid', src: $div.data('url') || $div.data('src'), }); var def = $.Deferred(); diff --git a/addons/web_editor/static/src/xml/editor.xml b/addons/web_editor/static/src/xml/editor.xml index 96f126391cd..651cd60f883 100644 --- a/addons/web_editor/static/src/xml/editor.xml +++ b/addons/web_editor/static/src/xml/editor.xml @@ -310,7 +310,7 @@
- +
diff --git a/addons/web_settings_dashboard/static/src/xml/dashboard.xml b/addons/web_settings_dashboard/static/src/xml/dashboard.xml index a98a557d66d..35fff93174f 100644 --- a/addons/web_settings_dashboard/static/src/xml/dashboard.xml +++ b/addons/web_settings_dashboard/static/src/xml/dashboard.xml @@ -148,7 +148,7 @@
Odoo Enterprise
-
Upgrade to enterprise
+
Upgrade to enterprise
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index b8e493c1505..2b30197235d 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -129,7 +129,7 @@

- Our Team + Our Team
diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index 0c3d02bffb8..6806d53be23 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -878,7 +878,7 @@ options.registry.gallery = options.Class.extend({ dialog.on('save', this, function (attachments) { for (var i = 0 ; i < attachments.length; i++) { $('', { - class: 'img img-responsive', + class: 'img img-fluid', src: attachments[i].src, 'data-index': ++index, }).appendTo($container); diff --git a/addons/website/static/src/xml/website.gallery.xml b/addons/website/static/src/xml/website.gallery.xml index 08226cb911b..ec82b3cf8ee 100644 --- a/addons/website/static/src/xml/website.gallery.xml +++ b/addons/website/static/src/xml/website.gallery.xml @@ -14,7 +14,7 @@ diff --git a/addons/website/tests/test_qweb.py b/addons/website/tests/test_qweb.py index e73083a66b2..5e078d89dd6 100644 --- a/addons/website/tests/test_qweb.py +++ b/addons/website/tests/test_qweb.py @@ -56,7 +56,7 @@ class TestQweb(TransactionCase):
span
-
+
""" % { "js": attachments[0].url, diff --git a/addons/website/views/snippets.xml b/addons/website/views/snippets.xml index e1d9efb767d..b8cd2ccb2e9 100644 --- a/addons/website/views/snippets.xml +++ b/addons/website/views/snippets.xml @@ -30,7 +30,7 @@

Contact us

@@ -57,7 +57,7 @@

- Odoo text and image block + Odoo text and image block
@@ -69,7 +69,7 @@
- Odoo image and text block + Odoo image and text block

A Section Subtitle

@@ -179,7 +179,7 @@

A Punchy Headline

- Odoo CMS - a big picture + Odoo CMS - a big picture

@@ -204,7 +204,7 @@

- Odoo - Sample 1 for three columns + Odoo - Sample 1 for three columns

Feature One

Adapt these three columns to fit you design need. @@ -213,7 +213,7 @@

- Odoo - Sample 2 for three columns + Odoo - Sample 2 for three columns

Feature Two

To add a fourth column, reduce the size of these @@ -223,7 +223,7 @@

- Odoo - Sample 3 for three columns + Odoo - Sample 3 for three columns

Feature Three

Delete the above image or replace it with a picture @@ -262,7 +262,7 @@ diff --git a/addons/website_blog/data/website_blog_demo.xml b/addons/website_blog/data/website_blog_demo.xml index 721a23bcedd..6cf92624bbd 100644 --- a/addons/website_blog/data/website_blog_demo.xml +++ b/addons/website_blog/data/website_blog_demo.xml @@ -71,7 +71,7 @@ read) the inbox and easily mark messages for future actions. Every inbox should be empty after having been processed; no more overload of information. - +

  • Keep control of what you want to receive or don't want to receive. People should never receive spam. You @@ -82,7 +82,7 @@ interface does not require you to click on every mail to read a thread. Reading a full thread, replying, attaching documents is super fast. - +
  • A mix of push & pull: Today, people are victims of what others decide to push to them. @@ -139,7 +139,7 @@
    - +

    New Features Launched

    diff --git a/addons/website_event/views/event_templates.xml b/addons/website_event/views/event_templates.xml index 462942423c2..eea982d496f 100644 --- a/addons/website_event/views/event_templates.xml +++ b/addons/website_event/views/event_templates.xml @@ -647,7 +647,7 @@
    - +
    Events in visitor's country
    @@ -672,11 +672,11 @@
    - +

    Events:

    - +

    Upcoming Events

    diff --git a/addons/website_forum/views/website_forum.xml b/addons/website_forum/views/website_forum.xml index 200e26bb1d1..7e5c4c3c4f3 100644 --- a/addons/website_forum/views/website_forum.xml +++ b/addons/website_forum/views/website_forum.xml @@ -1297,7 +1297,7 @@ - Avatar + Avatar
    @@ -1372,7 +1372,7 @@
    - Avatar + Avatar
    diff --git a/addons/website_hr_recruitment/data/hr_job_demo.xml b/addons/website_hr_recruitment/data/hr_job_demo.xml index 1b5434c6b88..959a57b27bc 100644 --- a/addons/website_hr_recruitment/data/hr_job_demo.xml +++ b/addons/website_hr_recruitment/data/hr_job_demo.xml @@ -115,16 +115,16 @@
    - +
    - +
    - +
    - +
    @@ -248,16 +248,16 @@
    - +
    - +
    - +
    - +
    @@ -382,16 +382,16 @@
    - +
    - +
    - +
    - +
    @@ -511,16 +511,16 @@
    - +
    - +
    - +
    - +
    @@ -639,16 +639,16 @@
    - +
    - +
    - +
    - +
    @@ -767,16 +767,16 @@
    - +
    - +
    - +
    - +
    @@ -896,16 +896,16 @@
    - +
    - +
    - +
    - +
    diff --git a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml index c26ee165d7b..9206577c5d8 100644 --- a/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml +++ b/addons/website_hr_recruitment/views/website_hr_recruitment_templates.xml @@ -355,24 +355,24 @@
    - +
    - +
    - +
    - +
    - +
    - +
    diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index d8c3b3442ab..9a863f4e481 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -446,14 +446,14 @@ diff --git a/addons/website_sale_comparison/views/website_sale_comparison_template.xml b/addons/website_sale_comparison/views/website_sale_comparison_template.xml index b15e981ad02..96e8c794195 100644 --- a/addons/website_sale_comparison/views/website_sale_comparison_template.xml +++ b/addons/website_sale_comparison/views/website_sale_comparison_template.xml @@ -78,7 +78,7 @@ x - Product image + Product image