Closed BerglundDaniel closed 7 months ago
The recent updates involve modifying the accounting system to handle rounding errors more effectively. New enumerations and data classes have been introduced to define and track rounding errors. Functions within the accounting system have been updated to incorporate the handling of these errors. Additionally, the test suite has been expanded with new tests and updates to existing tests to ensure that the handling of rounding errors is thoroughly verified.
File Path | Change Summary |
---|---|
api/src/shop/accounting/accounting.py |
Added RoundingErrorSource enum and RoundingError dataclass; modified functions to handle rounding errors. |
api/src/shop/accounting/export.py |
Imported new rounding error classes; added new function and updated export_accounting to handle rounding errors. |
api/src/shop/accounting/test/accounting_test.py |
New tests added for rounding error handling; existing tests updated to include rounding error checks. |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
Bug Fixes
Tests