mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 05:09:11 +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)
|
rule = frappe.db.exists("Gratuity Rule", name)
|
||||||
if not rule:
|
if not rule:
|
||||||
create_gratuity_rule()
|
create_gratuity_rule()
|
||||||
else:
|
|
||||||
rule = frappe.get_doc("Gratuity Rule", name)
|
rule = frappe.get_doc("Gratuity Rule", name)
|
||||||
rule.applicable_earnings_component = []
|
rule.applicable_earnings_component = []
|
||||||
rule.append("applicable_earnings_component", {
|
rule.append("applicable_earnings_component", {
|
||||||
|
|||||||
Reference in New Issue
Block a user