Skip to content

Commit

Permalink
Update 0.6 release notes with checkout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
codeinthehole committed Oct 18, 2013
1 parent b3fcf03 commit 8ebf122
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions docs/source/releases/v0.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ Other notable new features include:

* `New helper methods`_ in the ``EventHandler`` class for order processing

.. _`Oscar now supports Django 1.5`: `Django 1.5 and customer user model support`_
.. _`demo site`: `Demo site`_
.. _`Oscar now supports Django 1.5`: `Django 1.5 and custom user model support`_
.. _`Partners can now have addresses`: `Partner addresses`_
.. _`Customer wishlists`: `Wishlists`_
.. _`New helper methods`: `Order processing changes`_
Expand Down Expand Up @@ -97,6 +96,9 @@ There's a great deal of flexibility. See the guide to
:doc:`prices and availability </topics/prices_and_availability>`
for more information.

Note that the :function:`oscar.templatetags.currency_filters.currency` now
accepts an optional currency parameter.

Payment models have abstract versions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand All @@ -118,6 +120,16 @@ Partners can now have addresses. These are useful for US sales tax where tax
calculations need to know the origin of a product being shipped. The dashboard
has been extended to allow partner addresses to be edited.

Checkout
~~~~~~~~

The :class:`~oscar.apps.checkout.views.PaymentDetailsView` checkout view has
been restructured slightly to be more flexible. There is a new
``build_submission`` method which is responsible for building a dict of all data
for passing to the ``submit`` method. This includes the shipping address and
shipping method which were previously loaded indirectly within the ``submit``
method. The ``submit`` method has also been extended to take additional parameters.

Demo site
~~~~~~~~~

Expand Down Expand Up @@ -186,6 +198,19 @@ Minor changes
Backwards incompatible changes in 0.6
=====================================

Checkout
~~~~~~~~

Several changes have been made to the checkout classes.

* The ``submit`` method in
:class:`~oscar.apps.checkout.views.PaymentDetailsView` now accepts several
new parameters.

* The ``handle_payment`` method in
:class:`~oscar.apps.checkout.views.PaymentDetailsView` now accepts a
:class:`~oscar.core.prices.Price`` instance instead of a Decimal.

Signature changes
~~~~~~~~~~~~~~~~~

Expand All @@ -204,6 +229,7 @@ Several classes and functions have had signature changes:
``AnonymousUserProductReviewForm``, have been replaced by a new
:class:`oscar.apps.catalogue.reviews.forms.ProductReviewForm``.


Address model changes
~~~~~~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -303,7 +329,6 @@ Order app:
URLs
~~~~


Migrations
~~~~~~~~~~

Expand Down

0 comments on commit 8ebf122

Please sign in to comment.