patch for address template fixes #1749
This commit is contained in:
parent
eaa2e55d20
commit
33020a63b8
@ -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"))
|
||||||
|
Loading…
Reference in New Issue
Block a user