Do you have an easy recipe for moving items between the setup tabs too @xispa?
Raised in https://github.com/orgs/senaite/teams/community/discussions/2 earlier (more in https://jira.bikalabs.com/browse/LIMS-2728.
Got very confused going after some texts there for Translation texts, e.g. Reporting items are on the Sample COC tab, some duplicates etc. Will gladly move and order them in the same exercise if not too complex or risky
This is not difficult. If you want to change the tab where a given field (and text) is being displayed, just open
bika_setup.py, look for the field you want to “move” and change the value for the parameter
E.g. I you want to move the field “COC Attestation Statement” from “Analyses” tab to “Sampling and COC” tab, then you only need to replace
schemata="Analyses", from here https://github.com/senaite/senaite.core/blob/master/bika/lims/content/bikasetup.py#L980 by
schemata="Sampling and COC",
Again, if you press the icon Edit directly in Github and do the modifs, Github should automatically open a new Pull Request with your changes.
Thanks man, closest I’ll get to coding in a long time!
Btw, a better title for the thread will help others to find these tips easier!