mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
patch for address template fixes #1749
This commit is contained in:
@@ -21,4 +21,4 @@ class AddressTemplate(Document):
|
|||||||
|
|
||||||
def on_trash(self):
|
def on_trash(self):
|
||||||
if self.is_default:
|
if self.is_default:
|
||||||
frappe.throw(_("Default Address Tempalate cannot be deleted"))
|
frappe.throw(_("Default Address Template cannot be deleted"))
|
||||||
|
|||||||
Reference in New Issue
Block a user