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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user