|
56045f0faf
|
Removed the unused __entry pseudo property from the JournalEntryForm form.
|
2023-03-17 22:52:38 +08:00 |
|
|
d88b3ac770
|
Added to track the net balance and offset of the original entries.
|
2023-03-17 22:32:01 +08:00 |
|
|
40e329d37f
|
Reordered the validators in the "accounting.transaction.forms.journal_entry" module.
|
2023-03-16 20:42:32 +08:00 |
|
|
2b2c665eb6
|
Replaced the if checks with assert in the IsBalanced validator of the currency sub-form of the transaction form, the NoOffsetNominalAccount validator of the account form, and the CodeUnique validator of the currency form.
|
2023-03-15 22:25:24 +08:00 |
|
|
e9d8a8fcd8
|
Added the "accounting.utils.cast" module to cast the things to the expected type in order to supress the warnings from PyCharm.
|
2023-03-15 01:09:59 +08:00 |
|
|
61fd1849ed
|
Removed the annotation future import from the "accounting.transaction.utils.account_option", "accounting.transaction.forms.journal_entry", and "accounting.transaction.forms.reorder" modules.
|
2023-03-14 21:51:19 +08:00 |
|
|
5c6bfd8b49
|
Revised the coding style of the NeedSomeCurrencies validator.
|
2023-03-14 21:42:02 +08:00 |
|
|
5d31eb9172
|
Removed the unnecessary future annotation import from the "accounting.transaction.forms.transaction" module.
|
2023-03-14 20:44:06 +08:00 |
|
|
fadce244c5
|
Revised the type hint and the coding style of the NeedSomeCurrencies validator.
|
2023-03-14 20:43:28 +08:00 |
|
|
bb2993b0c0
|
Reordered the code in the "accounting.transaction.forms.journal_entry" module.
|
2023-03-11 20:36:38 +08:00 |
|
|
f6946c1165
|
Revised the IsBalanced validator so that it no longer need the __future__ annotation.
|
2023-03-11 19:10:47 +08:00 |
|
|
8e219d8006
|
Fixed the type hint of the form parameter in the NeedSomeJournalEntries validator.
|
2023-03-11 19:10:44 +08:00 |
|
|
53565eb9e6
|
Changed the IsBalanced validator from an inner class inside the TransferCurrencyForm form to an independent class.
|
2023-03-11 19:10:42 +08:00 |
|
|
3fe7eb41ac
|
Removed the unused "__in_use_account_id" property from the TransactionForm form.
|
2023-03-11 16:34:28 +08:00 |
|
|
1d443f7b76
|
Renamed the "accounting.transaction.form" module to "accounting.transaction.forms". It only contains forms now.
|
2023-03-11 16:34:28 +08:00 |
|
|
6ad4fba9cd
|
Moved the "accounting.transaction.operators", "accounting.transaction.summary_editor" and "accounting.transaction.form.account_option" modules into the "accounting.transaction.utils" module.
|
2023-03-11 16:34:28 +08:00 |
|
|
3dda6531b5
|
Split the "accounting.transaction.forms" module into various submodules in the "accounting.transaction.form" module.
|
2023-03-11 16:33:51 +08:00 |
|
|
de09e1498b
|
Added the __get_default_page_uri() function to the "accounting.transaction.views" module to simplify the code.
|
2023-03-10 08:34:44 +08:00 |
|
|
c95f4fcc47
|
Added the __str property and changed the query_values property from a pseudo property to a real property in the AccountOption data model, so that it does not need to hold the account object forever.
|
2023-03-09 22:50:18 +08:00 |
|
|
71af74fc8a
|
Added documentation to the properties of the AccountOption data model.
|
2023-03-09 22:47:46 +08:00 |
|
|
3fa8818a27
|
Added the is_check_as parameter to the get_txn_op function so that the "as" query parameter is not checked when showing the transaction detail.
|
2023-03-09 22:14:22 +08:00 |
|
|
05ac5158f8
|
Added the default report view as the income and expenses log with the default currency, default account and default period. Changed the previous default journal links to the current default.
|
2023-03-09 20:59:09 +08:00 |
|
|
f59378002e
|
Removed the list_transactions view that is not used now.
|
2023-03-09 14:36:38 +08:00 |
|
|
531e90e8ad
|
Revised the imports in the "accounting.transaction.view" module.
|
2023-03-09 14:36:38 +08:00 |
|
|
8fc33131dd
|
Changed the transaction operation to return to the default journal instead of the transaction list. The transaction list is to be removed. There is no link to the transaction list at all, and it's layout is undecided.
|
2023-03-09 14:36:38 +08:00 |
|
|
1f87bc00e8
|
Removed the excess "with_type" from the success redirection of the update_transaction view.
|
2023-03-09 14:36:33 +08:00 |
|
|
ff9ff4bdcf
|
Removed the excess "with_type" from the success redirection of the delete_transaction view.
|
2023-03-09 14:36:33 +08:00 |
|
|
578233d66d
|
Renamed the sort_accounts view to sort_transactions in the "accounting.transaction.views" module, and fixed its url endpoints on success.
|
2023-03-09 14:36:32 +08:00 |
|
|
ffe834bedd
|
Added the DATE_REQUIRED constant to the "accounting.transaction.forms" module as the common date field validator.
|
2023-03-09 14:36:29 +08:00 |
|
|
8d126e183f
|
Changed the date field of the transaction forms to set the default value in the view, but not the form, so that the default value is not set when it did not receive a value.
|
2023-03-09 06:37:10 +08:00 |
|
|
bfb08cf5fc
|
Changed the format_amount_input filter to accept None, and return an empty string if the value is None.
|
2023-03-09 06:37:09 +08:00 |
|
|
6bed180790
|
Renamed the TransactionTypeEnum enum to TransactionType.
|
2023-03-04 19:39:13 +08:00 |
|
|
10fbc3f638
|
Renamed the "accounting.transaction.dispatcher" module to "accounting.transaction.operators".
|
2023-03-04 19:36:53 +08:00 |
|
|
f65dc6fc42
|
Renamed the TransactionType class to TransactionOperator.
|
2023-03-04 19:36:07 +08:00 |
|
|
9833bac6e4
|
Added the TransactionTypeEnum in the new "accounting.utils.txn_types" module to remove the dependency from the "accounting.report" module to the "accounting.transaction" module.
|
2023-03-04 19:32:36 +08:00 |
|
|
3ab4eacf9f
|
Moved the "accounting.transaction.template_globals" module to "accounting.template_globals", for the two template globals will be used in the reports beside the transaction management.
|
2023-03-04 07:06:03 +08:00 |
|
|
4eb9346d8d
|
Renamed summary helper to summary editor.
|
2023-03-04 07:00:46 +08:00 |
|
|
8cf81b5459
|
Revised the documentation of the "accounting.account.queries", "accounting.base_account.queries", "accounting.currency.queries", and "accounting.transaction.queries" modules.
|
2023-03-04 06:57:35 +08:00 |
|
|
cc958a39b3
|
Moved the format_amount and format_date template filters from the "accounting.transaction.template_filters" module to the "accounting.template_filters" module, and rename the filters from "accounting_txn_format_amount" and "accounting_txn_format_date" to "accounting_format_amount" and "accounting_format_date", respectively. They will not only be used in the transaction management, but also the reports.
|
2023-03-04 06:57:10 +08:00 |
|
|
9065686cc5
|
Split the "accounting.transaction.template" module into the "accounting.transaction.template_filters" and "accounting.transaction.template_globals" modules.
|
2023-03-03 18:28:59 +08:00 |
|
|
6957e52d0d
|
Renamed the "accounting.account.query", "accounting.base_account.query", "accounting.currency.query", and "accounting.transaction.query" modules to "accounting.account.queries", "accounting.base_account.queries", "accounting.currency.queries", and "accounting.transaction.queries", respectively. There will be more than one query in the next report module.
|
2023-03-03 01:12:36 +08:00 |
|
|
63ae3f0746
|
Replace the is_in_use pseudo property of the Account data model with the AccountOption class, and revised the #getAccountCodeUsedInForm method of the SummaryHelper, to solve the issue that the list of used accounts should be different for debit and credit entries.
|
2023-03-01 01:28:25 +08:00 |
|
|
474e844ed9
|
Revised the loading of the summary helper so that only the required helpers are loaded, but not both the debit and credit helpers.
|
2023-02-28 21:35:02 +08:00 |
|
|
8b77d9ff93
|
Added the suggested accounts to the summary helper.
|
2023-02-28 19:11:09 +08:00 |
|
|
d5c2231794
|
Added the summary helper for the transaction form.
|
2023-02-28 15:49:01 +08:00 |
|
|
fc8e257a10
|
Added missing documentation to the currencies_errors pseudo property of the TransactionForm form.
|
2023-02-28 09:36:20 +08:00 |
|
|
2e9bf382fb
|
Revised the documentation of the "accounting.transaction.dispatcher" module.
|
2023-02-28 09:31:46 +08:00 |
|
|
fff89a9957
|
Replaced the direct database add with the relationship append in the JournalEntryCollector class, to fix the PostgreSQL error that the new journal entries are added when the transaction is not added yet.
|
2023-02-28 00:04:32 +08:00 |
|
|
f0d39bb27b
|
Added the action button to convert a cash income or cash expense transaction to a transfer transaction.
|
2023-02-27 18:59:42 +08:00 |
|
|
4c17310ebf
|
Fixed an error to recognize the current transaction type in the supplied URI in the with_type filter in the "accounting.transaction.template" module.
|
2023-02-27 18:47:19 +08:00 |
|