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/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:
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.
+When you change the value of a field and switch to edit another record, the -changes will be applied to the previous record without having to click on -accept changes.
----
diff --git a/web_widget_one2many_product_picker/static/src/scss/main_variables.scss b/web_widget_one2many_product_picker/static/src/scss/main_variables.scss new file mode 100644 index 000000000..159cf8450 --- /dev/null +++ b/web_widget_one2many_product_picker/static/src/scss/main_variables.scss @@ -0,0 +1,6 @@ +$one2many-product-picker-grid-breakpoints: map-merge( + $grid-breakpoints, + ( + xxl: 1440px, + ) +); diff --git a/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss b/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss index 1ea12b6f6..cea673860 100644 --- a/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss +++ b/web_widget_one2many_product_picker/static/src/scss/one2many_product_picker.scss @@ -45,6 +45,8 @@ } .oe_one2many_product_picker_view { + @include make-grid-columns($columns: 24, $breakpoints: $one2many-product-picker-grid-breakpoints); + overflow: auto; > .row { diff --git a/web_widget_one2many_product_picker/static/src/xml/one2many_product_picker.xml b/web_widget_one2many_product_picker/static/src/xml/one2many_product_picker.xml index d7eaf63b8..aae2d01c7 100644 --- a/web_widget_one2many_product_picker/static/src/xml/one2many_product_picker.xml +++ b/web_widget_one2many_product_picker/static/src/xml/one2many_product_picker.xml @@ -69,7 +69,7 @@- +diff --git a/web_widget_one2many_product_picker/templates/assets.xml b/web_widget_one2many_product_picker/templates/assets.xml index 0ebee880a..3c476236a 100644 --- a/web_widget_one2many_product_picker/templates/assets.xml +++ b/web_widget_one2many_product_picker/templates/assets.xml @@ -7,6 +7,12 @@ + ++ + + +