Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c700373

Browse files
committed
fixed unorderable types error
1 parent bb36820 commit c700373

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickbooks/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def save(self, qb=None):
6868
if not qb:
6969
qb = QuickBooks()
7070

71-
if self.Id and self.Id > 0:
71+
if self.Id and int(self.Id) > 0:
7272
json_data = qb.update_object(self.qbo_object_name, self.to_json())
7373
else:
7474
json_data = qb.create_object(self.qbo_object_name, self.to_json())

0 commit comments

Comments
 (0)