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

[13.0] Shopfloor: zone picking refactor shared vars handling #117

Merged
merged 7 commits into from
Jan 28, 2021

Conversation

simahawk
Copy link
Contributor

@simahawk simahawk commented Jan 12, 2021

Partial refactor of zone_picking scenario to handle all common vars (zone location, picking type, order) via headers.
This makes easier to preserve the values across all methods of the scenario and make all of them consistent.

ref: 1933

@simahawk simahawk changed the title Shopfloor zone picking refactor order [13.0] Shopfloor: zone picking refactor shared vars handling Jan 12, 2021
@simahawk simahawk force-pushed the shopfloor-zone-picking-refactor-order branch 2 times, most recently from c68fdc2 to 8e79bfb Compare January 14, 2021 13:53
Copy link
Member

@guewen guewen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code review: LGTM

@simahawk simahawk force-pushed the shopfloor-zone-picking-refactor-order branch from 8e79bfb to ee031e2 Compare January 27, 2021 07:22
@simahawk
Copy link
Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 13.0-ocabot-merge-pr-117-by-simahawk-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 27, 2021
Signed-off-by simahawk
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@simahawk
Copy link
Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 13.0-ocabot-merge-pr-117-by-simahawk-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 27, 2021
Signed-off-by simahawk
@simahawk
Copy link
Contributor Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 13.0-ocabot-merge-pr-117-by-simahawk-bump-minor, awaiting test results.

OCA-git-bot added a commit that referenced this pull request Jan 28, 2021
Signed-off-by simahawk
@OCA-git-bot
Copy link
Contributor

@simahawk your merge command was aborted due to failed check(s), which you can inspect on this commit of 13.0-ocabot-merge-pr-117-by-simahawk-bump-minor.

After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red.

Stop passing around core variables for this scenario.
Zone location, picking type and lines order are now passed via headers.
This way they are common to the whole scenario session
and they can't get out of sync anymore.
You can now pass custom headers for requests at init
or update them on an existing client instance before making the request.
'zone_location' and 'picking_type' are now sent via headers.
This way they are shared for each call.
@simahawk simahawk force-pushed the shopfloor-zone-picking-refactor-order branch from ee031e2 to 649cbff Compare January 28, 2021 07:52
@simahawk
Copy link
Contributor Author

version bumped manually to merge manually.
There's something wrong w/ travis-ci.org/com in this repo and builds are no running as expected.

@simahawk simahawk merged commit dd4daed into OCA:13.0 Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants