chore: Remove Salary Component Accounts doctype from Accounts module
This commit is contained in:
parent
d8aa1c59f1
commit
db586afc7b
@ -1,38 +0,0 @@
|
||||
{
|
||||
"actions": [],
|
||||
"creation": "2016-07-27 17:24:24.956896",
|
||||
"doctype": "DocType",
|
||||
"editable_grid": 1,
|
||||
"engine": "InnoDB",
|
||||
"field_order": [
|
||||
"company",
|
||||
"account"
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "company",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Company",
|
||||
"options": "Company"
|
||||
},
|
||||
{
|
||||
"description": "Default Bank / Cash account will be automatically updated in Salary Journal Entry when this mode is selected.",
|
||||
"fieldname": "account",
|
||||
"fieldtype": "Link",
|
||||
"in_list_view": 1,
|
||||
"label": "Account",
|
||||
"options": "Account"
|
||||
}
|
||||
],
|
||||
"istable": 1,
|
||||
"links": [],
|
||||
"modified": "2020-10-18 17:57:57.110257",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Accounts",
|
||||
"name": "Salary Component Account",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"sort_field": "modified",
|
||||
"sort_order": "DESC"
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and contributors
|
||||
# For license information, please see license.txt
|
||||
|
||||
|
||||
from frappe.model.document import Document
|
||||
|
||||
|
||||
class SalaryComponentAccount(Document):
|
||||
pass
|
@ -45,7 +45,8 @@ def execute():
|
||||
for doctype in doctypes:
|
||||
frappe.delete_doc("DocType", doctype, ignore_missing=True)
|
||||
|
||||
frappe.delete_doc("Loan Management", "Salary Slip Loan", ignore_missing=True)
|
||||
frappe.delete_doc("DocType", "Salary Slip Loan", ignore_missing=True)
|
||||
frappe.delete_doc("DocType", "Salary Component Account", ignore_missing=True)
|
||||
|
||||
notifications = frappe.get_all(
|
||||
"Notification", {"module": ("in", ["HR", "Payroll"]), "is_standard": 1}, pluck="name"
|
||||
|
Loading…
x
Reference in New Issue
Block a user