diff options
| author | Joren Van Onder <jov@odoo.com> | 2018-02-01 17:34:53 -0800 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2018-02-25 19:35:11 -0800 |
| commit | 5b769650d6416be123e972aa8f4b2b2c25ce438f (patch) | |
| tree | bba6e6dd4ab6ce93b39e4931513ea0423259f3bc /addons/web/static/src/js | |
| parent | 141a2acdd8e2c4172096ea9aa212c3b098fcc6b1 (diff) | |
[FIX] point_of_sale: allow refunds on non-cash journals
A customer can pay an order with a non-cash journal (e.g. a credit
card through a stand-alone terminal).
When this order has to be refunded later it should be possible to do
so on that same journal.
Some code prevented this from happening, notably a check in
order_is_valid which explicitly prevented this for an unknown
reason. There is no explanation in the
commit (4647f896a428a19daa5b0bc3585e801110e815b4) introducing that.
This commit allows the following:
1. input what you want to refund with a negative qty
2. click 'Payment'
3. click the Credit Card (type Bank) journal
4. (amount is auto-populated)
5. click 'Validate'
opw-805302
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions
