summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2019-12-20 08:46:58 +0000
committerSimon Lejeune <sle@openerp.com>2020-03-10 13:57:07 +0000
commitf36d0ce584686b7c50452fe6a824f630974acea0 (patch)
tree6b279513bf599dc9e71f1b68664e9f7663761a89 /addons/web/static/src/js/fields/basic_fields.js
parent42e6396d4a62340540a14f6252032f64d315be86 (diff)
[FIX] product: unarchive variant archive template
Steps to reproduce: * Create a template with 2 variants * Archive one variant * Unarchive this same variant --> the template is archived This is due to commit 6a13b565cbbad89ff1c4177b171b01f30c83edf9. If the variant is the only one, toggle_active on the variant should be reflected on the template. The issue is that toggle active do not count archived variant. One active variant and one archived variant are counted as 1. This commit make toggle_active count all variants closes odoo/odoo#34769 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions