default Sales Invoice Print Format

This commit is contained in:
2026-09-11 15:35:06 +07:00
parent c82666d563
commit 8d3b843da8
4 changed files with 85 additions and 1 deletions
+9 -1
View File
@@ -75,7 +75,10 @@ required_apps = ["erpnext"]
# add methods and filters to jinja environment
jinja = {
"methods": ["default_thai_company.utils.get_letter_head_company"],
"methods": [
"default_thai_company.utils.get_letter_head_company",
"default_thai_company.utils.get_company_bank_account",
],
}
# Fixtures
@@ -84,6 +87,11 @@ jinja = {
fixtures = [
{"doctype": "Letter Head", "filters": [["name", "in", ["Default Letter Head"]]]},
{"doctype": "Address Template", "filters": [["name", "in", ["Thailand"]]]},
{"doctype": "Print Format", "filters": [["name", "in", ["Default Standard Sales Invoice"]]]},
{
"doctype": "Property Setter",
"filters": [["name", "in", ["Sales Invoice-main-default_print_format"]]],
},
]
# Installation