fix: Removed un-used flag

This commit is contained in:
Anurag Mishra 2021-07-08 13:05:14 +05:30
parent f0b62f70d5
commit 8f945a9852

View File

@ -117,7 +117,6 @@ class PayrollEntry(Document):
Creates salary slip for selected employees if already not created
"""
self.check_permission('write')
self.created = 1
employees = [emp.employee for emp in self.employees]
if employees:
args = frappe._dict({