Block a user
f11685d1c8
Replaces the datasets with object attributes to store the currency code and entry type in the JavaScript OriginalEntrySelector class.
685cc2c846
Revised the documentation of the JavaScript OriginalEntrySelector class.
0a9e32e29d
Revised the JavaScript to initialize the OriginalEntrySelector instance in JournalEntryEditor, so that the journal entry editor holds the OriginalEntrySelector instance. It can find the OriginalEntrySelector instance without needing to invoke its static methods. Removed the redundant static methods from the OriginalEntrySelector class.
b8e0ca7b40
Merged the code in the #initializeSummaryEditors method into the constructor in the JavaScript JournalEntryEditor class.
c7addf35c1
Added a missing semicolon in the saveOriginalEntry method of the JavaScript JournalEntryEditor class.
4b49128eb9
TEMP: Offset
40e329d37f
Reordered the validators in the "accounting.transaction.forms.journal_entry" module.
23a0721d8d
Added assert in the be function in the "accounting.utils.cast" module, to insure the correctness of the expression received.
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.
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.
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.
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.