From c34b2499a8289541597798a3b0a008c820ca7161 Mon Sep 17 00:00:00 2001 From: xacadil <92389481+xacadil@users.noreply.github.com> Date: Wed, 13 Dec 2023 20:33:54 +0500 Subject: [PATCH] Ignore include_deleted flag for Estimate stream (#87) --- .DS_Store | Bin 8196 -> 8196 bytes tap_quickbooks/quickbooks/rest.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.DS_Store b/.DS_Store index 7eb791c1902f28845cadc88a2f1c912b23285434..ded2b90b457505e86ff8c8bb1813e5505025affe 100644 GIT binary patch delta 1046 zcmd^7-Afcv9G$b4&TzrKi*D|9#V`@0)=WvsOkFX-T+{FaKTBqvYu;LCYiIoIVP7mF zD5%AtdWwpmD5Qv9Gv6X9Y9E52fFeeOqYD5^^w8f<02~G1M(r@b1Jnf_2 z{GtG3Lo-ovVn)~tv|LrwJ}=ELVWniu&~1JoZaAk5l|IxmN*OCxfjCv%=PG>8wvKGgc~4(2!hH)|FSvTjibd zUiqMWQNAial%L8k~Rcy5q%?C+>g zH5GnK{;T-`Spc6`ofK(aTDDyrBwNZ=SpeObg_T<+jL=*c218Y*gm3}b)2PXE>4tQ1Nq`kKkrqM~=l9aGqxQASQL8ld)ZaPk$7WPuJ3=y?ov1}4 z_R4r#GT}tfg>D(pFh($nLm0;t1dbvGGZWH6CZtn1jWall6qa!bmvIHxaRWDT>p^_e LQ+h^H71JWyT(c~9aB*8nRfLa^Q3b}=Uz2!F&i^# z*(5{{BBE#&Qbe^Yf)>#tV(1BN5^9_DT1DsHnQebTn{)Vm-}$}1?<|HF!z(MyS5=d| z$2hcPFmNNWk>=5UVRFk6V}i%~411JYrm#+Q&k55R@0k_07@6c?nz^WPo~S!y;Txw?V06qTg0pkSXWQvh@sxm zSTrgZvNNs2jfAkLLvHhkVLRw;gL*Ov%)bPIa8;+W^6)|!Q7g}bLExtM){9CqA+#D>>DBT}c-Jiu2@9_cskj`Agk}vXG26C}Qin1G}*n@IZ zpbib#hp;D31Z`+X2l_A|1scLI#&Hr8h{D1g=CR<3w1l%#r1MDPB9?IpmvIxfa2t2- N$2L95`rj2;#$RuX0kQx9 diff --git a/tap_quickbooks/quickbooks/rest.py b/tap_quickbooks/quickbooks/rest.py index dcfdd7a..582f9f7 100644 --- a/tap_quickbooks/quickbooks/rest.py +++ b/tap_quickbooks/quickbooks/rest.py @@ -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: