bugfix autocomplete
This commit is contained in:
parent
028c860da9
commit
b9e8fec128
@ -43,7 +43,7 @@ class PProductRef < ApplicationRecord
|
||||
:id => {:name => "Id", :reorder => true},
|
||||
:p_product_cat => {:name => "Catégorie", :reorder => true, :sort_name => "cc_p_product_cat_id",},
|
||||
:ref => {:name => "Référence"},
|
||||
:cc_name => {:name => "Produit"},
|
||||
# :cc_name => {:name => "Produit"},
|
||||
# :description => {:name => "Description"},
|
||||
:cc_name => {:name => "Nom référence"},
|
||||
:ct_price_ht => {:name => "Prix de vente", :as => :currency},
|
||||
@ -204,7 +204,7 @@ class PProductRef < ApplicationRecord
|
||||
end
|
||||
|
||||
def member_label
|
||||
"#{self.ref} | #{self.p_product.name} - #{self.ct_sub_name} - #{self.p_product_color.name if self.p_product_color} | #{self.ca_name}"
|
||||
"#{self.ref} | #{self.cc_name}"
|
||||
end
|
||||
|
||||
def ca_sorecop
|
||||
|
Reference in New Issue
Block a user