Demo fixed for Process Payroll and Salary Structure
This commit is contained in:
@@ -130,7 +130,7 @@ def setup_salary_structure():
|
||||
ss.from_date = e.date_of_joining if (e.date_of_joining
|
||||
and e.date_of_joining > f.year_start_date) else f.year_start_date
|
||||
ss.to_date = f.year_end_date
|
||||
|
||||
ss.payment_account = frappe.get_value('Account', {'account_type': 'Cash', 'company': erpnext.get_default_company(),'is_group':0}, "name")
|
||||
ss.append('earnings', {
|
||||
'salary_component': 'Basic',
|
||||
"abbr":'B',
|
||||
|
||||
Reference in New Issue
Block a user