Logic fix for boolean fields in JS forms
Logic fix for boolean fields in JS forms

(cherry picked from commit 10dec7743e083ccffdd819b36b231189b26ca8d9)

SchrodingersGat/InvenTree,inventree/InvenTree,SchrodingersGat/InvenTree,inventree/InvenTree,SchrodingersGat/InvenTree,SchrodingersGat/InvenTree,inventree/InvenTree,inventree/InvenTree