|
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 |
|
|
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 |
|
|
4c2dcc5070
|
Renamed the project from "Mia! Accounting Flask" to "Mia! Accounting".
|
2023-04-04 18:26:54 +08:00 |
|
|
36f55900c7
|
Renamed "fh" to "fp" when opening files, following the Python convention.
|
2023-02-09 00:02:14 +08:00 |
|
|
d99f592cff
|
Merged the "accounting.database" module into the "accounting" module. It has only one member as "db", the database instance, and does not need to be separated into another file.
|
2023-02-08 11:13:09 +08:00 |
|
|
354f1ff3d8
|
Moved the currency data from the "accounting.currency.commands" module into the currencies.csv file, separating the code and the data. Rewrote the test case to test against each all the content imported. The locales are read from the CSV file instead of hard-coded in the code, so that the translations are not hard-coded to Mandarin.
|
2023-02-08 10:50:20 +08:00 |
|
|
570c84c196
|
Added the currency management.
|
2023-02-07 00:13:33 +08:00 |
|