Fix various doc issues

This commit is contained in:
Raphael Michel
2016-11-29 17:19:22 +01:00
parent f8b38dca82
commit f76d173162
3 changed files with 5 additions and 6 deletions

View File

@@ -70,8 +70,6 @@ The provider class
.. automethod:: is_allowed
.. automethod:: is_allowed_for_order
.. autoattribute:: payment_form_fields
.. automethod:: checkout_prepare

View File

@@ -65,5 +65,3 @@ The output class
.. automethod:: generate
.. autoattribute:: download_button_text
.. autoattribute:: download_button_icon

View File

@@ -43,8 +43,11 @@ class Voucher(LoggedModel):
:type block_quota: bool
:param allow_ignore_quota: If set to true, this voucher can be redeemed even if the event is sold out
:type allow_ignore_quota: bool
:param price: If set, the voucher will allow the sale of associated items for this price
:type price: decimal.Decimal
:param price_mode: Sets how this voucher affects a product's price. Can be ``none``, ``set``, ``subtract``
or ``percent``.
:type price_mode: str
:param value: The value by which the price should be modified in the way specified by ``price_mode``.
:type value: decimal.Decimal
:param item: If set, the item to sell
:type item: Item
:param variation: If set, the variation to sell