fix: Set default cost center in payroll entry
This commit is contained in:
parent
294319e71b
commit
38b05a1296
@ -862,6 +862,7 @@
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"columns": 0,
|
||||
"default": ":Company",
|
||||
"fetch_from": "",
|
||||
"fieldname": "cost_center",
|
||||
"fieldtype": "Link",
|
||||
@ -1190,7 +1191,7 @@
|
||||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2019-02-02 12:37:07.846885",
|
||||
"modified": "2019-02-05 10:41:08.865842",
|
||||
"modified_by": "Administrator",
|
||||
"module": "HR",
|
||||
"name": "Payroll Entry",
|
||||
|
@ -21,6 +21,8 @@ class TestPayrollEntry(unittest.TestCase):
|
||||
make_earning_salary_component(setup=True)
|
||||
make_deduction_salary_component(setup=True)
|
||||
|
||||
frappe.db.set_value("HR Settings", None, "email_salary_slip_to_employee", 0)
|
||||
|
||||
def test_payroll_entry(self): # pylint: disable=no-self-use
|
||||
company = erpnext.get_default_company()
|
||||
for data in frappe.get_all('Salary Component', fields = ["name"]):
|
||||
|
Loading…
Reference in New Issue
Block a user