From 8aae6764dc9274dd52b9747c5842b8dc38622148 Mon Sep 17 00:00:00 2001 From: Valmik Jangla Date: Wed, 27 Dec 2017 11:41:20 +0530 Subject: [PATCH 1/2] [fix] don't create transactions by default --- erpnext_taxjar/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext_taxjar/api.py b/erpnext_taxjar/api.py index 620fe5b..32ff915 100644 --- a/erpnext_taxjar/api.py +++ b/erpnext_taxjar/api.py @@ -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() From 885b95c6ae09ad94aac2a5550e5ba67233174fbf Mon Sep 17 00:00:00 2001 From: Valmik Jangla Date: Mon, 8 Jan 2018 20:32:07 +0600 Subject: [PATCH 2/2] bumped to version 2.0.5 --- erpnext_taxjar/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext_taxjar/__init__.py b/erpnext_taxjar/__init__.py index 2dde3df..cbae7ba 100644 --- a/erpnext_taxjar/__init__.py +++ b/erpnext_taxjar/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- from __future__ import unicode_literals -__version__ = '2.0.4' +__version__ = '2.0.5'