remove qi_cache
This commit is contained in:
parent
60ee0d8197
commit
4ad0ac7db5
@ -88,11 +88,11 @@ class PProductRef < ApplicationRecord
|
||||
self.p_product.p_product_cat_id
|
||||
end
|
||||
|
||||
QI_DYNAMICS = %w(name code p_product_cat_id sub_cat_names cat_name)
|
||||
# QI_DYNAMICS = %w(name code p_product_cat_id sub_cat_names cat_name)
|
||||
|
||||
eval(QI_DYNAMICS_CORE)
|
||||
# eval(QI_DYNAMICS_CORE)
|
||||
|
||||
before_validation :qi_dynamics_cache
|
||||
# before_validation :qi_dynamics_cache
|
||||
|
||||
def get_price(options)
|
||||
p_customer = PCustomer.find(options[:p_customer_id]) if options[:p_customer_id]
|
||||
|
Reference in New Issue
Block a user