Problem: - boot_session_handler was failing silently for some DocTypes - Direct access to field.js_parent_subtab caused AttributeError - DocTypes with errors prevented entire hierarchy from being built Solution: - Added try-except around DocType processing loop - Changed field.js_parent_subtab to getattr(field, 'js_parent_subtab', None) - Errors are logged but don't break the entire boot process Result: - All DocTypes with subtabs now properly included in tab_hierarchy - "Declaration of value added tax" and similar DocTypes now work correctly Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| custom_subtabs | ||
| .gitignore | ||
| ARCHITECTURE.md | ||
| README.md | ||
| license.txt | ||
| pyproject.toml | ||
README.md
Custom Subtabs
Custom subtabs
License
unlicense