Skip to content

Commit

Permalink
Save applies_to_tax_exclusive_prices flag
Browse files Browse the repository at this point in the history
OfferWizard forgets to save applies_to_tax_exclusive_prices flag at the
end.
  • Loading branch information
izidormatusov committed Nov 22, 2013
1 parent 8f7e4e8 commit 72e06d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oscar/apps/dashboard/offers/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ def save_offer(self, offer):
session_offer = self._fetch_session_offer()
offer.name = session_offer.name
offer.description = session_offer.description
offer.applies_to_tax_exclusive_prices = \
session_offer.applies_to_tax_exclusive_prices

# Working around a strange Django issue where saving the related model
# in place does not register it correctly and so it has to be saved and
Expand Down

0 comments on commit 72e06d9

Please sign in to comment.