2
0
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:
Oliver Walters
2021-02-17 22:53:56 +11:00
parent 1eb2456e3d
commit bb3440a8a4
5 changed files with 80 additions and 27 deletions

View File

@ -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(