Initial tech approach to the Product Chain epic


#1

I’d like to start a thread to discuss the technical approach to the “product chain” epic that will come up sooner or later.

It looks like it will be an opportunity to refactor variant overrides and make what is today an override a first class citizen in OFN: a normal variant inside a product. This will make things a lot simpler and most of the “chain” features will be implemented “around” the basic product/variant logic, not “within” it as overrides do.

There are multiple points to discuss but I’d like to clarify one question I have about inventory items. Inventory items are a connection between variants and enterprises and were introduced here on top of overrides to control inventory visibility. Was this an attempt at stepping out of variant overrides world? Why was this “inventory_item.visible” flag not simply added to the variant overrides table?