bugfix p_product_refs
This commit is contained in:
parent
4d3ccfd221
commit
05c832eb52
@ -10,6 +10,8 @@ class PProductRef < ApplicationRecord
|
|||||||
|
|
||||||
belongs_to :p_product_color
|
belongs_to :p_product_color
|
||||||
|
|
||||||
|
has_many :line_stocks
|
||||||
|
|
||||||
has_many :p_articles
|
has_many :p_articles
|
||||||
has_many :p_article_serial_nums, through: :p_articles
|
has_many :p_article_serial_nums, through: :p_articles
|
||||||
accepts_nested_attributes_for :p_article_serial_nums, allow_destroy: true
|
accepts_nested_attributes_for :p_article_serial_nums, allow_destroy: true
|
||||||
|
Reference in New Issue
Block a user