mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 21:15:41 +00:00
Refactor bom item filter
- Also updates a number of part functions to make use of inherited BOM items
This commit is contained in:
@ -279,7 +279,7 @@ function loadBomTable(table, options) {
|
||||
if (!row.inherited) {
|
||||
return "-";
|
||||
} else if (row.part == options.parent_id) {
|
||||
return '{% trans "Inheritable" %}';
|
||||
return '{% trans "Inherited" %}';
|
||||
} else {
|
||||
// If this BOM item is inherited from a parent part
|
||||
return renderLink(
|
||||
|
Reference in New Issue
Block a user