Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] sale_loyalty_delivery: fix reward for multiple delivery lines
The method `_get_reward_values_free_shipping` assumes there is only one delivery line per sale order. But it is not always the case. This commit therefore makes sure the method does not raise an error in case of multiple lines by taking into account only the first delivery line. Fixes odoo#136395 closes odoo#159584 Signed-off-by: Vallaeys Valentin (vava) <vava@odoo.com>
- Loading branch information