mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 23:52:57 +00:00
chore: resolve conflict
This commit is contained in:
@@ -271,23 +271,6 @@ class AccountsController(TransactionBase):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
if self.get("is_return") and self.get("return_against") and not self.get("is_pos"):
|
|
||||||
if self.get("update_outstanding_for_self"):
|
|
||||||
document_type = "Credit Note" if self.doctype == "Sales Invoice" else "Debit Note"
|
|
||||||
frappe.msgprint(
|
|
||||||
_(
|
|
||||||
"We can see {0} is made against {1}. If you want {1}'s outstanding to be updated, uncheck '{2}' checkbox. <br><br> Or you can use {3} tool to reconcile against {1} later."
|
|
||||||
).format(
|
|
||||||
frappe.bold(document_type),
|
|
||||||
get_link_to_form(self.doctype, self.get("return_against")),
|
|
||||||
frappe.bold(_("Update Outstanding for Self")),
|
|
||||||
get_link_to_form("Payment Reconciliation", "Payment Reconciliation"),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 222f1834f1 (fix(accounting): update outstanding amount based on update_outstanding_for_self)
|
|
||||||
pos_check_field = "is_pos" if self.doctype == "Sales Invoice" else "is_paid"
|
pos_check_field = "is_pos" if self.doctype == "Sales Invoice" else "is_paid"
|
||||||
if cint(self.allocate_advances_automatically) and not cint(self.get(pos_check_field)):
|
if cint(self.allocate_advances_automatically) and not cint(self.get(pos_check_field)):
|
||||||
self.set_advances()
|
self.set_advances()
|
||||||
|
|||||||
Reference in New Issue
Block a user