commit | f73976946e4ec0469436d28bf5ea2e21dfbfed78 | [log] [tgz] |
---|---|---|
author | Gokulnath <95605271+Gokulnath17@users.noreply.github.com> | Thu Dec 15 10:22:49 2022 +0530 |
committer | GitHub <noreply@github.com> | Thu Dec 15 10:22:49 2022 +0530 |
tree | 097db89ceedb1466c9f93ad30e05b2a507b80b23 | |
parent | d404a03947c6bc22798253e7b5fd0a9b0f107b77 [diff] | |
parent | b7e994268105810aea1e50cfdb9dd40cb3f7c571 [diff] |
Merge branch 'develop' into Gokulnath_dev
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: