except in python 3 compatible style
This commit is contained in:
parent
3a512af0e2
commit
c697526382
@ -311,7 +311,7 @@ class ProcessPayroll(Document):
|
|||||||
journal_entry.submit()
|
journal_entry.submit()
|
||||||
jv_name = journal_entry.name
|
jv_name = journal_entry.name
|
||||||
self.update_salary_slip_status(jv_name = jv_name)
|
self.update_salary_slip_status(jv_name = jv_name)
|
||||||
except Exception, e:
|
except Exception as e:
|
||||||
frappe.msgprint(e)
|
frappe.msgprint(e)
|
||||||
return jv_name
|
return jv_name
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user