From 4d462d637f0289c271ac188636d2838a46bd176f Mon Sep 17 00:00:00 2001 From: Zlash65 Date: Tue, 21 Aug 2018 18:19:26 +0530 Subject: [PATCH] indentation fix --- erpnext/controllers/sales_and_purchase_return.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/controllers/sales_and_purchase_return.py b/erpnext/controllers/sales_and_purchase_return.py index f893a91768..ea5116ff43 100644 --- a/erpnext/controllers/sales_and_purchase_return.py +++ b/erpnext/controllers/sales_and_purchase_return.py @@ -223,9 +223,9 @@ def make_return_doc(doctype, source_name, target_doc=None): if doc.doctype == 'Sales Invoice': doc.set('payments', []) for data in source.payments: - paid_amount = 0.00 + paid_amount = 0.00 base_paid_amount = 0.00 - data.base_amount = flt(data.amount*source.conversion_rate, source.precision("base_paid_amount")) + data.base_amount = flt(data.amount*source.conversion_rate, source.precision("base_paid_amount")) paid_amount += data.amount base_paid_amount += data.base_amount doc.append('payments', {