matthiask / plata

Plata - the lean and mean Django-based Shop
https://plata-django-shop.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
202 stars 63 forks source link

Allow setting PRICE_INCLUDES_TAX per request/order #56

Closed jonasvp closed 11 years ago

jonasvp commented 11 years ago

Fixes #55

This adds a new field to the Order model, you might need to create a migration within your own app.

It also removes the unit_price property on the PriceBase model, since there's no way for the price to know it. You should only call unit_price on OrderItem.

matthiask commented 11 years ago

Thanks! Merged, and added upgrading instructions on top (https://github.com/matthiask/plata/commit/85028e457840c83938b128ac5eb1ae4f415d577c)