Hack-ey way to make sure materials are tracked #16
Labels
Comp:Core
This issue has to do with the main bulk of the code or document. (methods, main content)
Difficulty:2-Challenging
This issue may be complex or require specialized skills.
Priority:4-Low
This work is valuable, but not urgent or mission critical.
Status:1-New
No one has claimed this issue yet. It is in need of solving.
Expected behavior:
ts.Material.create_untracked()
in theget_material_requests
functionCurrent behavior:
ts.Material.create()
in theget_material_requests
functionWhen
ts.Material.create_untracked()
was previously called, the discharged material from this archetype and any subsequent materials were not tracked as resources (although the transactions were recorded). This problem was previously addressed through Issue #9, with an attempted by wrong solution implemented in PR #15 (this solution recorded information to the database without actually making the materials tracked). The current behavior seems to work well enough (although it does add a lot of resources to the database), but it feels like something that the archetype shouldn't be doing.The text was updated successfully, but these errors were encountered: