diff --git a/InvenTree/templates/js/translated/build.js b/InvenTree/templates/js/translated/build.js
index 47ec24b3ed..2c6d37786a 100644
--- a/InvenTree/templates/js/translated/build.js
+++ b/InvenTree/templates/js/translated/build.js
@@ -34,7 +34,7 @@
 
 
 function buildFormFields() {
-    return {
+    let fields = {
         reference: {
             icon: 'fa-hashtag',
         },
@@ -84,6 +84,12 @@ function buildFormFields() {
             icon: 'fa-users',
         },
     };
+
+    if (!global_settings.PROJECT_CODES_ENABLED) {
+        delete fields.project_code;
+    }
+
+    return fields;
 }
 
 /*