Setup of product variants
This commit is contained in:
@@ -15,6 +15,7 @@ class Product
|
||||
#has_and_belongs_to_many :product_categories, storing_keys: false
|
||||
belongs_to :supplier # direct! category is an aid
|
||||
has_many :product_orders
|
||||
has_many :product_variants
|
||||
|
||||
attr_protected :supplier_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user