Open marthakeezy opened 1 week ago
There's probably a GAPS pedant that'd say technically ALL locations have some sort of temperature range. Like a warehouse is probably ideally manages heat to keep it ~20C or whatever. And 0C-0C is perfectly valid, very tight range 🤪.
Srs though I'd have thunk maybe a flag to just say this location needs temperature monitoring that should be ticked before allowing temperature range?
I presume @adamdewey should have 2c on this.
Further discussion in the chat:
Laché to Adam:
Ohhh I see, you're saying hide the options from the dropdown, as opposed to not including the range in parentheses if its 0-0 ... it is a different request but handling the same thing, so I think fine to have in same issue 🙏
Adam:
yeah exactly!
Srs though I'd have thunk maybe a flag to just say this location needs temperature monitoring that should be ticked before allowing temperature range?
I agree with this!
I was thinking a checkbox with Is temperature controlled
on it
Further discussion in the chat:
Laché to Adam:
Ohhh I see, you're saying hide the options from the dropdown, as opposed to not including the range in parentheses if its 0-0 ... it is a different request but handling the same thing, so I think fine to have in same issue 🙏
Adam:
yeah exactly!
This is talking about hiding Location types
that don't have a temperature range defined from the Item Variants page:
@adamdewey So the agreed solution is to just not have a storage temperature type
at all if it's defined as 0-0?
@adamdewey So the agreed solution is to just not have a storage temperature type at all if it's defined as 0-0?
Ideally the OG team (@Chris-Petty) would be able to add a checkbox and we base it on that I think?
Good first issue, front end fix to just hide location types in GAPS stuff where temperature is 0 - 0
Closed in #5518
V2.4.0-RC3
Hey team!
It looks like now, if the temperature range has a 0 at all, it doesn't show in omSupply
What went wrong? 😲
At the moment, it seems like when you add Location Type in OG mSupply, the temperature input is compulsory - e.g. it is pre-populated with 0, and there cannot be a blank value. However, not every Location Type needs to have temperature associated with it, and the user can leave it unchanged.
In omSupply though, it comes out as a temperature range 0-0, which can be confusing for the user and does not look nice.
Expected behaviour 🤔
As a solution, we can either:
How to Reproduce 🔨
Steps to reproduce the behaviour:
Your environment 🌱