mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-12 17:51:20 +00:00
Merge pull request #53588 from khushi8112/default-print-format-for-quotation
feat: default print format for Quotation
This commit is contained in:
@@ -4439,6 +4439,7 @@ def update_doc_company_address(current_doctype, docname, company_address, detail
|
|||||||
"Sales Invoice": ("company_address", "company_address_display"),
|
"Sales Invoice": ("company_address", "company_address_display"),
|
||||||
"Delivery Note": ("company_address", "company_address_display"),
|
"Delivery Note": ("company_address", "company_address_display"),
|
||||||
"POS Invoice": ("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"),
|
"Request for Quotation": ("shipping_address", "shipping_address_display"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ const doctype_list = [
|
|||||||
"Purchase Order",
|
"Purchase Order",
|
||||||
"Purchase Invoice",
|
"Purchase Invoice",
|
||||||
"POS Invoice",
|
"POS Invoice",
|
||||||
|
"Quotation",
|
||||||
"Request for Quotation",
|
"Request for Quotation",
|
||||||
];
|
];
|
||||||
const allowed_print_formats = [
|
const allowed_print_formats = [
|
||||||
@@ -20,6 +21,8 @@ const allowed_print_formats = [
|
|||||||
"Purchase Invoice with Item Image",
|
"Purchase Invoice with Item Image",
|
||||||
"POS Invoice Standard",
|
"POS Invoice Standard",
|
||||||
"POS Invoice with Item Image",
|
"POS Invoice with Item Image",
|
||||||
|
"Quotation Standard",
|
||||||
|
"Quotation with Item Image",
|
||||||
"Request for Quotation with Item Image",
|
"Request for Quotation with Item Image",
|
||||||
];
|
];
|
||||||
const allowed_letterheads = ["Company Letterhead", "Company Letterhead - Grey"];
|
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
@@ -310,6 +310,7 @@ def set_default_print_formats():
|
|||||||
"Purchase Order": "Purchase Order with Item Image",
|
"Purchase Order": "Purchase Order with Item Image",
|
||||||
"Purchase Invoice": "Purchase Invoice with Item Image",
|
"Purchase Invoice": "Purchase Invoice with Item Image",
|
||||||
"POS Invoice": "POS 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",
|
"Request for Quotation": "Request for Quotation with Item Image",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user