Skip to content

Commit

Permalink
fix: letter head for quality inspection
Browse files Browse the repository at this point in the history
(cherry picked from commit cdd4137)
  • Loading branch information
rohitwaghchaure authored and mergify[bot] committed Feb 17, 2025
1 parent f883995 commit c289fef
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
20 changes: 18 additions & 2 deletions erpnext/stock/doctype/quality_inspection/quality_inspection.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
"verified_by",
"column_break_17",
"remarks",
"amended_from"
"amended_from",
"print_settings_section",
"letter_head"
],
"fields": [
{
Expand Down Expand Up @@ -255,14 +257,28 @@
"fieldtype": "Link",
"label": "Company",
"options": "Company"
},
{
"fieldname": "print_settings_section",
"fieldtype": "Section Break",
"label": "Print Settings"
},
{
"allow_on_submit": 1,
"fetch_from": "company.default_letter_head",
"fetch_if_empty": 1,
"fieldname": "letter_head",
"fieldtype": "Link",
"label": "Letter Head",
"options": "Letter Head"
}
],
"icon": "fa fa-search",
"idx": 1,
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2025-01-16 17:00:48.774532",
"modified": "2025-02-17 13:20:17.583094",
"modified_by": "Administrator",
"module": "Stock",
"name": "Quality Inspection",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class QualityInspection(Document):
item_code: DF.Link
item_name: DF.Data | None
item_serial_no: DF.Link | None
letter_head: DF.Link | None
manual_inspection: DF.Check
naming_series: DF.Literal["MAT-QA-.YYYY.-"]
quality_inspection_template: DF.Link | None
Expand Down

0 comments on commit c289fef

Please sign in to comment.