Commit 0ebbde7
committed
- **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.1 parent 6d3dd79 commit 0ebbde7
File tree
2 files changed
+29
-31
lines changed- django_ledger
- models
- templates/django_ledger/data_import/tags
2 files changed
+29
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
| 1917 | + | |
| 1918 | + | |
1921 | 1919 | | |
1922 | 1920 | | |
1923 | 1921 | | |
| |||
Lines changed: 27 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments