refactor: remove unused method

(cherry picked from commit ba7212c98b)
This commit is contained in:
Gursheen Anand
2023-09-23 19:11:46 +05:30
committed by ruthra kumar
parent a512d27dbb
commit 8c83bbc096

View File

@@ -580,17 +580,6 @@ class SalesInvoice(SellingController):
=======
>>>>>>> 68effd93bd (refactor: move reposting logic to common controller)
@frappe.whitelist()
def repost_accounting_entries(self):
if self.repost_required:
self.docstatus = 2
self.make_gl_entries_on_cancel()
self.docstatus = 1
self.make_gl_entries()
self.db_set("repost_required", 0)
else:
frappe.throw(_("No updates pending for reposting"))
def set_paid_amount(self):
paid_amount = 0.0
base_paid_amount = 0.0