|
cda9e4e3c6
|
Replaced importing the "typing" module as "t" with importing the individual names in the "typing" module. Since Python 3.9 introduced type hinting generics in standard collections, we do not have as many names to import now. This is also to be consistent with the practices of most major and standard packages and examples.
|
2023-04-26 18:22:45 +08:00 |
|
|
8d412ec00a
|
Renamed the "journal_entry_date" parameter to "date" in the show_journal_entry_order route.
|
2023-04-26 13:32:42 +08:00 |
|
|
2986c518ce
|
Renamed the "journal_entry_date" parameter to "date" in the sort_journal_entries route.
|
2023-04-26 13:32:30 +08:00 |
|
|
f1351243a6
|
Renamed the "journal_entry_date" parameter to "date" in the constructor of the JournalEntryReorderForm form.
|
2023-04-26 13:29:55 +08:00 |
|
|
969e8c76a6
|
Renamed the "journal_entry_date" parameter to "date" in the "sort_journal_entries_in" function in the "accounting.journal_entry.forms.reorder" module.
|
2023-04-26 13:29:14 +08:00 |
|
|
359c335662
|
Revised the way to import from the datetime package, to avoid name conflict with the common "date" and "time" names.
|
2023-04-26 13:17:31 +08:00 |
|
|
eed4c923f6
|
Removed the "be" cast function to cast data type for the binary expressions. It is to be replaced by the mapped type hints.
|
2023-04-23 13:21:48 +08:00 |
|
|
09dd5ae541
|
Revised the long line in the JournalEntryConverter converter.
|
2023-04-23 09:52:21 +08:00 |
|
|
b6ae946f32
|
Removed the account code from the journal entry form for mobile screens.
|
2023-04-18 08:10:23 +08:00 |
|
|
8f2cef8d81
|
Revised the imports in the accounting.journal_entry.converters module.
|
2023-04-12 00:41:29 +08:00 |
|
|
4e550413ba
|
Revised the styles for blueprints to specify the URL, for consistency in the base account, account, currency, and journal entry management.
|
2023-04-09 10:08:22 +08:00 |
|
|
5af6fd9619
|
Moved the "accounting.journal_entry.utils.offset_alias" module to "accounting.utils.offset_alias".
|
2023-04-08 18:12:55 +08:00 |
|
|
3a0e978f76
|
Removed an unused import from the "accounting.journal_entry.forms.line_item" module.
|
2023-04-08 00:44:13 +08:00 |
|
|
fe7a8842ce
|
Fixed the query in the JournalEntryConverter converter.
|
2023-04-07 15:31:06 +08:00 |
|
|
66daa5c42c
|
Fixed the query in the KeepAccountWhenHavingOffset validator.
|
2023-04-07 15:29:17 +08:00 |
|
|
27fb44937d
|
Fixed the incorrect query in the "offsets" pseudo property of the LineItemForm form.
|
2023-04-07 15:11:04 +08:00 |
|
|
7026ed3a65
|
Fixed the order of the items in the "offsets" pseudo property of the LineItemForm form.
|
2023-04-07 15:01:22 +08:00 |
|
|
38b8a028d5
|
Reversed the original line items in the original line item selector.
|
2023-04-05 09:25:41 +08:00 |
|
|
02fcabb0ce
|
Updated the URI of the reports to be the default views of the application.
|
2023-04-05 08:06:00 +08:00 |
|
|
4c2dcc5070
|
Renamed the project from "Mia! Accounting Flask" to "Mia! Accounting".
|
2023-04-04 18:26:54 +08:00 |
|
|
c9166fda4d
|
Fixed the order in the get_selectable_original_line_items function in the "accounting.journal_entry.utils.original_line_item" module.
|
2023-04-04 10:54:43 +08:00 |
|
|
9263ae0274
|
Changed the "account" property to private as "__account" in the DescriptionAccount class.
|
2023-04-03 19:50:47 +08:00 |
|
|
06e7b6ddff
|
Added the missing "is_need_offset" property to the DescriptionAccount class.
|
2023-04-03 19:11:10 +08:00 |
|
|
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 |
|