Closed BerglundDaniel closed 8 months ago
The recent updates across various modules introduce the ability to include deleted items in data fetch operations. The Collection
model and entity
service now have parameters controlling the inclusion of such items. Additionally, there's a new function to ensure boolean type integrity, changes to import paths, and a significant numerical adjustment in the AccountingProduct
. A comment in shop_data
suggests further review or completion may be necessary.
File | Change Summary |
---|---|
admin/src/Models/Collection.js |
Added includeDeleted property; updated fetch method to include/exclude deleted items based on this property. |
admin/src/Sales/AccountingProduct.js & api/src/shop/shop_data.py |
Adjusted imports; set includeDeleted to true ; changed accounting_element_debit.fraction from 1 to 100; added accounting_element_credit.fraction = 100 ; added a TODO comment in shop_data.py . |
api/src/service/api_definition.py & api/src/service/entity.py |
Introduced boolean(value) function for type validation; added include_deleted boolean parameter to list function; updated control flow to handle the new parameter. |
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
Improvements
Bug Fixes
Documentation