-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
Removed stale type registrations #1530
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RejectAnalysis
is used when a Worksheet is rejected. Haven't gone into details, but for what I've seen, when a Worksheet is rejected, an object of type RejectAnalysis
for each routine analysis is created in same slot, while the counterpart original analysis is moved to a new worksheet. I think this is used to prevent worksheets to end-up being empty while keeping the original analyses without changes:
https://github.com/senaite/senaite.core/blob/master/bika/lims/content/worksheet.py#L1414
Sorry, I missed that place where it was used. Just ressurected it |
I understand, that place really hurts... |
Description of the issue/feature this PR addresses
Remove the following stale types and their content code:
Current behavior before PR
Stale types in Database and Code
Desired behavior after PR is merged
Stale types are history
--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.