Convert SolidWorks BOMs (Bill of Materials) to Odoo.
poetry installpoetry run bom-converter <path-to-solidworks.xlsx> [-o outputs]Outputs:
- Odoo-formatted Excel written to
<output-dir>/<input-stem>_Odoo.xlsxwith sheet nameBOM. - If conversion fails, a JSON log is written alongside the output as
<input-stem>_Odoo.logand the process exits non-zero.
--bom-type(default:Manufacture this product)--reference(default:PROD BOM)--status(default:In R&D)--uom(default:Units)--log-pathoverride the error log location
- Only the required SolidWorks columns are used:
NO.,SKU,Internal ID,QTY.. Other columns are ignored. - Hierarchy comes from the dot-separated
NO.values; sequence equals the parent depth (root0, children1, etc.). - Product labels are rendered as
[SKU] Internal ID; missing pieces are replaced withN/A.