From 0175fbd47026daa45333829637285a0e74bfcadb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 10 Jun 2013 16:27:29 +0530 Subject: [PATCH] [buying] [purchase taxes] get cost center from taxes master --- buying/doctype/purchase_common/purchase_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buying/doctype/purchase_common/purchase_common.py b/buying/doctype/purchase_common/purchase_common.py index d5b563b3c5..2b6ca27acc 100644 --- a/buying/doctype/purchase_common/purchase_common.py +++ b/buying/doctype/purchase_common/purchase_common.py @@ -432,6 +432,7 @@ class DocType(BuyingController): d.account_head = other['account_head'] d.rate = flt(other['rate']) d.tax_amount = flt(other['tax_amount']) + d.cost_center = other["cost_center"] d.idx = idx idx += 1 return obj.doclist