[KiBoM][Fixed] User defined fields wasn't available as column names.

Fixes #344
This commit is contained in:
Salvador E. Tropea 2022-12-02 23:25:27 -03:00
parent 7b4d0ecb27
commit e81b743ebb
2 changed files with 3 additions and 2 deletions

View File

@ -60,12 +60,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
yet. (#323)
- Report: Problems when using NPTH holes with sizes that doesn't correspond to
real drill tools. It generated bogus reports about wrong OARs. (#326)
- BoM: Digi-key link in the HTML output.
- Problems when using more than one dielectric in the stack-up. (#328)
- Gerber: Extension used for JLCPCB inner layers. (#329)
- BoM:
- The length of the CSV separator is now validated.
- Using \t, \n, \r and \\ is now supported. (See #334)
- Digi-key link in the HTML output.
- KiBoM: User defined fields wasn't available as column names. (#344)
- Imports:
- Problems with recursive imports when the intermediate import didn't
contain any of the requested elements (i.e. no outputs). (#335)

View File

@ -215,7 +215,7 @@ class KiBoMConfig(Optionable):
if csv:
os.remove(csv)
logger.debug('Output from command:\n'+cmd_output.decode())
return columns
return GS.sch.get_field_names(columns)
def config(self, parent):
super().config(parent)