2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Allow barcode linking for stock location (#8802) (#8810)

(cherry picked from commit 16e97293089d6926658904cd2255c0efc7137ef7)

Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
github-actions[bot] 2024-12-31 16:01:15 +11:00 committed by GitHub
parent 5048c1d667
commit 4f7a12bd70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -280,6 +280,8 @@ export default function Stock() {
<BarcodeActionDropdown <BarcodeActionDropdown
model={ModelType.stocklocation} model={ModelType.stocklocation}
pk={location.pk} pk={location.pk}
hash={location?.barcode_hash}
perm={user.hasChangeRole(UserRoles.stock_location)}
actions={[ actions={[
{ {
name: 'Scan in stock items', name: 'Scan in stock items',