Demo fixed for Process Payroll and Salary Structure

This commit is contained in:
Kanchan Chauhan
2016-10-20 14:53:10 +05:30
parent 0702fa2fc6
commit 1c1e2e9cbe
2 changed files with 9 additions and 13 deletions

View File

@@ -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',