diff --git a/web_widget_one2many_product_picker/static/src/js/views/One2ManyProductPicker/quick_modif_price_form.js b/web_widget_one2many_product_picker/static/src/js/views/One2ManyProductPicker/quick_modif_price_form.js index 3461f362e..2b3f3b552 100644 --- a/web_widget_one2many_product_picker/static/src/js/views/One2ManyProductPicker/quick_modif_price_form.js +++ b/web_widget_one2many_product_picker/static/src/js/views/One2ManyProductPicker/quick_modif_price_form.js @@ -139,7 +139,11 @@ odoo.define( "readonly", wanted_field_states[field_name] ? "1" : "0" ); - if (field_name === this.fieldMap.price_unit) { + if ( + [this.fieldMap.price_unit, this.fieldMap.product].indexOf( + field_name + ) !== -1 + ) { $field.attr("force_save", "1"); } gen_arch += $field[0].outerHTML;