commit | 41fc3be339cc78dc7418776556830c29aa875999 | [log] [tgz] |
---|---|---|
author | Gokulnath17 <gokulnath@thirvusoft.in> | Wed Dec 14 10:46:11 2022 +0530 |
committer | Gokulnath17 <gokulnath@thirvusoft.in> | Wed Dec 14 10:46:11 2022 +0530 |
tree | 97681c44869265d52092649f23e36d25de710303 | |
parent | 5ea6080a6e5dbd5b2188de442e0a1b2176c7ffa8 [diff] |
fixes in gross profit report
diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index dacc809..99e86ae 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py
@@ -503,7 +503,7 @@ invoice_portion = 100 elif row.invoice_portion: invoice_portion = row.invoice_portion - else: + elif row.payment_amount: invoice_portion = row.payment_amount * 100 / row.base_net_amount if i == 0: