Skip to content

Commit

Permalink
CTD-130 add all exist and update fields to diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Dasha Syvyuk authored and Dasha Syvyuk committed Sep 10, 2021
1 parent 3249c36 commit 1198e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion livestyled/models/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def placeholder(cls, id):

def diff(self, other):
differences = {}
fields = ('external_id', 'status')
fields = ('external_id', 'status', 'collection_preference_type', 'check_in_time')
for field in fields:
if getattr(self, field) != getattr(other, field):
differences[field] = getattr(self, field)
Expand Down

0 comments on commit 1198e83

Please sign in to comment.