mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 09:17:15 +00:00
committed by
ruthra kumar
parent
a512d27dbb
commit
8c83bbc096
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user