Compare commits
No commits in common. "7720926b2be0b0c5e7959a6c9e90ef95dc99fca2" and "37524386303eddc49f5b92da1dada034e6f9cc7c" have entirely different histories.
7720926b2b
...
3752438630
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ def installation_assign_step(request, instance_id, step_id):
|
||||||
next_step = instance.process.steps.filter(order__gt=step.order).first()
|
next_step = instance.process.steps.filter(order__gt=step.order).first()
|
||||||
|
|
||||||
# Installers list (profiles that have installer role)
|
# Installers list (profiles that have installer role)
|
||||||
installers = Profile.objects.filter(roles__slug=UserRoles.INSTALLER.value, county__city=instance.well.county.city).select_related('user').all()
|
installers = Profile.objects.filter(roles__slug=UserRoles.INSTALLER.value, county=instance.well.county).select_related('user').all()
|
||||||
assignment, _ = InstallationAssignment.objects.get_or_create(process_instance=instance)
|
assignment, _ = InstallationAssignment.objects.get_or_create(process_instance=instance)
|
||||||
|
|
||||||
# Role flags
|
# Role flags
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue