summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.ui.components.less
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2016-10-12 11:53:20 +0200
committerJeremy Kersten <jke@odoo.com>2016-10-12 12:38:38 +0200
commit28103a5f2c30ad4398cbac2a1fba708042841e7f (patch)
tree060b0029731537ad174f5a15f9efa4fba2e0b345 /addons/web_editor/static/src/less/web_editor.ui.components.less
parente81f186ff8524e92fb44a83dff450e0c67e97058 (diff)
[FIX] product: fix duplicated creation variants
Move the code to manage the case of 'adding an attribute with only one value should not recreate product' before to select the existing variants. Before this commit, When you create 1 new product.template, it create 1 variant. When you add an attribute with only one value, it update the existing and create a duplicate variant. After this commit, Only the existing variant is updated, and there are no more duplicated variant. The fix: We update the variant if only one value before to select the existing variant. Thus, the updated variant is compared with the matrix and not duplicated. This commit closes #13757
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.ui.components.less')
0 files changed, 0 insertions, 0 deletions