mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-20 03:47:11 +00:00
Fixes for updating item variant from template (#10975)
* Fixes for updating item variant from template * More fixes for test cases
This commit is contained in:
@@ -61,7 +61,7 @@ class Project(Document):
|
||||
self.send_welcome_email()
|
||||
|
||||
def validate_project_name(self):
|
||||
if frappe.db.exists("Project", self.project_name):
|
||||
if self.get("__islocal") and frappe.db.exists("Project", self.project_name):
|
||||
frappe.throw(_("Project {0} already exists").format(self.project_name))
|
||||
|
||||
def validate_dates(self):
|
||||
|
||||
Reference in New Issue
Block a user