Merge pull request #53588 from khushi8112/default-print-format-for-quotation

feat: default print format for Quotation
This commit is contained in:
Khushi Rawat
2026-03-24 15:36:34 +05:30
committed by GitHub
7 changed files with 71 additions and 0 deletions

View File

@@ -4439,6 +4439,7 @@ def update_doc_company_address(current_doctype, docname, company_address, detail
"Sales Invoice": ("company_address", "company_address_display"),
"Delivery Note": ("company_address", "company_address_display"),
"POS Invoice": ("company_address", "company_address_display"),
"Quotation": ("company_address", "company_address_display"),
"Request for Quotation": ("shipping_address", "shipping_address_display"),
}

View File

@@ -5,6 +5,7 @@ const doctype_list = [
"Purchase Order",
"Purchase Invoice",
"POS Invoice",
"Quotation",
"Request for Quotation",
];
const allowed_print_formats = [
@@ -20,6 +21,8 @@ const allowed_print_formats = [
"Purchase Invoice with Item Image",
"POS Invoice Standard",
"POS Invoice with Item Image",
"Quotation Standard",
"Quotation with Item Image",
"Request for Quotation with Item Image",
];
const allowed_letterheads = ["Company Letterhead", "Company Letterhead - Grey"];

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -310,6 +310,7 @@ def set_default_print_formats():
"Purchase Order": "Purchase Order with Item Image",
"Purchase Invoice": "Purchase Invoice with Item Image",
"POS Invoice": "POS Invoice with Item Image",
"Quotation": "Quotation with Item Image",
"Request for Quotation": "Request for Quotation with Item Image",
}