summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-06-22 13:04:21 +0000
committerNicolas Martinelli <nim@odoo.com>2020-06-30 10:18:22 +0000
commitf3f07434f675c7d895f6a9749a959f72a6bdc1cb (patch)
tree7ed644adca012b6b43b6d939cd4135fb1c10874a /doc/reference/javascript_reference.rst
parentb2c4c4301570dea3ab64b4ccd2c4c8b0e7d05e4d (diff)
[FIX] point_of_sale, pos_discount: install discount when session open
Commit 4c4adf472453de65e45e fixed the `pos_discount` installation in case of a session is already opened. However, this breaks the following condition: https://github.com/odoo/odoo/blob/8aa952d18acca5a0ac3b32579e812158e641c13c/addons/point_of_sale/views/point_of_sale_dashboard.xml#L67 The `current_session_id` is always filled in for any user, so the badge is not shown anymore. We can keep the same logic than the mentioned commit but without impacting the computation of `current_session_id`. closes odoo/odoo#53412 closes odoo/odoo#53858 X-original-commit: 7e0e89cbf5d09c106936a582e27af527535103f6 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions