Closed ESiggstedt closed 8 months ago
The codebase underwent a series of refactoring changes, primarily to standardize the naming convention of the TransactionCostcenter
to TransactionCostCenter
. Accompanying these changes, updates were made to function signatures and type annotations to align with the new naming. The export_accounting
function now uses member_id
to determine the signer
, and the sie_file.py
reflects the updated naming and has an additional argument in one of its functions. Test files were adjusted to match these changes, including variable name updates for clarity.
File Path | Changes |
---|---|
.../accounting.py , .../export.py , .../sie_file.py , .../verification.py |
Renamed TransactionCostcenter to TransactionCostCenter . Updated references and type annotations. |
.../accounting/test/accounting_test.py , .../accounting/test/export_test.py , .../accounting/test/sie_file_test.py , .../accounting/test/verification_test.py |
Updated test cases to reflect renaming and function signature changes. Renamed variables for clarity. |
.../accounting/sie_file.py |
Added verification_number argument to verification_string function. |
.../accounting/export.py |
Changed function signature to accept member_id instead of signer . |
shop/views.py |
Imported datetime , timezone , and TimePeriod . Updated method signatures. |
test_aid/db.py , test_aid/obj.py |
Updated to use TransactionCostCenter type and constructor. |
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
Refactor
Bug Fixes
Tests