Skip to content

Commit

Permalink
Merge branch 'hotfix'
Browse files Browse the repository at this point in the history
  • Loading branch information
vjFaLk committed Jan 8, 2018
2 parents 680fcd2 + 885b95c commit 92bfa89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion erpnext_taxjar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

__version__ = '2.0.4'
__version__ = '2.0.5'

4 changes: 2 additions & 2 deletions erpnext_taxjar/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def create_transaction(doc, method):

# Allow skipping creation of transaction for dev environment
# if taxjar_create_transactions isn't defined in site_config we assume
# we DO want to create transactions all the time.
if not frappe.local.conf.get("taxjar_create_transactions", 1):
# we DO NOT want to create transactions all the time, except on production.
if not frappe.local.conf.get("taxjar_create_transactions", 0):
return

client = get_client()
Expand Down

0 comments on commit 92bfa89

Please sign in to comment.