mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
duplicate item message
This commit is contained in:
@@ -72,8 +72,8 @@ class PurchaseCommon(BuyingController):
|
|||||||
frappe.throw(_("{0} must be a Purchased or Sub-Contracted Item in row {1}").format(d.item_code, d.idx))
|
frappe.throw(_("{0} must be a Purchased or Sub-Contracted Item in row {1}").format(d.item_code, d.idx))
|
||||||
|
|
||||||
items.append(cstr(d.item_code))
|
items.append(cstr(d.item_code))
|
||||||
if items and len(items) != len(set(items)):
|
if items and len(items) != len(set(items)):
|
||||||
frappe.msgprint(_("Warning: Same item has been entered multiple times."))
|
frappe.msgprint(_("Warning: Same item has been entered multiple times."))
|
||||||
|
|
||||||
|
|
||||||
def check_for_stopped_status(self, doctype, docname):
|
def check_for_stopped_status(self, doctype, docname):
|
||||||
|
|||||||
Reference in New Issue
Block a user