mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 17:53:49 +00:00
fix: correct typo in asset movement purpose validation
This commit is contained in:
@@ -80,7 +80,7 @@ class AssetMovement(Document):
|
||||
)
|
||||
|
||||
def validate_employee(self, d):
|
||||
if self.purpose == "Tranfer and Issue":
|
||||
if self.purpose == "Transfer and Issue":
|
||||
if not d.from_employee:
|
||||
frappe.throw(_("From Employee is required while issuing Asset {0}").format(d.asset))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user