Add import and constant in adapter
# -*- coding: utf-8 -*-
from openprocurement.tender.core.adapters import TenderConfigurator
from openprocurement.tender.openua.constants import STATUS4ROLE
from openprocurement.tender.limited.models import (
    ReportingTender, NegotiationTender, NegotiationQuickTender
)


class TenderReportingConfigurator(TenderConfigurator):
    """ Reporting Tender configuration adapter """

    name = "Reporting Tender configurator"
    model = ReportingTender

    # Dictionary with allowed complaint statuses for operations for each role
    allowed_statuses_for_complaint_operations_for_roles = STATUS4ROLE

    @property
    def edit_accreditation(self):
        raise NotImplemented


class TenderNegotiationConfigurator(TenderConfigurator):
    """ Negotiation Tender configuration adapter """

    name = "Negotiation Tender configurator"
    model = NegotiationTender

    # Dictionary with allowed complaint statuses for operations for each role
    allowed_statuses_for_complaint_operations_for_roles = STATUS4ROLE

    @property
    def edit_accreditation(self):
        raise NotImplemented


class TenderNegotiationQuickConfigurator(TenderNegotiationConfigurator):
    """ Negotiation Quick Tender configuration adapter """

    name = "Negotiation Quick Tender configurator"
    model = NegotiationQuickTender

# -*- coding: utf-8 -*-
from openprocurement.tender.core.adapters import TenderConfigurator
from openprocurement.tender.limited.models import (
    ReportingTender, NegotiationTender, NegotiationQuickTender
)


class TenderReportingConfigurator(TenderConfigurator):
    """ Reporting Tender configuration adapter """

    name = "Reporting Tender configurator"
    model = ReportingTender

    @property
    def edit_accreditation(self):
        raise NotImplemented


class TenderNegotiationConfigurator(TenderConfigurator):
    """ Negotiation Tender configuration adapter """

    name = "Negotiation Tender configurator"
    model = NegotiationTender

    @property
    def edit_accreditation(self):
        raise NotImplemented


class TenderNegotiationQuickConfigurator(TenderNegotiationConfigurator):
    """ Negotiation Quick Tender configuration adapter """

    name = "Negotiation Quick Tender configurator"
    model = NegotiationQuickTender
