Skip to content

Commit

Permalink
fix: on trash update status dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Apr 24, 2024
1 parent 5044f88 commit 05ff2c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def before_save(self):

def on_trash(self):
frappe.db.set_value(
"Purchase Invoice", self.link_name, "reconciliation_status", "Unreconciled"
self.link_doctype, self.link_name, "reconciliation_status", "Unreconciled"
)


Expand Down

0 comments on commit 05ff2c9

Please sign in to comment.