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

Do not force available workflow transitions in batches listing #1577

Merged
merged 1 commit into from
May 7, 2020

Conversation

xispa
Copy link
Member

@xispa xispa commented May 1, 2020

Description of the issue/feature this PR addresses

The batches listing defines the allowed transitions to be performed against selected batches when a given filter is selected.

Available transitions for any given object are bound to its workflow definition and current user privileges. Forcing the available transitions makes other add-ons with the batch workflow customized to also tweak these values for new transitions to be displayed.

Current behavior before PR

Transitions are filtered in batches listing

Desired behavior after PR is merged

Transitions in batches listing are retrieved directly from workflow

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

The batches listing defines the allowed transitions to be
performed against selected batches when a given filter is selected.

Available transitions for any given object are bound to its workflow
definition and current user privileges. Forcing the available
transitions makes other add-ons with the batch workflow customized to
also tweak these values for new transitions to be displayed.
@xispa xispa requested a review from ramonski May 1, 2020 23:50
@ramonski ramonski merged commit e3f582b into master May 7, 2020
@ramonski ramonski deleted the batches_filters branch May 7, 2020 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants