• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inventree / InvenTree / 6685466477
90%

Build:
DEFAULT BRANCH: master
Ran 29 Oct 2023 08:17PM UTC
Jobs 1
Files 801
Run time 46s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2023 07:57PM UTC coverage: 88.762% (+0.02%) from 88.739%
6685466477

push

github

web-flow
Improve deletion behaviour for InvenTreeTree model (#5806)

* Improve deletion behaviour for InvenTreeTree model

- Remove recursive call to function
- Handle database operations as bulk queries
- Ensure child nodes have their pathstring updated correctly
- Remove old @receiver hook
- Refactor StockLocation.delete method
- Refactor PartCategory.delete method
- Atomic transactions potentially problematic here

* Add docstring

* Fix method name

* Use bulk-update instead of recursive save when pathstring changes

* Improvements for tree delete method

- Handle case where item has already been deleted

* Raise exception rather than simply logging

* Update unit tests

* Improvements to unrelated unit test

* Fix urls.md

* Fix typo

97 of 97 new or added lines in 4 files covered. (100.0%)

28293 of 31875 relevant lines covered (88.76%)

0.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6685466477.1 29 Oct 2023 08:17PM UTC 0
88.76
GitHub Action Run
Source Files on build 6685466477
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #6685466477
  • fd0a57c4 on github
  • Prev Build on master (#6683259074)
  • Next Build on master (#6685469881)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc