Go to file
Ali 751de46b7b fix: add error handling and safe attribute access in boot_session_handler
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>
2026-01-12 18:38:19 +04:00
custom_subtabs fix: add error handling and safe attribute access in boot_session_handler 2026-01-12 18:38:19 +04:00
.gitignore feat: Initialize App 2024-11-07 19:23:30 +00:00
ARCHITECTURE.md fixed subtabs for v16 2025-12-09 15:52:37 +04:00
README.md feat: Initialize App 2024-11-07 19:23:30 +00:00
license.txt feat: Initialize App 2024-11-07 19:23:30 +00:00
pyproject.toml feat: Initialize App 2024-11-07 19:23:30 +00:00

README.md

Custom Subtabs

Custom subtabs

License

unlicense