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

Avoid unnecessary Price recalculations in Sample Add Form #1539

Merged
merged 3 commits into from
Feb 13, 2020

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR improves the performance of the Sample Add form when Prices are displayed

Current behavior before PR

Prices are recalculated for every change

Desired behavior after PR is merged

Prices are only recalculated when Analyses, Analysis Profiles or an Analysis Template changed.

--
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 13, 2020 16:16
@ramonski ramonski changed the title Reduce unnecessary Price recalculations in Sample Add Form Avoid unnecessary Price recalculations in Sample Add Form Feb 13, 2020
@xispa xispa merged commit a171b28 into master Feb 13, 2020
@xispa xispa deleted the ar-add-reduce-price-recalculations branch February 13, 2020 22:18
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