依瑪貓
|
51593d72e6
|
Revised the documentation of the dispatch method in FormView in the Mia core application.
|
2020-08-13 17:54:12 +08:00 |
|
依瑪貓
|
a61f705dda
|
Split the the dispatch method in FormView into do_get() and do_post() methods in the Mia core application.
|
2020-08-13 17:53:15 +08:00 |
|
依瑪貓
|
3c655b8f87
|
Added my own base FormView, and replaced the current function-based user form views with a new UserFormView that based on my base FormView in the Mia core application. I do not know if I am doing the right thing.
|
2020-08-13 15:43:04 +08:00 |
|
依瑪貓
|
e06821194c
|
Revised the code as suggested by PyCharm.
|
2020-08-13 10:17:52 +08:00 |
|
依瑪貓
|
5e8e8e815e
|
Simplified the parent constructor calls in the data models and the forms.
|
2020-08-12 15:39:07 +08:00 |
|
依瑪貓
|
2ed7c52475
|
Fixed the typos in the transaction sort form in the accounting application.
|
2020-08-12 14:55:42 +08:00 |
|
依瑪貓
|
1303532f69
|
Fixed the url_period template tag to change on a copy of the request keyword arguments instead of the arguments of the request itself in the Mia core application.
|
2020-08-12 14:49:06 +08:00 |
|
依瑪貓
|
745d7bcdae
|
Revised the documentation in the templates of the accounting application.
|
2020-08-12 14:27:58 +08:00 |
|
依瑪貓
|
c486818bcc
|
Added check_relationship to the is_dirty() test for the transactions in the txn_store view of the accounting application.
|
2020-08-12 14:17:42 +08:00 |
|
依瑪貓
|
f6c1beb824
|
Revised the is_dirty method of the transaction data model in the accounting application.
|
2020-08-12 13:52:44 +08:00 |
|
依瑪貓
|
eb9e4e7fe4
|
Replaced the import of the utilities directly with importing the utility package, to prevent long list of utility import in the views of the accounting application.
|
2020-08-12 13:38:54 +08:00 |
|
依瑪貓
|
d190c35754
|
Fixed and replaced Record with RecordForm in the context of the dummy new record template in the txn_form view in the accounting application.
|
2020-08-12 13:32:33 +08:00 |
|
依瑪貓
|
05892b9655
|
Revised the txn_form view to constructs the new transaction form without having to bother the make_txn_form_from_model() utility, in order not to mess up with the is_bound form property, to replace the need for the should_validate template variable, and removed all the should_validate template variables from the transaction form templates in the accounting application.
|
2020-08-12 11:59:50 +08:00 |
|
依瑪貓
|
9973fc851c
|
Revised not to log the user visits when DEBUG is on in the development environment in the Mia core application.
|
2020-08-11 11:27:46 +08:00 |
|
依瑪貓
|
96e1bd2374
|
Fixed the user visit logging to work with IP behind Apache in the Mia core application.
|
2020-08-11 11:25:04 +08:00 |
|
依瑪貓
|
8c7ffc9b76
|
Added to filter the empty accounts in the trial balance, income statement, and balance sheet in the accounting application.
|
2020-08-11 11:13:01 +08:00 |
|
依瑪貓
|
994d3086eb
|
Added the account order to the account options in the transaction form in the accounting application.
|
2020-08-11 11:06:42 +08:00 |
|
依瑪貓
|
189751a353
|
Revised the meta information in the translation.
|
2020-08-11 10:14:45 +08:00 |
|
依瑪貓
|
4342f1e34e
|
Revised the translation.
|
2020-08-07 10:40:57 +08:00 |
|
依瑪貓
|
8cc40e1f68
|
Simplified the code in the account_options view in the accounting application.
|
2020-08-07 10:36:14 +08:00 |
|
依瑪貓
|
4f02dd88da
|
Moved getting the ReportUrl utility from the views to the report chooser template, to simplify the view in the accounting application.
|
2020-08-07 10:25:29 +08:00 |
|
依瑪貓
|
45ed53b085
|
Added the account list view in the accounting application.
|
2020-08-07 10:11:09 +08:00 |
|
依瑪貓
|
1a2bada988
|
Added AccountConverter and apply it to the URL patterns in the accounting application.
|
2020-08-07 10:10:33 +08:00 |
|
依瑪貓
|
3b522af41b
|
Added the is_parent_and_in_use decorated @property to the Account data model in the accounting application.
|
2020-08-07 10:09:41 +08:00 |
|
依瑪貓
|
4eb2391fd8
|
Added force_escape to the current report title in the report chooser template in the accounting application.
|
2020-08-07 09:46:37 +08:00 |
|
依瑪貓
|
2805eb0774
|
Added the report_url template tag in the accounting application.
|
2020-08-07 09:42:22 +08:00 |
|
依瑪貓
|
23f7564e87
|
Revised the constructor of the ReportUrl utility to better deal with the keyword arguments in the accounting application.
|
2020-08-07 09:42:07 +08:00 |
|
依瑪貓
|
4a63a01e11
|
Removed the now-unused l10n_messages hidden variable and the corresponding TODO from the transaction forms in the accounting application.
|
2020-08-06 16:02:18 +08:00 |
|
依瑪貓
|
ede94eb68e
|
Added the should_validate template variable to the transaction forms to prevent initial errors with newly-created empty forms in the accounting application.
|
2020-08-06 15:48:26 +08:00 |
|
依瑪貓
|
9a9f715349
|
Fixed and set the txn_type to the form in the make_txn_form_from_model() utility in the accounting application.
|
2020-08-06 15:46:43 +08:00 |
|
依瑪貓
|
4f8ed8dc85
|
Added the missing handlers for the PaginationException to the views in the accounting application.
|
2020-08-05 13:38:12 +08:00 |
|
依瑪貓
|
184e94e2c6
|
Revised the codes in the views with PEP8 and PyCharms inspection for the accounting application.
|
2020-08-05 13:35:09 +08:00 |
|
依瑪貓
|
4f837f942f
|
Revised the get_summary_categories() utility to sort the returned categories by their frequencies in the accounting application.
|
2020-08-05 11:33:15 +08:00 |
|
依瑪貓
|
4dd1d35cec
|
Removed the status ID when constructing the return url in the Mia core application.
|
2020-08-05 10:26:39 +08:00 |
|
依瑪貓
|
474c74ebb0
|
Revised Pagination so that the status ID does not pass along with the pagination links in the Mia core application.
|
2020-08-05 10:17:46 +08:00 |
|
依瑪貓
|
97b9190b32
|
Fixed to deal with PaginationException.
|
2020-08-05 10:04:44 +08:00 |
|
依瑪貓
|
b6111f0707
|
Fixed the find_order_holes() utility so that pseudo records does not count in the accounting application.
|
2020-08-05 09:36:09 +08:00 |
|
依瑪貓
|
dd8b192913
|
Revised and simplified the code for the URL on txn_delete() in the accounting application.
|
2020-08-05 09:30:10 +08:00 |
|
依瑪貓
|
34fb682de1
|
Added an addition blank line before the account_options() view in the accounting application.
|
2020-08-05 09:20:13 +08:00 |
|
依瑪貓
|
8f90912146
|
Fixed to resort the order when the date is changed in a transaction form in the accounting application.
|
2020-08-04 14:02:52 +08:00 |
|
依瑪貓
|
3680d550c7
|
Added a movie to the accounting_sample command in the accounting application.
|
2020-08-04 09:56:02 +08:00 |
|
依瑪貓
|
245e4c6573
|
Added the get_summary_categories() utility and put the categories in the transaction forms in the accounting application.
|
2020-08-04 09:55:27 +08:00 |
|
依瑪貓
|
12d4af06a0
|
Added TODO to the views to-do in the accounting application.
|
2020-08-04 09:18:28 +08:00 |
|
依瑪貓
|
79337272ec
|
Revised the imports in the views of the accounting application.
|
2020-07-29 15:07:47 +08:00 |
|
依瑪貓
|
d6428a002e
|
Renamed the parameter type to txn_type in the transaction views in the accounting application.
|
2020-07-29 15:06:23 +08:00 |
|
依瑪貓
|
63d83e0e4d
|
Revised the transaction_store() view to validate the POSTed form in the accounting application.
|
2020-07-29 15:04:31 +08:00 |
|
依瑪貓
|
5c2f5a0407
|
Revised the fill_transaction_from_form() utility to store the account code instead of the account primary key in the accounting application.
|
2020-07-29 14:47:49 +08:00 |
|
依瑪貓
|
aa35e45426
|
Renamed the variables in the sort_form_transaction_records() utility in the accounting application.
|
2020-07-29 09:40:51 +08:00 |
|
依瑪貓
|
758af556fc
|
Simplified the code in the sort_form_transaction_records() utility in the accounting application.
|
2020-07-29 09:38:34 +08:00 |
|
依瑪貓
|
7ec25d89a8
|
Refined the sort_form_transaction_records() utility in the accounting application.
|
2020-07-29 09:37:15 +08:00 |
|
依瑪貓
|
0b0624b709
|
Simplified the code in the sort_form_transaction_records() utility in the accounting application.
|
2020-07-29 09:27:52 +08:00 |
|
依瑪貓
|
3873f131ef
|
Revised the redundant part in the fill_transaction_from_form() utility in the accounting application.
|
2020-07-29 09:22:56 +08:00 |
|
依瑪貓
|
8285c69685
|
Fixed an error in the storing the status into the session in the Mia core application.
|
2020-07-28 09:38:58 +08:00 |
|
依瑪貓
|
0ff6076b36
|
Revised the imports in accounting.views and accounting.converters in the accounting application.
|
2020-07-23 14:26:05 +08:00 |
|
依瑪貓
|
6691e3db2b
|
Moved the views back to accounting.views in the accounting application.
|
2020-07-23 14:17:05 +08:00 |
|
依瑪貓
|
79442085b6
|
Moved the get_cash_accounts(), get_ledger_accounts(), find_imbalanced(), and find_order_holes() utilities from accounting.views.reports to accounting.utils in the accounting application.
|
2020-07-23 09:57:29 +08:00 |
|
依瑪貓
|
9602ba56c7
|
Moved the Polulator from accounting.populate to accounting.utils in the accounting application.
|
2020-07-23 09:40:21 +08:00 |
|
依瑪貓
|
a089e2c235
|
Renamed the template variable current_account to account in the accounting application, for simplicity.
|
2020-07-23 09:37:29 +08:00 |
|
依瑪貓
|
9d188ff96b
|
Fixed the journal to display the brought-forward records with balance larger than zero in the accounting application.
|
2020-07-22 10:36:39 +08:00 |
|
依瑪貓
|
2335a4b4a8
|
ixed the report URL in the search result in the accounting application.
|
2020-07-22 10:27:20 +08:00 |
|
依瑪貓
|
968516c472
|
Fixed the sign of the liabilities and owner's equity in the balance sheet in the accounting application.
|
2020-07-22 10:26: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 |
|
依瑪貓
|
bbfe9e7892
|
Changed the URL of the accounts in the balance sheet so that the net income in the current period links to the income statement in the accounting application.
|
2020-07-21 13:38:18 +08:00 |
|
依瑪貓
|
3c294ffcb8
|
Updated the template variables in the balance sheet in the accounting application.
|
2020-07-21 11:58:50 +08:00 |
|
依瑪貓
|
6f47c08c80
|
Added a unique constraint to the account code in the accounting application.
|
2020-07-21 10:59:48 +08:00 |
|
依瑪貓
|
bace7bb93b
|
Renamed "subject" to "account" in the models of the accounting application.
|
2020-07-21 10:43:05 +08:00 |
|
依瑪貓
|
076a68c028
|
Renamed "subject" to "account" in the accounting application.
|
2020-07-21 10:38:47 +08:00 |
|
依瑪貓
|
28e84702e7
|
Fixed the title of the journal in the accounting application.
|
2020-07-21 10:26:40 +08:00 |
|
依瑪貓
|
c6a62d92d5
|
Added the search page in the accounting application.
|
2020-07-21 10:04:29 +08:00 |
|
依瑪貓
|
c42120d1a7
|
Removed the debug logging in the accounting_amount filter.
|
2020-07-14 10:52:49 +08:00 |
|
依瑪貓
|
cafbeffa28
|
Applied text color to negative values in the cash account.
|
2020-07-14 10:52:08 +08:00 |
|
依瑪貓
|
46b20ab500
|
Added the accounting_amount template filter and applied it in the cash account.
|
2020-07-14 10:48:10 +08:00 |
|
依瑪貓
|
9cab1c2194
|
Added documentation to the accounting utilities.
|
2020-07-14 10:02:16 +08:00 |
|
依瑪貓
|
1212cc2858
|
Revised the TODO view to accept additional arguments in the Mia core application.
|
2020-07-14 09:59:56 +08:00 |
|
依瑪貓
|
e59d8738fa
|
Renamed the routes of the transactions.
|
2020-07-09 10:46:32 +08:00 |
|
依瑪貓
|
e1e61869b7
|
Revised the documentation of the template tags.
|
2020-07-09 10:40:42 +08:00 |
|
依瑪貓
|
fc2e89ca1a
|
Added the currently-specified subject to the template variables, and use it in the template.
|
2020-07-08 11:07:00 +08:00 |
|
依瑪貓
|
149aa8391a
|
Revised the view of the cash account to use the first and last day of the data from the data source.
|
2020-07-08 11:00:14 +08:00 |
|
依瑪貓
|
dde75b9805
|
Added Period as the template period helper, and changed PeriodParser to the inner class Period.Parser.
|
2020-07-08 10:52:03 +08:00 |
|
依瑪貓
|
6295641366
|
Created mia.local_settings and moved the local settings from mia.settings to mia.local_settings. Removed settings.py from .gitignore, and added local_settings.py to .gitignore.
|
2020-07-02 10:08:33 +08:00 |
|
依瑪貓
|
9690256edc
|
Fixed the template of the accounting cash report.
|
2020-07-02 09:53:15 +08:00 |
|
依瑪貓
|
0243289946
|
Revised the code according to the PyCharm and PEP8 inspection.
|
2020-07-02 09:45:11 +08:00 |
|
依瑪貓
|
baa93ca76c
|
Added venv and the external libraries to .gitignore.
|
2020-07-01 09:28:37 +08:00 |
|
依瑪貓
|
7d29dab314
|
Initial commit.
|
2020-06-29 13:46:47 +08:00 |
|