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

This commit is contained in:
Mihir Kandoi
2026-05-20 16:58:01 +05:30
committed by GitHub
parent 0bbddf4994
commit 00057b1798

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(