* feat: Payroll based on attendance and leave * test: salary slip based 0n attendance * feat: Payroll based on attendance * fix: Codacy issues Co-authored-by: Anurag Mishra <mishranaman123@gmail.com>
		
			
				
	
	
		
			6 lines
		
	
	
		
			191 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			191 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from __future__ import unicode_literals
 | |
| import frappe
 | |
| 
 | |
| def execute():
 | |
| 	frappe.reload_doc("hr", "doctype", "hr_settings")
 | |
| 	frappe.db.set_value("HR Settings", None, "payroll_based_on", "Leave") |