Skip to content

Commit

Permalink
Fixed SamplePoint since move to DX in senaite.core 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunga001 committed Jun 6, 2024
1 parent aaf4d79 commit d64e4e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bika/aquaculture/setuphandlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def add_dexterity_setup_items(portal):

def setup(portal):
# Batches
senaite_setup = api.get_senaite_setup()
batches = portal["batches"]
batches.title = _("Cases")
batches.reindexObject()
Expand Down Expand Up @@ -103,7 +104,7 @@ def setup(portal):
fti.title = _("Specimen Type")

# Sample Points
portal["bika_setup"]["bika_samplepoints"].setTitle("Ponds")
senaite_setup.samplepoints.setTitle("Ponds")
# Sample Type
fti = pt.get("SamplePoint")
fti.title = _("Pond")
Expand Down

0 comments on commit d64e4e1

Please sign in to comment.