2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 07:31:10 +00:00

Furher logic improvements to BOM copy

- Remove "self" part from list
- Stop inherited BOM items from being copied incorrectly
- Allow user to select whether "inherited" BOM items are copied
This commit is contained in:
Oliver
2021-12-21 22:07:08 +11:00
parent 0c8a047bc2
commit 70f9a0fe13
5 changed files with 95 additions and 43 deletions

View File

@@ -582,7 +582,9 @@
$('#bom-duplicate').click(function() {
duplicateBom({{ part.pk }}, {
success: function(response) {
$('#bom-table').bootstrapTable('refresh');
}
});
});