From c870d581223691a48cf94039f2dac4971095c3de Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 30 Aug 2021 16:20:40 +0200 Subject: [PATCH] Suite --- app/models/price_line.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/price_line.rb b/app/models/price_line.rb index 7a82893..0f9a174 100644 --- a/app/models/price_line.rb +++ b/app/models/price_line.rb @@ -209,7 +209,7 @@ class PriceLine < ApplicationRecord def ca_product_no_remise - if self.p_product_ref and self.p_customer and p_customer_product_price = self.p_product_ref.p_customer_product_prices.where(:p_customer_id => self.p_customer.id).first + if false #self.p_product_ref and self.p_customer and p_customer_product_price = self.p_product_ref.p_customer_product_prices.where(:p_customer_id => self.p_customer.id).first p_customer_product_price.no_remise