msupply-foundation / open-msupply

Open mSupply represents our most recent advancement in the Logistics Management Information System (LMIS), expanding on more than two decades of development inherited from the well-established legacy of the original mSupply.
https://msupply.foundation/open-msupply/
Other
23 stars 14 forks source link

Item variant visibility #5485

Open jmbrunskill opened 6 days ago

jmbrunskill commented 6 days ago

Part of https://github.com/msupply-foundation/open-msupply/issues/5432

Is your feature request related to a problem? Please describe 👀

With GAPS, we plan to use a script to pre-populate a database of item_variants and packaging_variants that will be used for cold storage planning, however the installations will probably only want to use a limited number of these for stock management and for use in their supply chain. Often only 1 or 2 variants will be relevent for stock management.

Describe the solution you'd like 🎁

A check box for item variants that enables/disables their visibility.

Describe alternatives you've considered 💭

We could target which item_variants get created for an item, however this would potentially be lot of work and forecasting might be incorrect if a different item variant is selected from the master data.

We could simply delete the unused item_variants, but that would have the same problem of not making alternatives available for forecasting.

Additional context 💌

Moneyworks Jobcode 🧰

andreievg commented 5 days ago

Discussed this as not necessary for now, as likely not to have too many variants, lower priority

adamdewey commented 5 days ago

We might need to persist the last choice though?

As it would be super annoying if they have 2 variants but the wrong one pops up at the top 90% of the time and they have to switch the selection every single time..

adamdewey commented 5 days ago

Actually, I think the current behaviour is the selector is blank, so maybe not such an issue.

Could be kind of nice to populate it if there is only 1 variant though..