Skip to content

Commit

Permalink
fix: skip updating gratuity status on FnF cancellation
Browse files Browse the repository at this point in the history
- payment is handled via JV so cancelling FnF -> cancel JV -> update status
  • Loading branch information
ruchamahabal committed Jan 9, 2025
1 parent f1d2d5e commit 3007ff0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def before_submit(self):

def on_cancel(self):
self.ignore_linked_doctypes = ("GL Entry",)
self.set_gratuity_status()

def validate_relieving_date(self):
if not self.relieving_date:
Expand Down

0 comments on commit 3007ff0

Please sign in to comment.