mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-28 06:08:25 +00:00
Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
This commit is contained in:
@@ -560,7 +560,8 @@ class SellingController(StockController):
|
|||||||
reset_incoming_rate()
|
reset_incoming_rate()
|
||||||
|
|
||||||
if (
|
if (
|
||||||
not d.incoming_rate
|
(not d.incoming_rate or self.is_new())
|
||||||
|
and not is_standalone
|
||||||
or self.is_internal_transfer()
|
or self.is_internal_transfer()
|
||||||
or (get_valuation_method(d.item_code) == "Moving Average" and self.get("is_return"))
|
or (get_valuation_method(d.item_code) == "Moving Average" and self.get("is_return"))
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user