summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-02-12 16:27:51 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-02-12 16:27:51 +0000
commit5b37c40cacfe5254325d85fbdd3ffbc6b966c085 (patch)
tree74ec3f6bac1e2434f09e346ae94bec9a68a49d0d /addons/web/static/src/js/views/basic/basic_view.js
parent7dea5c418b358824a64dea2c2f5f4b2f19a5abe4 (diff)
[FIX] point_of_sale: reconcile cash returns rather than freight returns
Revert commit 296c5a2106950b57445c4fd1cb6cac4cd4be15af which was half-right: the accounting logic is correct but it overlooked that it broke the reconciliation of cash returns i.e. the client gives more money, and you return the change Given that this latter use case may occur more frequently we focus on that while we break freight returns i.e. the client returns a product, and you give the money back It is not possible to support both use cases because ultimately we don't know from which order an account.move.line comes the related PR #23356 should support both use cases but adds a field on account.move.line OPW 1925607 closes odoo/odoo#31037
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions