Clarify a comment
This commit is contained in:
parent
f1cb7e2b3f
commit
8de8a69cb3
@ -138,7 +138,8 @@ def bom_list(bom: List[BOMEntry]) -> List[List[str]]:
|
|||||||
for fieldname in BOM_COLUMNS_OPTIONAL: # Include only those optional BOM columns that are in use.
|
for fieldname in BOM_COLUMNS_OPTIONAL: # Include only those optional BOM columns that are in use.
|
||||||
if any(entry.get(fieldname) for entry in bom):
|
if any(entry.get(fieldname) for entry in bom):
|
||||||
keys.append(fieldname)
|
keys.append(fieldname)
|
||||||
# list of staic bom header names, headers not specified here are generated by capitilising the internal name
|
# Custom mapping from internal name to BOM column headers.
|
||||||
|
# Headers not specified here are generated by capitilising the internal name.
|
||||||
bom_headings = {
|
bom_headings = {
|
||||||
"description": "Item", # TODO: Remove this line to use 'Description' in BOM heading.
|
"description": "Item", # TODO: Remove this line to use 'Description' in BOM heading.
|
||||||
"pn": "P/N",
|
"pn": "P/N",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user