mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
fix: toast message for item price insert (#55009)
(cherry picked from commit ae9c632e39)
This commit is contained in:
@@ -1129,7 +1129,7 @@ def insert_item_price(ctx: ItemDetailsCtx):
|
|||||||
)
|
)
|
||||||
item_price.insert()
|
item_price.insert()
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
_("Item Price Added for {0} in Price List {1}").format(
|
_("Item Price added for {0} in Price List - {1}").format(
|
||||||
get_link_to_form("Item", ctx.item_code), ctx.price_list
|
get_link_to_form("Item", ctx.item_code), ctx.price_list
|
||||||
),
|
),
|
||||||
alert=True,
|
alert=True,
|
||||||
@@ -1153,9 +1153,10 @@ def insert_item_price(ctx: ItemDetailsCtx):
|
|||||||
)
|
)
|
||||||
item_price.insert()
|
item_price.insert()
|
||||||
frappe.msgprint(
|
frappe.msgprint(
|
||||||
_("Item Price added for {0} in Price List {1}").format(
|
_("Item Price added for {0} in Price List - {1}").format(
|
||||||
get_link_to_form("Item", ctx.item_code), ctx.price_list
|
get_link_to_form("Item", ctx.item_code), ctx.price_list
|
||||||
)
|
),
|
||||||
|
alert=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user