BOM, Substitutes, Build Order Report and context variables #2847
-
Hi, https://github.com/SergeoLacruz/inventree-docs/blob/master/docs/report/build.md I could not dig any deeper so far. Is it possible to document the substitutes in that way or Michael |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
@SergeoLacruz the reporting feature is somewhat undocumented — it might be that the substitutes are not exposed. That is not a problem, we can easily add that, should a 1-liner |
Beta Was this translation helpful? Give feedback.
-
@SergeoLacruz I would very much appreciate a PR against the documentation repo based on what you have there - it looks great! Regarding substitutes, you should be able to do something like:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the hint. I will try this later the day. |
Beta Was this translation helpful? Give feedback.
-
line.substitutes.all does the trick. I created a first example. https://github.com/SergeoLacruz/inventree-docs/blob/master/docs/assets/images/report/bom_example.png To me this looks like a very powerfull system for documentation. I think we can more or less automatically create what we call a build instruction. I will describe this BOM example soon. |
Beta Was this translation helpful? Give feedback.
@SergeoLacruz I would very much appreciate a PR against the documentation repo based on what you have there - it looks great!
Regarding substitutes, you should be able to do something like: