mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
chore: Remove gratuity rule patch
This commit is contained in:
@@ -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.delete_old_bank_reconciliation_doctypes
|
||||||
erpnext.patches.v13_0.update_vehicle_no_reqd_condition
|
erpnext.patches.v13_0.update_vehicle_no_reqd_condition
|
||||||
erpnext.patches.v13_0.rename_membership_settings_to_non_profit_settings
|
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
|
erpnext.patches.v13_0.setup_uae_vat_fields
|
||||||
execute:frappe.db.set_value('System Settings', None, 'app_name', 'ERPNext')
|
execute:frappe.db.set_value('System Settings', None, 'app_name', 'ERPNext')
|
||||||
erpnext.patches.v12_0.purchase_receipt_status
|
erpnext.patches.v12_0.purchase_receipt_status
|
||||||
|
|||||||
@@ -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()
|
|
||||||
Reference in New Issue
Block a user