Merge pull request #34206 from rohitwaghchaure/fixed-trivial-error-for-stock-reposting
fix: not able to repost gl entries
This commit is contained in:
commit
6d6e3cb015
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user