macxred / pyledger

Python package to streamline the implementation and management of accounting systems.
MIT License
0 stars 0 forks source link

`StandaloneLedger()` should not store any data #32

Open AlexTheWizardL opened 2 months ago

AlexTheWizardL commented 2 months ago

StandaloneLedger is an abstract class that does not store any data. It solely extends LedgerEngine with functionality to compute VAT and Revaluation. Let's drop below local variables from StandaloneLedger to clarify this concept:

    _settings = None
    _account_chart = None
    _ledger = None
    _serialized_ledger = None
    _prices = None
    _vat_codes = None
    _fx_adjustments = None