|
f45663754c
|
Fixed the documentation of the "accounting.utils.random_id" module.
|
2023-04-26 18:30:18 +08:00 |
|
|
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 |
|
|
25bfcf4aa4
|
Fixed the documentation of the balance pseudo property of the JournalEntryLineItem data model.
|
2023-04-26 13:40:48 +08:00 |
|
|
5956d2cd4c
|
Renamed the "match" parameter to "value" in the setter of the "match" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:48 +08:00 |
|
|
833285d924
|
Renamed the "is_offset" parameter to "value" in the setter of the "is_offset" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:43 +08:00 |
|
|
dee4f5e83f
|
Renamed the "balance" parameter to "value" in the setter of the "balance" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:37 +08:00 |
|
|
f0d1cae32d
|
Renamed the "net_balance" parameter to "value" in the setter of the "net_balance" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:25 +08:00 |
|
|
5dc71697b3
|
Renamed the "credit" parameter to "value" in the setter of the "credit" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:20 +08:00 |
|
|
1bb1e03c08
|
Renamed the "debit" parameter to "value" in the setter of the "debit" pseudo property of the JournalEntryLineItem data model, for consistency.
|
2023-04-26 13:40:09 +08:00 |
|
|
914ff92e0f
|
Renamed the "count" parameter to "value" in the setter of the "count" pseudo property of the Account data model, for consistency.
|
2023-04-26 13:39:56 +08:00 |
|
|
8a1cf463b1
|
Renamed the "journal_entry_date" parameter to "date" in the constructor of the CSVRow class in the "accounting.report.reports.ledger" module.
|
2023-04-26 13:34:14 +08:00 |
|
|
d4cf224d6b
|
Renamed the "journal_entry_date" parameter to "date" in the constructor of the CSVRow class in the "accounting.report.reports.income_expenses" module.
|
2023-04-26 13:33:50 +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 |
|
|
169b3c292a
|
Renamed the "journal_entry_date" variable to "date" in the "__get_journal_entry_condition" method of the LineItemCollector class in the "accounting.report.reports.search" module.
|
2023-04-26 13:26:38 +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 |
|
|
c11ae23885
|
Removed an unused import from the "accounting.utils.cast" module.
|
2023-04-26 13:15:18 +08:00 |
|
|
e083b11394
|
Removed the random_pk type alias, because autoincrement=False does not seem to work with it.
|
2023-04-24 23:29:58 +08:00 |
|
|
167990fc4c
|
Renamed the random_id type alias to random_pk.
|
2023-04-24 20:22:33 +08:00 |
|
|
ded85d88f7
|
Added the timestamp, user_pk, and random_id type aliases to simplify the column definition of the data models.
|
2023-04-24 03:37:33 +08:00 |
|
|
86637267d3
|
Advanced to version 1.5.0.
|
2023-04-23 20:13:34 +08:00 |
|
|
5815608288
|
Added the VERSION constant to the accounting module for the package version, and revised pyproject.toml and conf.py to read the version from it.
|
2023-04-23 20:13:10 +08:00 |
|
|
3f7e4c0dda
|
Rewrote the data model declaration with the mapped type hint and the mapped columns in SQLAlchemy 2.0. Added "SQLAlchemy >= 2" to the dependencies.
|
2023-04-23 13:21:54 +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 |
|
|
172a12b134
|
Fixed the type hint of the "currency_options" function.
|
2023-04-23 09:44:25 +08:00 |
|
|
988757d30e
|
Revised the JavaScript journal entry line item editor to only override the description with the description of the original line item when there is no existing description.
|
2023-04-20 00:28:28 +08:00 |
|
|
50cea90d1b
|
Revised the JavaScript journal entry line item editor to allow editing the description for offsets and partially-offset original items.
|
2023-04-20 00:26:58 +08:00 |
|
|
5d444adec4
|
Updated the translation.
|
2023-04-18 09:32:38 +08:00 |
|
|
014d67f7b8
|
Removed the period filter from the unapplied original line items and unmatched offsets. It does not make sense for these two reports.
|
2023-04-18 09:21:42 +08:00 |
|
|
26b4d4388f
|
Revised the imports in the "accounting.report.reports.unmatched" module.
|
2023-04-18 09:10:25 +08:00 |
|
|
6e2e92d0fb
|
Removed the redundant currency from the title of the reports when the currency is the default currency.
|
2023-04-18 08:46:23 +08:00 |
|
|
b1f87cb707
|
Updated the icon of the unmatched offsets.
|
2023-04-18 08:20:51 +08:00 |
|
|
928dea8312
|
Added the account information to the original line item selector of the journal entry form.
|
2023-04-18 08:15:33 +08:00 |
|
|
b8cec8a2af
|
Revised the account options in the report toolbar to be scrollable.
|
2023-04-18 08:10:33 +08:00 |
|
|
b6ae946f32
|
Removed the account code from the journal entry form for mobile screens.
|
2023-04-18 08:10:23 +08:00 |
|
|
a9acc18a6f
|
Removed the account code from the journal entry detail for mobile screens.
|
2023-04-18 07:13:10 +08:00 |
|
|
5468010c87
|
Removed the account code from the account list with unmatched offsets for mobile screens.
|
2023-04-18 07:10:26 +08:00 |
|
|
b505e380df
|
Removed the account code from the account list with unapplied original line items for mobile screens.
|
2023-04-18 07:10:15 +08:00 |
|
|
412da170e1
|
Added the get_net_balances function to the "accounting.report.utils.unapplied" module to replace the __get_net_balances methods of the OffsetMatcher and UnappliedOriginalLineItems classes.
|
2023-04-18 07:04:00 +08:00 |
|
|
fa237795cf
|
Simplified the query for the unapplied original line items, replacing the offset matcher with its own query.
|
2023-04-18 01:26:02 +08:00 |
|
|
e2f854b5cc
|
Changed the unmatched offsets from a module to a report, and to show both the unapplied original line items and the unmatched offsets instead of only the unmatched offsets, and added the accumulated balance, in order for ease of use. Removed the match information from the unapplied original line item report. Added the currency and period filters to both the unapplied original line item report and unmatched offset reports.
|
2023-04-18 01:12:04 +08:00 |
|
|
f8895e3bff
|
Revised the documentation of the "__get_unmatched_offsets" method of the OffsetMatcher class.
|
2023-04-16 22:52:14 +08:00 |
|
|
84ad065782
|
Merged the "accounting.utils.unapplied" module into the "accounting.utils.offset_matcher" module as the "__get_unapplied" method of the OffsetMatcher class. It is only used in the offset matcher.
|
2023-04-16 22:51:46 +08:00 |
|
|
8f2cef8d81
|
Revised the imports in the accounting.journal_entry.converters module.
|
2023-04-12 00:41:29 +08:00 |
|
|
e30d1257e5
|
Revised the navigation bar so that viewers do not see the menu of the unmatched offsets.
|
2023-04-11 07:50:10 +08:00 |
|
|
c21ed59dfe
|
Replaced SQLAlchemy 1.x-style bulk_save_objects(objects) with SQLAlchemy 2.x-style execute(insert(model), data).
|
2023-04-10 23:38:31 +08:00 |
|
|
c4a8326bfc
|
Added the "accounting-init-db" console command to replace the trivial "accounting-init-base", "accounting-init-accounts" and "accounting-init-currencies" console commands.
|
2023-04-10 23:38:27 +08:00 |
|
|
371c80f668
|
Removed the unused CurrencyData custom type from the "accounting.currency.commands" module.
|
2023-04-10 23:12:49 +08:00 |
|
|
40be3fb664
|
Replaced SQLAlchemy 1.x-style bulk_insert_mappings(model, data) with SQLAlchemy 2.x-style execute(insert(model), data).
|
2023-04-10 19:56:16 +08:00 |
|
|
650c26036a
|
Fixed the search result to allow full year/month/day specification.
|
2023-04-09 21:03:18 +08:00 |
|
|
3a8618f7c3
|
Fixed the csv_download function when downloading data with non-US-ASCII filenames in the "accounting.report.utils.csv_export" module.
|
2023-04-09 12:07:31 +08:00 |
|
|
ba43bd7e90
|
Simplify the URL of the default reports.
|
2023-04-09 10:08:23 +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 |
|
|
6bac76be64
|
Fixed an error in the formatted string in the translation.
|
2023-04-09 01:41:42 +08:00 |
|
|
510d369e9c
|
Updated the translation.
|
2023-04-09 00:39:46 +08:00 |
|
|
df240472a4
|
Changed the permission to the offset matcher so that editors can use it.
|
2023-04-09 00:39:45 +08:00 |
|
|
1218b224fc
|
Renamed the "accounting.unmatched_offset.forms" module to "accounting.utils.offset_matcher".
|
2023-04-09 00:39:45 +08:00 |
|
|
79689ac0e5
|
Revised the unapplied original line item report to mark matched offsets for administrators when there are unmatched offsets.
|
2023-04-09 00:39:45 +08:00 |
|
|
1660e66766
|
Revised the background color of the report tables, for better look on non-white backgrounds.
|
2023-04-09 00:39:45 +08:00 |
|
|
12d00c9c7d
|
Added the unmatched offset list and the offset matcher.
|
2023-04-09 00:39:11 +08:00 |
|
|
428018e4a9
|
Added the match pseudo property to the JournalEntryLineItem data model.
|
2023-04-08 18:12:57 +08:00 |
|
|
a8f318b0bb
|
Reordered the methods in the JournalEntryLineItem data model.
|
2023-04-08 18:12:57 +08:00 |
|
|
a3507494e5
|
Added the refundable deposit accounts to the default list of accounts that need offset in the accounting-init-accounts console command.
|
2023-04-08 18:12:57 +08:00 |
|
|
3aa6c8d6f6
|
Removed the empty value in the __is_need_offset function in the "accounting.account.commands" console.command.
|
2023-04-08 18:12:56 +08:00 |
|
|
052b62cdd4
|
Moved the __query_line_items method in the UnappliedOriginalLineItems report to the new "accounting.utils.unapplied" module, to share this query.
|
2023-04-08 18:12:56 +08:00 |
|
|
3728a4037d
|
Renamed the UnappliedAccountConverter path converter to NeedOffsetAccountConverter.
|
2023-04-08 18:12:56 +08:00 |
|
|
6eee17d44f
|
Added the account list as the default page for the unapplied original line items.
|
2023-04-08 18:12:55 +08:00 |
|
|
e5cc2b5a2f
|
Added the "count" pseudo property to the Account data model.
|
2023-04-08 18:12:55 +08:00 |
|
|
ac3b5523b1
|
Fixed the documentation of the default_currency and default_ie_account pseudo property in the Options class.
|
2023-04-08 18:12:55 +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 |
|
|
71a20cba29
|
Replaced the "default_currency_text" pseudo property with the "default_currency" pseudo property in the Options class.
|
2023-04-08 18:12:54 +08:00 |
|
|
4a4cf1ea40
|
Removed the redundant "default_ie_account_code_text" pseudo property from the Options class.
|
2023-04-08 18:12:54 +08:00 |
|
|
e9824808ec
|
Added the UnappliedAccountConverter path converter to only allow the accounts that need offsets.
|
2023-04-08 18:12:54 +08:00 |
|
|
c984d2d596
|
Renamed the IncomeExpensesAccountConverter path converter to CurrentAccountConverter.
|
2023-04-08 18:12:54 +08:00 |
|
|
720e77c814
|
Fixed the documentation of the PeriodConverter and IncomeExpensesAccountConverter path converters.
|
2023-04-08 18:12:54 +08:00 |
|
|
0f0412827d
|
Added the unapplied original line item report.
|
2023-04-08 18:12:45 +08:00 |
|
|
3a0e978f76
|
Removed an unused import from the "accounting.journal_entry.forms.line_item" module.
|
2023-04-08 00:44:13 +08:00 |
|
|
8c10d42d7b
|
Added documentation to the currency and account parameters of the CSVRow class, and the pagination parameter of the PageParams class in the "accounting.report.reports.journal" module.
|
2023-04-08 00:44:13 +08:00 |
|
|
04ec51afbe
|
Changed the "offsets" relationship to a pseudo property, to apply the correct but complex ordering rules.
|
2023-04-07 16:04:54 +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 |
|
|
fdd3e93778
|
Fixed the net balance in the line items in the journal entry detail.
|
2023-04-07 14:57:24 +08:00 |
|
|
def7559457
|
Fixed the #filterOptions in the JavaScript JournalEntryAccountSelector to show the "more" option when there is no matches, but it is not showing all the accounts.
|
2023-04-07 12:34:24 +08:00 |
|
|
7905820d68
|
Revised the imports in the "accounting.base_account.views" and "accounting.currency.views" modules.
|
2023-04-06 16:09:36 +08:00 |
|
|
eb9ad57e72
|
Updated the translation.
|
2023-04-06 02:55:17 +08:00 |
|
|
7a5b3b78fc
|
Removed the rows with zero balance from the income statement.
|
2023-04-05 12:59:50 +08:00 |
|
|
7df4051452
|
Removed the rows with zero balance from the trial balance.
|
2023-04-05 12:56:28 +08:00 |
|
|
85084c68fd
|
Removed the rows with zero balance from the balance sheet.
|
2023-04-05 12:29:58 +08:00 |
|
|
38b8a028d5
|
Reversed the original line items in the original line item selector.
|
2023-04-05 09:25:41 +08:00 |
|
|
213981a8b2
|
Revised the style of the buttons in the description editor, to avoid overwhelming the modal when there are too many buttons.
|
2023-04-05 09:11:27 +08:00 |
|
|
a4d1789b58
|
Moved the income and expenses log to the first item of the report chooser.
|
2023-04-05 08:15:16 +08:00 |
|
|
91620d7db2
|
Revised the init_app function in the "accounting" module.
|
2023-04-05 08:07:17 +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 |
|