diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-10-02 15:04:57 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-10-12 17:16:01 +0000 |
| commit | 4a65e74563656fc812bf79468be3c72f9e0adeda (patch) | |
| tree | bf664a3ee8a6a3a7af673cba3130561681b92386 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | cc7d35d56f074f30ae0912b8dfd68168c7edef32 (diff) | |
[FIX] sale: default on product change in configurator
When a product is set on a line and we change product with the product
configurator wizard, we will use the attributes values of the previous
product.
But then since the attributes are the ones of wrong product, not
attribute is selected and if eg. we have radio button with one option
and custom value, it will never be selectable (because the radio button
is hidden and unselected).
In this commit, we do not use the current variant values when we change
product in the product configurator wizard.
note: this commit also increases the limit of (custom values) inside the
product configurator wizard, for an arbitrary 10000 limit. Without this
change, each opening of the wizard would only keep 40 customs values and
discard the other ones.
opw-2333091
closes #59016
closes odoo/odoo#59802
X-original-commit: e9c54f6b3d5c36b658308e1900ab68dcc9de0357
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
