fix: Backport missing commits to develop branch (#25305)

This commit is contained in:
Nabin Hait
2021-04-13 15:46:01 +05:30
committed by GitHub
parent 2fe3056fa2
commit 10c61376e3
65 changed files with 739 additions and 152 deletions

View File

@@ -155,6 +155,7 @@ def set_place_of_supply(doc, method=None):
def validate_document_name(doc, method=None):
"""Validate GST invoice number requirements."""
country = frappe.get_cached_value("Company", doc.company, "country")
# Date was chosen as start of next FY to avoid irritating current users.