mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-05 13:10:57 +00:00
Expand possibilities for variant conversion
- Ref get_conversion_options
This commit is contained in:
@ -1373,7 +1373,7 @@ class StockItemConvert(AjaxUpdateView):
|
||||
form = super().get_form()
|
||||
item = self.get_object()
|
||||
|
||||
form.fields['part'].queryset = item.part.get_all_variants()
|
||||
form.fields['part'].queryset = item.part.get_conversion_options()
|
||||
|
||||
return form
|
||||
|
||||
|
Reference in New Issue
Block a user