summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-10-14 12:09:25 +0000
committerfw-bot <otis@odoo.com>2019-10-17 10:58:24 +0000
commitda76c7c47b768d13c1d613d14e7c3bf74d283607 (patch)
treecaaa52edd7214a240b06f24bd36c2f23c2f02730 /doc/reference/javascript_reference.rst
parent0a2fcfbce900e78bcee2d6047d5ec5aa793cdf46 (diff)
[FIX] website_sale, website_sale_product_configurator: fix cart update
Commits df2ea31ff6e and 55ed70f405a moved things around, "without any functional change". They made it so that if you add twice a product to the cart, they are added in different lines instead of merged. There are two issues: - the `if line_id: return lines` made sense when the post-filtering was in the same function, since it could readily be avoided - conversely the post-filtering was avoided in the function that was added with the only goal to do it, except in the case where it was useless (the case where lines is an empty recordset). opw 2083729 closes odoo/odoo#38938 X-original-commit: c9c0a0c322f02974bc6395410ca3d7213899c7e0 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions