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