From 375c061daf77e3d19e8ddbe961a44acf4d6eee4e Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Tue, 4 Dec 2018 19:47:44 +0000 Subject: [PATCH] [FIX] sale_coupon: sdd sequence to the list view The coupon program applies only one rule based on the sequence. Steps to reproduce the bug: Create a promotion with 5% if untaxed amount is greater than 1,000$ Create a promotion with 10% if untaxed amount is greater than 2,000$ Create a promotion with 15% if untaxed amount is greater than 3,000$ Create a SO for 3500$ Click on "Update Promotions" Bug: The 5% promotion is applied because it is the first one in the list. Solution: Display the sequence field in the list view with a handle to sort the different promotions. closes odoo/enterprise#3209 --- views/sale_coupon_program_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/views/sale_coupon_program_views.xml b/views/sale_coupon_program_views.xml index e1852579b2549..074800a7d349e 100644 --- a/views/sale_coupon_program_views.xml +++ b/views/sale_coupon_program_views.xml @@ -116,6 +116,7 @@ sale.coupon.program +