mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 11:39:18 +00:00
chore: resolve conflicts and pass all parameters
This commit is contained in:
@@ -779,17 +779,10 @@ class AccountsController(TransactionBase):
|
||||
if not self.due_date:
|
||||
frappe.throw(_("Due Date is mandatory"))
|
||||
|
||||
validate_due_date(
|
||||
posting_date,
|
||||
self.due_date,
|
||||
self.payment_terms_template,
|
||||
)
|
||||
validate_due_date(posting_date, self.due_date, None, self.payment_terms_template, self.doctype)
|
||||
elif self.doctype == "Purchase Invoice":
|
||||
validate_due_date(
|
||||
posting_date,
|
||||
self.due_date,
|
||||
self.bill_date,
|
||||
self.payment_terms_template,
|
||||
posting_date, self.due_date, self.bill_date, self.payment_terms_template, self.doctype
|
||||
)
|
||||
|
||||
def set_price_list_currency(self, buying_or_selling):
|
||||
|
||||
Reference in New Issue
Block a user