Skip to content

Commit

Permalink
Merge pull request #476 from itpp-labs/16.0-fix-dynamic-fields
Browse files Browse the repository at this point in the history
  • Loading branch information
itpp-bot authored May 12, 2024
2 parents 17753a3 + 6aeadf6 commit 45daa55
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sync/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ def _get_sync_property(self, property_name, property_type):
)

if not field:
raise exceptions.UserError(
f"Field '{field_name}' not found for the current model '{self._name}'."
)
return None

res_id = f"{self._name},{self.id}"
prop = Property.search(
Expand Down

0 comments on commit 45daa55

Please sign in to comment.