Skip to content

Commit

Permalink
Fix SamplePoints imports according to senaite.core 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunga001 committed Jun 5, 2024
1 parent 4bac642 commit aaf4d79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/bika/aquaculture/browser/listingview/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@

<!-- sample points listing -->
<subscriber
for="bika.lims.controlpanel.bika_samplepoints.SamplePointsView
for="senaite.core.browser.controlpanel.samplepoints.view.SamplePointsView
zope.interface.Interface"
provides="senaite.app.listing.interfaces.IListingViewAdapter"
factory=".samplepoints.SamplePointsListingViewAdapter"/>

<!-- client sample points listing -->
<subscriber
for="bika.lims.browser.client.views.samplepoints.ClientSamplePointsView
for="senaite.core.browser.clients.client.samplepoints.view.ClientSamplePointsView
zope.interface.Interface"
provides="senaite.app.listing.interfaces.IListingViewAdapter"
factory=".samplepoints.SamplePointsListingViewAdapter"/>
Expand Down
2 changes: 1 addition & 1 deletion src/bika/aquaculture/browser/overrides/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from bika.aquaculture.config import _
from bika.aquaculture.config import is_installed
from bika.lims.controlpanel.bika_samplepoints import SamplePointsView
from senaite.core.browser.controlpanel.samplepoints.view import SamplePointsView


class ClientSamplePointsView(SamplePointsView):
Expand Down

0 comments on commit aaf4d79

Please sign in to comment.