mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-14 11:56:44 +00:00
- Do not just cast to bool
- The string "False" casts to True in this case
- Use the function that supports strings
(cherry picked from commit 8cb808f613)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>