Merge pull request #34206 from rohitwaghchaure/fixed-trivial-error-for-stock-reposting

fix: not able to repost gl entries
This commit is contained in:
rohitwaghchaure
2023-02-24 21:10:27 +05:30
committed by GitHub

View File

@@ -473,7 +473,7 @@ class PurchaseReceipt(BuyingController):
)
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: