chore: Remove gratuity rule patch

This commit is contained in:
Rucha Mahabal 2022-07-07 13:48:59 +05:30
parent ef02e58859
commit 2248276fe9
2 changed files with 0 additions and 20 deletions

View File

@ -199,7 +199,6 @@ erpnext.patches.v13_0.item_reposting_for_incorrect_sl_and_gl
erpnext.patches.v13_0.delete_old_bank_reconciliation_doctypes
erpnext.patches.v13_0.update_vehicle_no_reqd_condition
erpnext.patches.v13_0.rename_membership_settings_to_non_profit_settings
erpnext.patches.v13_0.setup_gratuity_rule_for_india_and_uae
erpnext.patches.v13_0.setup_uae_vat_fields
execute:frappe.db.set_value('System Settings', None, 'app_name', 'ERPNext')
erpnext.patches.v12_0.purchase_receipt_status

View File

@ -1,19 +0,0 @@
# Copyright (c) 2019, Frappe and Contributors
# License: GNU General Public License v3. See license.txt
import frappe
def execute():
frappe.reload_doc("payroll", "doctype", "gratuity_rule")
frappe.reload_doc("payroll", "doctype", "gratuity_rule_slab")
frappe.reload_doc("payroll", "doctype", "gratuity_applicable_component")
if frappe.db.exists("Company", {"country": "India"}):
from erpnext.regional.india.setup import create_gratuity_rule
create_gratuity_rule()
if frappe.db.exists("Company", {"country": "United Arab Emirates"}):
from erpnext.regional.united_arab_emirates.setup import create_gratuity_rule
create_gratuity_rule()