mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-31 23:33:43 +00:00
[Minor] Demo fixes (#7499)
This commit is contained in:
committed by
Rushabh Mehta
parent
4ad121e1a4
commit
b89be1e193
@@ -163,11 +163,10 @@ def setup_salary_structure(employees, salary_slip_based_on_timesheet=0):
|
||||
ss.append('deductions', {
|
||||
'salary_component': 'Income Tax',
|
||||
"abbr":'IT',
|
||||
'condition': 'base > 1000',
|
||||
'amount': random.random() * 1000,
|
||||
'condition': 'base > 10000',
|
||||
'formula': 'base*.1',
|
||||
"idx": 1
|
||||
})
|
||||
|
||||
ss.insert()
|
||||
|
||||
return ss
|
||||
|
||||
Reference in New Issue
Block a user