We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00ebeec commit cfad7e1Copy full SHA for cfad7e1
1 file changed
erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -1745,10 +1745,6 @@ def update_project(self):
1745
project_doc.db_update()
1746
1747
def validate_supplier_invoice(self):
1748
- if self.bill_date:
1749
- if getdate(self.bill_date) > getdate(self.posting_date):
1750
- frappe.throw(_("Supplier Invoice Date cannot be greater than Posting Date"))
1751
-
1752
if self.bill_no:
1753
if cint(frappe.get_single_value("Accounts Settings", "check_supplier_invoice_uniqueness")):
1754
fiscal_year = get_fiscal_year(self.posting_date, company=self.company, as_dict=True)
0 commit comments