fix: not able to repost gl entries
(cherry picked from commit7d10dd9ea8) (cherry picked from commit2039bd066d)
This commit is contained in:
committed by
Mergify
parent
5f25cea322
commit
a34aff6f49
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user