Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single pack transfer fix/refactor + misc fixes #37

Merged
merged 14 commits into from
Aug 13, 2020

Conversation

simahawk
Copy link
Member

No description provided.

single_pack_transfer ATM works only with package levels.
If you use it w/ picking types that do not move entire packages
you'll get bad results.

The long term is to do it as in location_content_transfer
which works w/ both move lines and pkg levels.
When moving away from a process the global state key was not updated.
Hence, all the events emitted right after where using a wrong prefix.
Now the router wipes the state when needed.
Additionally, the prefix now includes the process name
so that its events are completely encapsulated by their usage.
By design the endpoint should be called 'unload_scan_destination'
but it has been named 'unload_set_destination'.
Writing on pkg_level.is_done w/out checking if already set
is going to sum up the whole qty as done each time.
Hence a pkg level w/ 100 units done, if scanned 5 times, will have 500 done.
@simahawk simahawk merged commit 49b53c6 into 13.0-shopfloor Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant