Skip to content

Commit

Permalink
fix: positional argument order for before_rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Dec 17, 2023
1 parent 1457893 commit fe42033
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -8,7 +8,7 @@ class DataValidationError(frappe.ValidationError):
pass


def execute(doc, old_name, new_name, merge=False):
def execute(doc, method=None, old_name=None, new_name=None, merge=False):
"""
Block merge if both old and new items have website items against them.
This is to avoid duplicate website items after merging.
Expand Down

0 comments on commit fe42033

Please sign in to comment.