mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 23:49:19 +00:00
fixed employee permissions, fixed bug in import_merge of timestamps
This commit is contained in:
6
patches/november_2012/add_employee_field_in_employee.py
Normal file
6
patches/november_2012/add_employee_field_in_employee.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.clear_perms("Employee")
|
||||
webnotes.reload_doc("hr", "doctype", "employee")
|
||||
webnotes.conn.sql("""update tabEmployee set employee=name""")
|
||||
Reference in New Issue
Block a user