From 43e3191970d37076952c1cf826d0c454dd3155e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20D=2E=20D=C3=ADaz?= Date: Thu, 4 Feb 2021 14:15:55 +0100 Subject: [PATCH] [IMP] web_widget_one2many_product_picker: BS grid columns --- web_widget_one2many_product_picker/README.rst | 7 ++++ .../__manifest__.py | 2 +- .../readme/CONFIGURE.rst | 7 ++++ .../static/description/index.html | 42 +++++++++++-------- .../static/src/scss/main_variables.scss | 6 +++ .../src/scss/one2many_product_picker.scss | 2 + .../src/xml/one2many_product_picker.xml | 2 +- .../templates/assets.xml | 6 +++ 8 files changed, 54 insertions(+), 20 deletions(-) create mode 100644 web_widget_one2many_product_picker/static/src/scss/main_variables.scss diff --git a/web_widget_one2many_product_picker/README.rst b/web_widget_one2many_product_picker/README.rst index 418951d79..0587024f2 100644 --- a/web_widget_one2many_product_picker/README.rst +++ b/web_widget_one2many_product_picker/README.rst @@ -177,6 +177,13 @@ Other example for 'purchase.order.line' fields: + +Boostrap Modifications: +~~~~~~~~~~~~~~~~~~~~~~~ + +The product picker view container have a custom media queries space adding a new screen size called 'xxl' (>= 1440px) and modifies the columns to have 24 instead of 12. +This means that you can use "col-xxl-" inside the product picker view container. + Usage ===== diff --git a/web_widget_one2many_product_picker/__manifest__.py b/web_widget_one2many_product_picker/__manifest__.py index 1d5a0ea24..bfad69a83 100644 --- a/web_widget_one2many_product_picker/__manifest__.py +++ b/web_widget_one2many_product_picker/__manifest__.py @@ -4,7 +4,7 @@ { 'name': 'Web Widget One2Many Product Picker', 'summary': 'Widget to select products on one2many fields', - 'version': '12.0.2.0.0', + 'version': '12.0.2.1.0', 'category': 'Website', 'author': "Tecnativa, " "Odoo Community Association (OCA)", diff --git a/web_widget_one2many_product_picker/readme/CONFIGURE.rst b/web_widget_one2many_product_picker/readme/CONFIGURE.rst index 3fd01a9b4..1e5f8698b 100644 --- a/web_widget_one2many_product_picker/readme/CONFIGURE.rst +++ b/web_widget_one2many_product_picker/readme/CONFIGURE.rst @@ -134,3 +134,10 @@ Other example for 'purchase.order.line' fields: + + +Boostrap Modifications: +~~~~~~~~~~~~~~~~~~~~~~~ + +The product picker view container have a custom media queries space adding a new screen size called 'xxl' (>= 1440px) and modifies the columns to have 24 instead of 12. +This means that you can use "col-xxl-" inside the product picker view container. diff --git a/web_widget_one2many_product_picker/static/description/index.html b/web_widget_one2many_product_picker/static/description/index.html index 941f4dc72..18ba5686e 100644 --- a/web_widget_one2many_product_picker/static/description/index.html +++ b/web_widget_one2many_product_picker/static/description/index.html @@ -377,19 +377,20 @@ ul.auto-toc {
  • Widget options:
  • Default context:
  • Examples:
  • +
  • Boostrap Modifications:
  • -
  • Usage