indentation fix

This commit is contained in:
Zlash65 2018-08-21 18:19:26 +05:30
parent 9a29bfa49e
commit 4d462d637f

View File

@ -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', {