Skip to content

Commit

Permalink
[IMP] website_product_configurator: pre-commit execution
Browse files Browse the repository at this point in the history
  • Loading branch information
SirAionTech committed Feb 22, 2024
1 parent b675023 commit e0bc250
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 6 additions & 0 deletions setup/website_product_configurator/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
11 changes: 6 additions & 5 deletions website_product_configurator/static/src/js/config_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,11 +568,12 @@ odoo.define("website_product_configurator.config_form", function (require) {
this.config_form
.find(".tab-content")
.find("tab-pane container[data-step-id=" + config_step + "]");
_.each(config_step.find(".form-control.config_attribute"), function (
attribute_field
) {
$(attribute_field).attr("required", true);
});
_.each(
config_step.find(".form-control.config_attribute"),
function (attribute_field) {
$(attribute_field).attr("required", true);
}
);
},

_onChangeQtySpinner: function (ev) {
Expand Down

0 comments on commit e0bc250

Please sign in to comment.