fix: validation message for valuation rate (#37301) (cherry picked from commit 643bb0511ce6b858d84613d08b551b7f15c6364a) Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
parent
27bb0b1130
commit
d2aa4d5d6b
@ -288,7 +288,9 @@ class SellingController(StockController):
|
||||
last_valuation_rate_in_sales_uom = last_valuation_rate * (item.conversion_factor or 1)
|
||||
|
||||
if flt(item.base_net_rate) < flt(last_valuation_rate_in_sales_uom):
|
||||
throw_message(item.idx, item.item_name, last_valuation_rate_in_sales_uom, "valuation rate")
|
||||
throw_message(
|
||||
item.idx, item.item_name, last_valuation_rate_in_sales_uom, "valuation rate (Moving Average)"
|
||||
)
|
||||
|
||||
def get_item_list(self):
|
||||
il = []
|
||||
|
Loading…
Reference in New Issue
Block a user