2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 04:55:44 +00:00

Fix for plugin installation via web interface (#5646)

* Fix for plugin installation via web interface

- Previous implementation did not correctly catch error output
- Refactored into new file plugin.installer.py
- Provides better "output" when plugin does install correctly

* Remove unnecessary debug output

* Update unit test

* Remove placeholder code
This commit is contained in:
Oliver
2023-10-03 18:47:55 +11:00
committed by GitHub
parent 6521ce5216
commit 88314da7b3
5 changed files with 253 additions and 72 deletions

View File

@ -157,6 +157,9 @@ function installPlugin() {
onSuccess: function(data) {
let msg = '{% trans "The Plugin was installed" %}';
showMessage(msg, {style: 'success', details: data.result, timeout: 30000});
// Reload the plugin table
$('#table-plugins').bootstrapTable('refresh');
}
});
}