-
Notifications
You must be signed in to change notification settings - Fork 184
Description
In assemblies_part.rb, there is a after_create callback that disables inventory tracking for the master of the part.
https://github.com/spree-contrib/spree-product-assembly/blame/master/app/models/spree/assemblies_part.rb#L27
Is this the correct behavior, or should it actually be removing tracking of inventory on the assembly's master? I don't understand why we would want to turn tracking off for the part's master, because it could also be individually sold and need its own tracking. The guard means it will only occur for parts that have multiple variants, so it seems the intent was to turn off tracking on the part, I just don't understand why and thought I'd see if someone more knowledgeable with the project could look at this to see if this is the correct behavior.