mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 10:51:17 +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:
1 parent
1eb2456e3d
commit
bb3440a8a4
5 files changed
+80
-27
No files matched your search
@@ -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