From 3ed9b783dc8ae9c33579b6c92fe4d2ea074b20a0 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 20 Jun 2017 15:20:26 +0200 Subject: [PATCH] [FIX] sale_coupon: Prevent users to modify the reward line product Purpose ======= People doesn't understand that the reward line product is the product that will be used in the discount line, not the product the be rewarded If they set another product before the program is created, the product they set will be renamed, which is wrong. Specification ============= - Don't display the field before it's set - Make the field readonly on the program form view --- views/sale_coupon_program_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/sale_coupon_program_views.xml b/views/sale_coupon_program_views.xml index 8f659172392..dc4cd937bb9 100644 --- a/views/sale_coupon_program_views.xml +++ b/views/sale_coupon_program_views.xml @@ -45,7 +45,7 @@ - +