mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
fix: conflict
This commit is contained in:
@@ -137,7 +137,6 @@ def get_gratuity_rule(name):
|
||||
rule = frappe.db.exists("Gratuity Rule", name)
|
||||
if not rule:
|
||||
create_gratuity_rule()
|
||||
else:
|
||||
rule = frappe.get_doc("Gratuity Rule", name)
|
||||
rule.applicable_earnings_component = []
|
||||
rule.append("applicable_earnings_component", {
|
||||
|
||||
Reference in New Issue
Block a user