Merge pull request #15188 from Zlash65/indent-fix

[Minor] Indentation fix
This commit is contained in:
Zarrar
2018-08-21 18:23:23 +05:30
committed by GitHub

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