File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pytest-cov = "*"
1111
1212[packages ]
1313urllib3 = " >=2.1.0"
14- intuit-oauth = " ==1.2.4 "
14+ intuit-oauth = " ==1.2.5 "
1515requests = " >=2.31.0"
1616simplejson = " >=3.19.1"
1717requests_oauthlib = " >=1.3.1"
Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ def to_ref(self):
3535
3636 ref .name = self .Name
3737 ref .type = self .qbo_object_name
38- ref .value = self .Id
38+ ref .value = self .Code
3939
4040 return ref
Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ def __init__(self):
7171 self .PaymentMethodRef = None
7272 self .ParentRef = None
7373 self .ARAccountRef = None
74+ self .CurrencyRef = None
7475
7576 def __str__ (self ):
7677 return self .DisplayName
Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ def test_unicode(self):
1313 def test_to_ref (self ):
1414 company_currency = CompanyCurrency ()
1515 company_currency .Name = "test"
16+ company_currency .Code = "USD"
1617 company_currency .Id = 23
1718
1819 ref = company_currency .to_ref ()
1920
2021 self .assertEqual (ref .name , "test" )
2122 self .assertEqual (ref .type , "CompanyCurrency" )
22- self .assertEqual (ref .value , 23 )
23+ self .assertEqual (ref .value , "USD" )
2324
You can’t perform that action at this time.
0 commit comments