Skip to content

Commit

Permalink
fix customResearch
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Aug 13, 2024
1 parent f813a54 commit 40b6b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/directions/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3583,7 +3583,7 @@ def tubes_for_get(request):
if data["direction"]["full_confirm"] and not v.time_confirmation:
data["direction"]["full_confirm"] = False

if direction.external_order:
if direction.external_order or SettingManager.get("auto_create_tubes_with_direction", default='false', default_type='b'):
ntube: Optional[TubesRegistration] = v.tubes.all().first()
if ntube:
vrpk = ntube.type_id
Expand Down

0 comments on commit 40b6b52

Please sign in to comment.