agritheory / beam

General Purpose 2D barcode scanning for ERPNext
https://agritheory.com/documentation/beam/
Other
20 stars 9 forks source link

[demand] Report with PERT or alluvial diagram to show bottlenecks in demand, weighted by demand date #111

Open agritheory opened 1 month ago

agritheory commented 1 month ago

To meaningfully work on this ticket likely means having a most of the test suite for demand done, so that this can be integrated as the signal. The technique for testing reports we've used before can be seen here. I think it makes sense to wrap the report generation in function as a pytest fixture (which I assume is not cached, but I'd need to check) and make the individual tests/ demand checkpoints cleaner. This will likely be satisfied by checking the demand after each transaction, coordinated with pytest-order.

I think a secondary feature of this report should be the ability to sort the by operation and/or workstation viewing the demand date. This would allow the user to decide if it makes sense to do the same operation at the same workstation or if it should be switched.