Skip to content

Feat/abc export#33

Merged
AliiiBenn merged 4 commits intomainfrom
feat/abc-export
Jan 23, 2026
Merged

Feat/abc export#33
AliiiBenn merged 4 commits intomainfrom
feat/abc-export

Conversation

@AliiiBenn
Copy link
Member

No description provided.

AliiiBenn and others added 4 commits January 23, 2026 15:09
Add ABCReportExporter class to export ABC classification results to Excel.

Features:
- Summary sheet with ABC overview statistics
- Classification sheet with all products
- Color coding by ABC class (A=green, B=orange, C=red)
- Frozen header rows and auto-adjusted columns

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add support for exporting ABC classification analysis to Excel.

Changes:
- Import ABCReportExporter
- Add abc option to --analysis parameter
- Implement ABC analysis export flow
- Update error messages to include abc option

Usage:
  wareflow export --analysis abc
  wareflow export -a abc --output report.xlsx

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add 15 comprehensive unit tests for ABCReportExporter.

Test coverage:
- Exporter initialization and file creation
- Sheet creation (Résumé ABC, Classification ABC)
- Summary sheet content with class statistics
- Classification sheet with product data
- Color coding by ABC class (A=green, B=orange, C=red)
- Empty results handling
- Directory creation
- Timestamps in titles
- All ABC classes (A, B, C) present
- Pick counts display
- Column order validation
- Single product edge case

Also fix bug in abc_report.py:
- Move PatternFill import to top of method
- Fix abc_class column index (-1 instead of -2)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add ABC report export functionality.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@AliiiBenn AliiiBenn merged commit de86ae4 into main Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant