commit | 7d10dd9ea8671c27709e88350c6799ba187c4929 | [log] [tgz] |
---|---|---|
author | Rohit Waghchaure <rohitw1991@gmail.com> | Fri Feb 24 17:50:00 2023 +0530 |
committer | Rohit Waghchaure <rohitw1991@gmail.com> | Fri Feb 24 17:50:00 2023 +0530 |
tree | 2f3cb5d75e739b249670d7aa840c2716388a818d | |
parent | 192a3395a5ca5804ed48582b6c7137ae2138880a [diff] |
fix: not able to repost gl entries
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py index af0d148..f19f0a1 100644 --- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py +++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.py
@@ -473,7 +473,7 @@ ) divisional_loss = flt( - valuation_amount_as_per_doc - stock_value_diff, d.precision("base_net_amount") + valuation_amount_as_per_doc - flt(stock_value_diff), d.precision("base_net_amount") ) if divisional_loss: