Releases: arrobalytics/django-ledger
Releases · arrobalytics/django-ledger
v0.8.2.3
v0.8.2.3 (#293) * **Refactored `StagedTransactionModel` logic and template conditions:** - Simplified queryset filters and refactored helpers like `can_unbundle` and `ready_to_import` for better readability. - Replaced `children_count` check with `children_mapping_done` to streamline logic. - Updated template conditional to check for `receipt_uuid` instead of `has_receipt`. - Added commented-out logic for potential future conditions in `data_import_job_txs_table.html`. ### **Summary** Refactored transaction evaluation logic and templates for clarity and maintainability. Improved existing checks and prepared room for future enhancements in transaction handling. * v0.8.2.3 - **Enhanced import handling and UI for transactions:** - Introduced clearer logic for bundled vs. unbundled transactions in `StagedTransactionModel`. - Added new fields (`imported_count`, `children_import_pending_count`) for tracking transaction states. - Improved `is_imported` and `is_pending` query handling for parent and child transactions. - Enabled staged transaction deletion with `can_delete` and pre-deletion validation to reject invalid deletes. - Updated forms to streamline `tx_import` and `bundle_split` behavior for child transactions. - **Refined receipt migration and undo-import logic:** - Modified `migrate_receipt` to handle split amounts during migration. - Enhanced undo-import to account for child transactions and ensure proper cascade delete behavior. - **Improved templating and user experience:** - Added currency formatting for transaction amounts in receipt details. - Refined dropdown actions in imported transactions list to dynamically respect transaction types. - Reorganized transaction states and validations in templates for consistency. - **Refactored import state tracking for clarity:** - Expanded staged transaction attributes for better state evaluation (`is_children`, `is_parent`, `is_bundled`). - Introduced additional parent-child relationship checks for transaction clarity. ### **Summary** Refactored `StagedTransactionModel`, forms, and templates for improved import logic and UI experience. Introduced split amount handling and * - **Simplified journal entry update logic in import process:** - Adjusted the order of `unlock` and `unpost` calls to reflect appropriate transactional sequence before deletion. - **Refined transaction actions in template:** - Updated dropdown structure to consistently display transaction actions regardless of `is_parent` or `is_bundled` status. - Improved conditional logic to dynamically manage available actions like "View JE," "View Receipt," and "Undo Import." - Enhanced template organization for better readability and maintainability. ### **Summary** Streamlined journal entry handling logic and improved dropdown action display in transaction templates for better consistency and user experience. ### **Backwards Compatibility** These changes are fully backwards compatible. No significant behavioral or structural changes to existing workflows.
v0.8.2.2
Full Changelog: v0.8.2.1...v0.8.2.2
v0.8.2.1
v0.8.2
v0.8.1
What's Changed
- Fixed some hard coded "$" symbols in HTML files by @pablo in #265
- Sort node issue fix by @shucontech in #276
- V0.7.10 by @elarroba in #279
- v0.8.0 by @elarroba in #282
New Contributors
- @pablo made their first contribution in #265
- @shucontech made their first contribution in #276
Full Changelog: v0.8.0...v0.8.1
v0.8.0
v0.7.11
v0.7.10
v0.7.9
What's Changed
- v0.7.8 by @elarroba in #273
- Sort node issue fix by @shucontech in #276
New Contributors
- @shucontech made their first contribution in #276
Full Changelog: v0.7.8...v0.7.9