fix: valuation rate missing for standalone credit notes for moving av… (backport #55102) (#55104)

Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
fix: valuation rate missing for standalone credit notes for moving av… (#55102)
This commit is contained in:
mergify[bot]
2026-05-20 11:49:54 +00:00
committed by GitHub
parent bb87ffc90a
commit b11365b8c2

View File

@@ -579,6 +579,7 @@ class SellingController(StockController):
or ( or (
get_valuation_method(d.item_code, self.company) == "Moving Average" get_valuation_method(d.item_code, self.company) == "Moving Average"
and self.get("is_return") and self.get("is_return")
and not is_standalone
) )
): ):
d.incoming_rate = get_incoming_rate( d.incoming_rate = get_incoming_rate(