mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix: correct typo in asset movement purpose validation
(cherry picked from commit 56da3bd2e4)
This commit is contained in:
@@ -79,7 +79,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