|
87fa5aa6bc
|
Moved the ACCOUNT_REQUIRED validator from the "accounting.journal_entry.forms.line_item" module to the "accounting.forms" module, in order to share it.
|
2023-03-22 23:23:53 +08:00 |
|
|
35e05b3708
|
Revised the IsDebitAccount and IsCreditAccount validators to require the error message, and moved their default error messages to the DebitLineItemForm and CreditLineItemForm forms.
|
2023-03-22 23:19:52 +08:00 |
|
|
5a9e08f2c4
|
Moved the AccountExists, IsDebitAccount, and IsCreditAccount validators from the "accounting.journal_entry.forms.line_item" module to the "accounting.forms" module, to share it with the "accounting.option.forms" module. Removed the redundant AccountExists, IsExpenseAccount, and IsIncomeAccount validators from the "accounting.option.forms" module.
|
2023-03-22 20:37:53 +08:00 |
|
|
68c810d492
|
Renamed the debit and credit methods in the Account data model to selectable_debit and selectable_credit, to be clear.
|
2023-03-22 20:21:52 +08:00 |
|
|
c885c08c37
|
Moved the "accounting.option.options" module to "accounting.utils.options", because it is meant to shared by other submodules.
|
2023-03-22 19:47:37 +08:00 |
|
|
89e43830b4
|
Fixed the __get_accounts method of the DescriptionEditor class not to do empty queries.
|
2023-03-22 19:17:25 +08:00 |
|
|
671dbfb692
|
Moved the CURRENCY_REQUIRED validator back from the "accounting.forms" module to the "accounting.journal_entry.forms.currency" module. It is not shared with other module anymore.
|
2023-03-22 19:14:51 +08:00 |
|
|
761d5a5824
|
Added the option management, and moved the configuration of the default currency, the default account for the income and expenses log, and the recurring expenses and incomes to the options.
|
2023-03-22 15:34:28 +08:00 |
|
|
e2325f08d0
|
Moved the CURRENCY_REQUIRED and CurrencyExists validators from the "accounting.journal_entry.forms.currency" module to the "accounting.forms" module.
|
2023-03-22 07:17:45 +08:00 |
|
|
6fd37b21d9
|
Fixed so that the journal entries that has offset cannot be deleted.
|
2023-03-22 00:59:43 +08:00 |
|
|
a42e7d13a2
|
Renamed the configuration DEFAULT_CURRENCY, DEFAULT_IE_ACCOUNT, and RECURRING to "ACCOUNTING_DEFAULT_CURRENCY", "ACCOUNTING_DEFAULT_IE_ACCOUNT", and "ACCOUNTING_RECURRING", respectively.
|
2023-03-21 21:13:03 +08:00 |
|
|
3455827c09
|
Added the recurring transactions.
|
2023-03-21 19:45:56 +08:00 |
|
|
8818b46e01
|
Moved the tag initialization from the constructor to the __init_tags method in the DescriptionEditor class.
|
2023-03-21 17:32:07 +08:00 |
|
|
079dc1ab6d
|
Renamed the "eid" field to "id" in the LineItemForm form, since the problem is found. It was the "id" property of the enclosing FormField. If we extract the form from FormField, we can still access the "id" field.
|
2023-03-20 23:06:57 +08:00 |
|
|
19a93cb4c3
|
Fixed the text message in the add_journal_entry view.
|
2023-03-20 22:44:55 +08:00 |
|
|
b1af1d7425
|
Renamed "voucher" to "journal entry".
|
2023-03-20 22:33:14 +08:00 |
|