fix: not able to repost gl entries

(cherry picked from commit 7d10dd9ea8)
(cherry picked from commit 2039bd066d)
This commit is contained in:
Rohit Waghchaure
2023-02-24 17:50:00 +05:30
committed by Mergify
parent 5f25cea322
commit a34aff6f49

View File

@@ -436,7 +436,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: