mirror of
https://github.com/inventree/InvenTree.git
synced 2026-04-25 12:33:33 +00:00
56f09e1aa6
- 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>