summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2019-04-03 15:17:04 +0000
committerDenis Ledoux <dle@odoo.com>2019-04-03 15:22:12 +0000
commita7ac88e68cc24d3033c65606415449e8f347f7b3 (patch)
treeb38a0a1da12c7afcf22f96440923bbe252e2904c /addons/web/static/src/js/views/basic/basic_controller.js
parent436eb6945063a05e6899559dab239bb5f912be37 (diff)
[FIX] point_of_sale: crashing tax cash basis when no reconciled order line
Because of rev. d3453f7d152d486cb5df01b4e40dbde57f59b49e when none of the pos order lines were reconciled, the closing of the point of sale sessions failed because of the tax cash basis entry generation. There is no need to create the tax cash basis entries as nothing has been reconciled. A known case is when the the bank journal credit account is set to a receivable account, which has as effect to fully reconcile the payment line with its counterpart, leaving no payment lines to reconcile with the order debit lines. This is obviously not a correct accounting configuration, but the point of sale validation did no fail because of this previously. Fixes #32330 closes odoo/odoo#32399 Signed-off-by: Denis Ledoux <beledouxdenis@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions