Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Jan 18, 2024
1 parent 886f12d commit 1e5d1df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/jazkarta/easyformplugin/salesforce/prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def _prefill_value_factory(adapter, context, request, view, field, widget):
for sf_field, expr in fields.items():
if expr == "form:%s" % field.__name__:
adapter = SalesforcePrefillValue(form, field, operation, sf_field)

value = adapter.get()
if value is not None:
return adapter
value = adapter.get()
if value is not None:
return adapter
break

# Didn't find a value, fall back to less specific adapter
adapter = superAdapter(
Expand Down

0 comments on commit 1e5d1df

Please sign in to comment.