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 committed 2021-02-17 22:53:56 +11:00
1 parent 1eb2456e3d
commit bb3440a8a4
5 files changed
+80 -27

No files matched your search

+1 -1
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(