Merge branch 'develop' into Item-Tax-Template-V12
This commit is contained in:
commit
f05d91d317
@ -11,7 +11,7 @@ def validate_gstin_for_india(doc, method):
|
|||||||
if not hasattr(doc, 'gstin') or not doc.gstin:
|
if not hasattr(doc, 'gstin') or not doc.gstin:
|
||||||
return
|
return
|
||||||
|
|
||||||
doc.gstin = doc.gstin.upper().strip() if doc.gstin else ""
|
doc.gstin = doc.gstin.upper().strip()
|
||||||
if not doc.gstin or doc.gstin == 'NA':
|
if not doc.gstin or doc.gstin == 'NA':
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -524,7 +524,7 @@ class EmailDigest(Document):
|
|||||||
filters = {
|
filters = {
|
||||||
"root_type": "Asset",
|
"root_type": "Asset",
|
||||||
"account_type": "Bank",
|
"account_type": "Bank",
|
||||||
"date": self.future_to_date,
|
"report_date": self.future_to_date,
|
||||||
"company": self.company
|
"company": self.company
|
||||||
}
|
}
|
||||||
label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters)
|
label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters)
|
||||||
@ -532,7 +532,7 @@ class EmailDigest(Document):
|
|||||||
filters = {
|
filters = {
|
||||||
"root_type": "Liability",
|
"root_type": "Liability",
|
||||||
"account_type": "Bank",
|
"account_type": "Bank",
|
||||||
"to_date": self.future_to_date,
|
"report_date": self.future_to_date,
|
||||||
"company": self.company
|
"company": self.company
|
||||||
}
|
}
|
||||||
label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters)
|
label = get_link_to_report('Account Balance', label=self.meta.get_label(fieldname), filters=filters)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user