Skip to content

Commit

Permalink
Merge branch 'a158916227407156_Complaint_active_role'
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jul 25, 2016
2 parents 23ba4cc + e930dc6 commit 6ce1da6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions openprocurement/tender/limited/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,25 @@
)
from openprocurement.api.models import (
Value, IsoDateTimeType, Document, Organization, SchematicsDocument,
Model, Revision, Period,
Model, Revision, Period, view_bid_role,
)
from openprocurement.api.models import validate_cpv_group, validate_items_uniq
from openprocurement.api.models import get_now
from openprocurement.api.models import Cancellation as BaseCancellation
from openprocurement.api.models import ITender
from openprocurement.api.models import Contract as BaseContract
from openprocurement.api.models import ProcuringEntity as BaseProcuringEntity
from openprocurement.tender.openua.models import Complaint
from openprocurement.tender.openua.models import Complaint as BaseComplaint
from openprocurement.tender.openua.models import Item


class Complaint(BaseComplaint):
class Options:
roles = {
'active': view_bid_role,
}


class Contract(BaseContract):
items = ListType(ModelType(Item))

Expand Down

0 comments on commit 6ce1da6

Please sign in to comment.