依瑪貓 imacat
imacat pushed to main at imacat/mia-accounting 2023-03-17 12:47:44 +08:00
55ac662648 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 08:52:45 +08:00
4818e94ae9 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-17 08:52:31 +08:00
imacat pushed to main at imacat/mia-accounting 2023-03-16 20:46:19 +08:00
4b49128eb9 TEMP: Offset
40e329d37f Reordered the validators in the "accounting.transaction.forms.journal_entry" module.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-16 20:41:12 +08:00
648702719c TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-16 01:49:45 +08:00
f1d1110753 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-15 23:23:12 +08:00
23a0721d8d Added assert in the be function in the "accounting.utils.cast" module, to insure the correctness of the expression received.
imacat pushed to main at imacat/mia-accounting 2023-03-15 23:20:52 +08:00
2b2c665eb6 Replaced the if checks with assert in the IsBalanced validator of the currency sub-form of the transaction form, the NoOffsetNominalAccount validator of the account form, and the CodeUnique validator of the currency form.
imacat pushed to main at imacat/mia-accounting 2023-03-15 02:15:26 +08:00
2922bf6e85 TEMP: Offset
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:44:02 +08:00
954173a2c2 Removed the unused list-group-item-success class from style.css.
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:21:28 +08:00
1792e0fd1a Removed the unused list-group-item-success class from style.css
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:10:46 +08:00
91e6dc6668 Removed an excess tailing blank line from the "accounting.currency.views" module.
e9d8a8fcd8 Added the "accounting.utils.cast" module to cast the things to the expected type in order to supress the warnings from PyCharm.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-15 01:07:27 +08:00
680f2331d7 Removed an excess tailing blank line from the "accounting.currency.views" module.
def09d93c6 Added the "accounting.utils.cast" module to cast the things to the expected type in order to supress the warnings from PyCharm.
4c84686395 Removed an unused import from the "accounting" module.
Compare 3 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-14 21:51:39 +08:00
61fd1849ed Removed the annotation future import from the "accounting.transaction.utils.account_option", "accounting.transaction.forms.journal_entry", and "accounting.transaction.forms.reorder" modules.
a67158f8f6 Moved the CodeUnique validator from an inner class of the CurrencyForm form to an independent class, and removed the annotation future import from the "accounting.currency.forms" module.
Compare 2 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-14 21:42:08 +08:00
5c6bfd8b49 Revised the coding style of the NeedSomeCurrencies validator.
imacat pushed to main at imacat/mia-accounting 2023-03-14 21:41:39 +08:00
d9ecf51c6d Added the "create_test_app" function in testlib.py to replace "create_app" to prevent common mistakes. Added a get_csrf_token_view route to the application, and changed the get_csrf_token function to retrieve the CSRF token with the route without parsing the HTML for the CSRF token.
5d31eb9172 Removed the unnecessary future annotation import from the "accounting.transaction.forms.transaction" module.
fadce244c5 Revised the type hint and the coding style of the NeedSomeCurrencies validator.
Compare 3 commits »
imacat pushed to backup at imacat/mia-accounting 2023-03-14 17:21:38 +08:00
32244e7b82 TEMP: Offset
cbe7c6ca6d Added dummy.js to .gitignore and MANIFEST.in for exclusion.
b03938fb2e Added test_temp.py to the exclusion in MANIFEST.in.
8061a23fdc Renamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.
cd8a480cd0 Revised the documentation of the AbstractUserUtils class.
Compare 29 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-14 17:21:22 +08:00
32244e7b82 TEMP: Offset
cbe7c6ca6d Added dummy.js to .gitignore and MANIFEST.in for exclusion.
b03938fb2e Added test_temp.py to the exclusion in MANIFEST.in.
8061a23fdc Renamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.
cd8a480cd0 Revised the documentation of the AbstractUserUtils class.
Compare 29 commits »
imacat pushed to main at imacat/mia-accounting 2023-03-14 16:44:08 +08:00
ec15cf450c TEMP: Offset
197d673c9c Added dummy.js to .gitignore and MANIFEST.in for exclusion.
7e9f4986a3 Added test_temp.py to the exclusion in MANIFEST.in.
d2332420a5 Renamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.
fc9b8a22f7 Revised the documentation of the AbstractUserUtils class.
Compare 22 commits »
imacat pushed to backup at imacat/mia-accounting 2023-03-14 16:43:53 +08:00
ec15cf450c TEMP: Offset
197d673c9c Added dummy.js to .gitignore and MANIFEST.in for exclusion.
7e9f4986a3 Added test_temp.py to the exclusion in MANIFEST.in.
d2332420a5 Renamed the AbstractUserUtils class to UserUtilityInterface, and added the can_view and can_edit functions to the UserUtilityInterface interface. There is no need to separately supply two additional can_view and can_edit callbacks.
fc9b8a22f7 Revised the documentation of the AbstractUserUtils class.
Compare 11 commits »