Commit Graph

35 Commits

Author SHA1 Message Date
8eedcafcd6 Removed an unused import from the accounting_accounts management command in the accounting application. 2020-09-06 21:58:25 +08:00
依瑪貓
bc5f940e0a Revised the accounting_accounts and accounting_sample commands to call the createsuperuser command when there is no user yet, instead of throwing an error in the accounting application. 2020-09-02 09:58:02 +08:00
依瑪貓
cd30c9592f Revised the accounting sample. 2020-09-01 11:25:26 +08:00
依瑪貓
e0bf3e22ff Revised the accounting_sample command to call the accounting_accounts command if there is no account yet, instead of throwing an error in the accounting application. 2020-09-01 10:21:05 +08:00
依瑪貓
cb67f4e102 Removed the account initialization from the accounting_sample command in the accounting application. 2020-09-01 09:12:45 +08:00
c647c01d3f Added the accounting_account command to initialize the accounts in the accounting application. 2020-09-01 07:12:22 +08:00
03ebe62eb8 Revised the accounting_sample command to try to use the user with the log in ID as the current system user when there are more than one users in the accounting application. 2020-08-31 23:04:03 +08:00
d69fe491df Localized the sample data in the accounting_sample command in the accounting application. 2020-08-27 23:09:17 +08:00
75deadce0c Revised the accounting_sample command to use the existing user from the database instead of creating a fixed new user, and applied CommandError exception for errors the in the accounting application. 2020-08-27 22:06:46 +08:00
依瑪貓
56f08786ad Revised the data order of the add_accounts() method in DataFiller to put English first in the accounting application. 2020-08-25 13:40:24 +08:00
依瑪貓
567a610e90 Revised to allow amounts in decimal numbers in the accounting application. 2020-08-21 10:00:59 +08:00
50bc6fb0b1 Applied the user manager to create the first user in the accounting sample command in the accounting application. 2020-08-20 21:00:14 +08:00
4acc008457 Renamed the Populator utility to DataFiller in the accounting application. 2020-08-19 19:19:37 +08:00
依瑪貓
007fd7d73f Renamed the variable in the account_sample command in the accounting application. 2020-08-19 14:31:06 +08:00
dddc27402e Changed the sample data from Chinese to English in the accounting application. 2020-08-18 22:50:36 +08:00
1f14e0deea Removed the dependency in the accounting_sample command to the user data model in the accounting application. 2020-08-18 03:05:47 +08:00
d4961f9e25 Moved the local part of the application from the Mia core application to the Mia Womb local application. 2020-08-18 00:37:04 +08:00
d4e7458117 Added type hints to the accounting application. 2020-08-13 07:25:35 +08:00
c78d0f613d Added the equipment account to the accounting_sample command in the accounting application. 2020-08-07 01:02:21 +08:00
依瑪貓
3680d550c7 Added a movie to the accounting_sample command in the accounting application. 2020-08-04 09:56:02 +08:00
65a950a28a Changed the safe-guard condition of the accounting_sample command in the accounting application. 2020-08-02 18:29:10 +08:00
2ae1e825f6 Revised the accounting_sample command to supply the account code as numbers instead of strings in the accounting application. 2020-08-02 18:26:01 +08:00
6cbef81088 Wrapped the accounting_sample command in a transaction in the accounting application. 2020-08-02 18:23:01 +08:00
aefb5cc091 Changed the use of the sn field with pk. 2020-07-23 23:20:10 +08:00
41737c250e Fixed the accounting_sample command for the cash-expense transactions in the accounting application. 2020-07-23 21:00:51 +08:00
依瑪貓
9602ba56c7 Moved the Polulator from accounting.populate to accounting.utils in the accounting application. 2020-07-23 09:40:21 +08:00
5c10b30c24 Added confirmation to the accounting_sample command in the accounting application. 2020-07-23 01:15:46 +08:00
554a195b5a Added Populator to the quickly populates the accounting data, and applied it in the accounting_sample command in the accounting application. 2020-07-22 21:02:04 +08:00
依瑪貓
c7ab277698 Added the payable to the accounting_sample command in the accounting application. 2020-07-22 10:22:26 +08:00
依瑪貓
17be43cbd9 Added the income to the accounting_sample command in the accounting application. 2020-07-22 09:55:04 +08:00
21350127a1 eplaced localdate() and timedelta() with timezone.localdate() and timezone.timedelta() in the accounting_sample command in the accounting application. 2020-07-22 08:22:01 +08:00
0fb7cafbcd Applied random amounts to the accounting_sample command in the accounting application. 2020-07-22 08:17:44 +08:00
4ef0dbf839 Removed the debug output from the accounting_sample command in the accounting application. 2020-07-22 07:46:55 +08:00
cef592ac99 Added the user creation to the accounting_sample command in the accounting application. 2020-07-22 07:46:00 +08:00
aba808a53a Added the accounting_sample command in the accounting application. 2020-07-22 00:15:26 +08:00