InvenTree/InvenTree
Miklós Márton f6cfc12343
Add option to recursively delete part categories (#3435)
* Add option to recursively delete part categories

Fixes #3384

* - Added test (broken ATM)
- Refactored parameters to booleanish

* Fix styling issues reported by flake8

* Working on unit testing

* Added on_commit debugging callback

* Separate the recursive part of the deletion into another method
to make sure that the delete operation is performed in a single transaction

* Trying transactions with @transactions.atomic

* Fix flake8 reported issues

* Removed unused debug callback

* Fixed tests for category recursive deletion

* Fix flake reported issues

* Fix flake reported issues
Again

* Remove unrelated formatting changes

* Fixed a part of review comments
2022-11-08 11:57:00 +11:00
..
InvenTree Add option to recursively delete part categories (#3435) 2022-11-08 11:57:00 +11:00
build Builtin plugins (#3889) 2022-11-05 01:05:54 +11:00
common Order editing updates (#3902) 2022-11-07 13:56:50 +11:00
company Add 'barcode_hash' data to more API serializers: (#3906) 2022-11-07 22:36:15 +11:00
label Builtin plugins (#3889) 2022-11-05 01:05:54 +11:00
locale New Crowdin updates (#3898) 2022-11-06 13:46:47 +11:00
order Order editing updates (#3902) 2022-11-07 13:56:50 +11:00
part Add option to recursively delete part categories (#3435) 2022-11-08 11:57:00 +11:00
plugin Builtin plugins (#3889) 2022-11-05 01:05:54 +11:00
plugins Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
report Adds a report template tag for dict access (#3905) 2022-11-07 21:24:25 +11:00
script Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
stock Add 'barcode_hash' data to more API serializers: (#3906) 2022-11-07 22:36:15 +11:00
templates Add option to recursively delete part categories (#3435) 2022-11-08 11:57:00 +11:00
users Last Connection date for user in admin panel (#3747) 2022-10-06 22:35:20 +11:00
config_template.yaml [BUG] reverse proxy (#3847) 2022-10-25 09:32:54 +11:00
gunicorn.conf.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00
manage.py Docstring checks in QC checks (#3089) 2022-06-02 01:37:39 +10:00