-
Notifications
You must be signed in to change notification settings - Fork 25
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
Publication Specification doesn't work #77
Comments
@siyamalan which template are you using? |
Thanks for the reply @xispa As shown in below picture, "Specification changes when I change publication specification but not the range. The publication specification I assign should also change the range |
default.pt or any other template is pulling only the analysis spec. They are not pulling publication spec
|
Getting the specs from publication specification instead of analysis Specification solves this issue (senaite/senaite.impress#77)
@xispa Getting the specs from publication specification instead of analysis Specification solved the above issue for me. I made below changes and disabled the analysis specification completely, Below is how things are working for me :)
|
Funny. So with this change you've done , the analyses keep their own specs (e.g. defined on Sample creation), but the publication specs are displayed in the report. Nevertheless, keep in mind that if you add a new analysis in that Sample, that new analysis will acquire the publication specifications, rather than the defaults. Also, when you do any of these:
the specification of the resulting sample will be the primary's publication specification. |
Description
A single analysis specification can be assigned while creating analysis request.
The problem is that a single product tested by lab can have multiple specifications.
Being able to change "Publication Specification", hence having desired specifications in published report would absolutely solve this problem.
Reproduction guide
Created a new sample request
Assigned analysis specification
Entered the results
Published the report
Changed the "publication specification" again
Published the report again
Observed behaviour
After saving publication specification, the "specification" changed but the "Range" did not change
Expected behaviour
The Range should be different in published report
Versions
OS: Ubuntu Server 18.04.2 LTS
senaite.core:
1.3.1
senaite.impress:
1.2.0
senaite.core.listing:
master
senaite.core.supermodel:
master
The text was updated successfully, but these errors were encountered: