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

Simplify attachment render in report options to single checkbox #2262

Merged
merged 12 commits into from
Feb 24, 2023

Conversation

ramonski
Copy link
Contributor

@ramonski ramonski commented Feb 23, 2023

Description of the issue/feature this PR addresses

This PR simplifies the attachment "render in report" logic to be a simply checkbox instead of an option field.

attachments

This PR also implements the request of senaite/senaite.impress#38

email view

Current behavior before PR

The user can choose between "Render in Report" and "Ignore in Report" which might be confusing.

Desired behavior after PR is merged

There is only a sinlge checkbox if the attachment should be rendered in the report, otherwise it will be ignored.

All valid attachments can be manually attached to the publication email

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

@ramonski ramonski requested a review from xispa February 23, 2023 16:20
@ramonski ramonski changed the title Convert attachment render options Simplify attachment render in report options to single checkbox Feb 23, 2023
@xispa xispa merged commit 9e4ac81 into 2.x Feb 24, 2023
@xispa xispa deleted the convert-attachment-render-option-to-bool branch February 24, 2023 08:08
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.

None yet

2 participants