2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-09 11:08:54 +00:00

[bug] Make "issued_by" field read-only (#11816)

* Fix "issued_by" for BuildOrder model

- Automatically capture user information
- Mark field as read-only
- Remove from frontend forms

* Add "created_by" property

* Update unit test

* Update API and CHANGELOG

* Further adjustments to unit tests
This commit is contained in:
Oliver
2026-04-27 17:35:28 +10:00
committed by GitHub
parent e3a2a02857
commit 9763ce01ae
8 changed files with 42 additions and 14 deletions
-7
View File
@@ -8,7 +8,6 @@ import {
IconList,
IconSitemap,
IconTruckDelivery,
IconUser,
IconUsersGroup
} from '@tabler/icons-react';
import { useEffect, useMemo, useState } from 'react';
@@ -128,12 +127,6 @@ export function useBuildOrderFields({
link: {
icon: <IconLink />
},
issued_by: {
icon: <IconUser />,
filters: {
is_active: true
}
},
responsible: {
icon: <IconUsersGroup />,
filters: {