Closed ESiggstedt closed 8 months ago
[!WARNING]
Rate Limit Exceeded
@ESiggstedt has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 3 minutes and 37 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 6f8bd4c48dc1ee2e72fdda4a26328de059e84ba3 and a54c529329f264b4edd43f918ff02aa1258bbc1c.
The recent updates introduce an accounting section to the sales module, enhancing product management with accounting features like accounts and cost centers. This includes new components for navigation, product accounting management, and export functionalities. The backend API has been refactored to support these features with changes to entities and models, including new routes and data handling. Additionally, minor UI text corrections and script adjustments for transaction export have been made.
File Path | Change Summary |
---|---|
admin/src/Sales/Routes.jsx , admin/src/app.jsx |
Added accounting section and navigation item "Bokföring" to sales. |
admin/src/Sales/AccountingProduct.js , admin/src/Sales/AccountingAccount.js , admin/src/Sales/AccountingCostCenter.js , admin/src/Sales/AccountingExport.jsx , admin/src/Sales/AccountingBox.jsx |
Introduced new React components for managing accounting-related tasks and navigation. |
api/src/firstrun.py |
Refactored initial setup functions with loops and randomization; renamed TransactionCostcenter to TransactionCostCenter . |
api/src/shop/entities.py , api/src/shop/models.py |
Updated entities and models for products, accounts, cost centers, and product accounting; renamed classes and added relationships. |
api/src/shop/views.py |
Added new routes for transaction accounts, cost centers, product accounting, and accounting file download. |
admin/dist/css/default.css |
Added .prevent-select style and updated keyframe animations. |
admin/src/Models/... |
Added new models for products, accounts, cost centers, and their relationships. |
admin/src/Sales/OrderList.js |
Corrected Swedish UI text errors. |
accounting/export_transactions.sh |
Modified script for better multiline command handling and password warning suppression. |
Note: The ellipsis (...) in the table's File Path column indicates that the path has been shortened to group similar files together and save space.
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?
Let me know if you need help to resolve conflicts. Either way, we should squash the history before merging to reduce the clutter.
Related to issue #295
Bokföring
with sub tabsExportera
,Produkter
,Konton
andKostnadsställen
.Exportera
: prepared page for exporting SIE file for accounting for selected time period.Produkter
: List of products with assigned account and cost center. One or several products (using ctrl and shift) can be marked in list and account and/or cost center can be assigned to those productsKonton
: List of accounts. Fields for adding new accounts.Kostnadsställe
: List of cost centers. Fields for adding new cost centers.Summary by CodeRabbit
New Features
Improvements
Bug Fixes
Style
.prevent-select
style to disable text selection and improved keyframe animations in the default stylesheet.Documentation
Refactor
Chores