diff options
| author | Achraf (abz) <abz@odoo.com> | 2020-10-07 15:15:49 +0000 |
|---|---|---|
| committer | Achraf (abz) <abz@odoo.com> | 2020-10-09 12:13:25 +0000 |
| commit | 4fc64ad1479c7e4cf6d1d7fa639582fd2c9e6d79 (patch) | |
| tree | f0276109f20b9fd29db7583a3acce0c896c69216 /addons/uom | |
| parent | 336d3a428129857e39d98075ca8e95003c09b01e (diff) | |
[FIX] sale_coupon: promotion program with several identical products
Issue
- Create promotion program with product_x
- Create new quotation
- Add product_x on the first line
- Add another product_x on the second line
- Press "Promotions" button
Cause
The attribut reward_product_qty except singleton but order_line contain more than one element
Solution
Take the order line with the higher quantity
opw-2350574
closes odoo/odoo#59634
X-original-commit: 30d66b17ea1829e30de176774c7511aab19851a0
Signed-off-by: agr-odoo <agr-odoo@users.noreply.github.com>
Signed-off-by: Achraf <macadelic80@users.noreply.github.com>
Diffstat (limited to 'addons/uom')
0 files changed, 0 insertions, 0 deletions
