indentation fix
This commit is contained in:
parent
9a29bfa49e
commit
4d462d637f
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user