diff options
| author | Romain Derie <rde@odoo.com> | 2018-11-09 14:23:49 +0100 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2018-11-15 15:56:25 +0100 |
| commit | e8efcb1bc34353ad89bf027d28eee6977de8cd13 (patch) | |
| tree | 91a3030679c5778cac19eb19a27243dfc1da82c9 /tests/test_program_with_code_operations.py | |
| parent | 7b99c0db92e42b712104abc7147eb9ed807ceb2f (diff) | |
[FIX] sale_coupon: do not deduce reward quantity on current_order
Before this commit:
1. We were checking if the rewards were in the SO even if it was 'next_order'
program.
2. We were deducing the rewards quantity for 'next_order' program when checking
if we had enough products to meet the program requirements.
Now:
1. We don't verify if the reward is on the SO if the program is 'next_order'
2. We don't deduce reward quantity when checking if enough products to meet the
program requirements if the program is 'next_order'
opw-1907211
Closes #3062
Diffstat (limited to 'tests/test_program_with_code_operations.py')
0 files changed, 0 insertions, 0 deletions
