mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-03 16:40:19 +00:00
@@ -221,7 +221,7 @@ class MaterialRequest(BuyingController):
|
|||||||
item.item_code,
|
item.item_code,
|
||||||
)
|
)
|
||||||
if rate is not None:
|
if rate is not None:
|
||||||
item.db_set({"rate": flt(rate), "amount": flt(flt(rate) * item.qty, item.precision("amount"))})
|
item.db_set({"rate": rate, "amount": flt(rate * item.qty, item.precision("amount"))})
|
||||||
|
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
_("Item rates have been updated based on the selected Buying Price List {0}").format(
|
_("Item rates have been updated based on the selected Buying Price List {0}").format(
|
||||||
|
|||||||
Reference in New Issue
Block a user