fix(indentation): sales_and_purchase_return.py
This commit is contained in:
parent
1ff2315899
commit
9a29bfa49e
@ -220,7 +220,7 @@ def make_return_doc(doctype, source_name, target_doc=None):
|
|||||||
tax.tax_amount = -1 * tax.tax_amount
|
tax.tax_amount = -1 * tax.tax_amount
|
||||||
|
|
||||||
if doc.get("is_return"):
|
if doc.get("is_return"):
|
||||||
if doc.doctype == 'Sales Invoice':
|
if doc.doctype == 'Sales Invoice':
|
||||||
doc.set('payments', [])
|
doc.set('payments', [])
|
||||||
for data in source.payments:
|
for data in source.payments:
|
||||||
paid_amount = 0.00
|
paid_amount = 0.00
|
||||||
|
Loading…
x
Reference in New Issue
Block a user