Skip to content

Commit

Permalink
Don't clear auctionPeriod on changing tender rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Feb 22, 2016
1 parent c5a0ba5 commit e3addb7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions openprocurement/tender/openua/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,6 @@ def next_check(self):
return min(checks).isoformat() if checks else None

def invalidate_bids_data(self):
if self.auctionPeriod and self.auctionPeriod.startDate:
self.auctionPeriod.startDate = None
[setattr(i.auctionPeriod, 'startDate', None) for i in self.lots if i.auctionPeriod and i.auctionPeriod.startDate]
for bid in self.bids:
if bid.status != "deleted":
bid.status = "invalid"

0 comments on commit e3addb7

Please sign in to comment.