Skip to content

Commit

Permalink
Ignore include_deleted flag for Estimate stream (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
xacadil authored Dec 13, 2023
1 parent 9e47ef3 commit c34b249
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion tap_quickbooks/quickbooks/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _sync_records(self, url, headers, params, stream):
headers.update(self.qb._get_standard_headers())
records_deleted = []
excluded_entities = ["Bill", "Payment", "Transfer", "CompanyInfo", "CreditMemo", "Invoice",
"JournalEntry", "Preferences", "Purchase", "SalesReceipt", "TimeActivity", "BillPayment"]
"JournalEntry", "Preferences", "Purchase", "SalesReceipt", "TimeActivity", "BillPayment","Estimate"]
if self.qb.include_deleted and stream not in excluded_entities:
# Get the deleted records first
if "WHERE" in query:
Expand Down

0 comments on commit c34b249

Please sign in to comment.