mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-21 19:34:54 +02:00
Allow part lots to have an null storage location.
Otherwise we loose informations on migration.
This commit is contained in:
parent
c7e8fc9642
commit
016c2889ba
4 changed files with 16 additions and 8 deletions
|
@ -58,6 +58,7 @@ class PartLotType extends AbstractType
|
|||
|
||||
$builder->add('storage_location', StructuralEntityType::class, ['class' => Storelocation::class,
|
||||
'label' => 'part_lot.edit.location',
|
||||
'required' => false,
|
||||
'disable_not_selectable' => true,
|
||||
'attr' => ['class' => 'selectpicker form-control-sm', 'data-live-search' => true]]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue