Skip to content

Commit

Permalink
Fix setting default_app_config on app initialization
Browse files Browse the repository at this point in the history
Fix Service Obj initialization on Task to request conversion
Update spyne version to fix stupid bug with Spyne odict error
  • Loading branch information
bedilbek committed Jan 20, 2020
1 parent 12840ea commit ecc5ed7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions django_quickbooks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from django_quickbooks.utils import import_callable

HIGHEST_SUPPORTING_QBWC_VERSION = '2.2.0.34'
default_app_config = 'django_quickbooks.apps.DjangoQuickbooksConfig'


def get_session_manager():
Expand Down
2 changes: 1 addition & 1 deletion django_quickbooks/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Meta:

def get_request(self):
obj_class = import_object_cls(self.qb_resource)
service = obj_class.get_service()
service = obj_class.get_service()()
obj = self.content_object if self.content_type and self.object_id else None

if self.qb_operation == QUICKBOOKS_ENUMS.OPP_QR:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ packages = find:
install_requires =
Django>=2.0
lxml==4.4.2
spyne==2.12.16
spyne==2.13.12b0

[options.extras_require]
rabbit = pika>=1.1.0
Expand Down

0 comments on commit ecc5ed7

Please sign in to comment.