Browse Source

typos

fix_front_profil
Hugo LEVY-FALK 8 years ago
parent
commit
6af65b787a
  1. 2
      CHANGELOG.md
  2. 4
      cotisations/models.py

2
CHANGELOG.md

@ -119,4 +119,4 @@ to the staff members so they can use every type of payment to buy anything.
Don't forget to run migrations, several settings previously in the `preferences` app ar now Don't forget to run migrations, several settings previously in the `preferences` app ar now
in their own Payment models. in their own Payment models.
To have a closer look on how the payments works, pleas go to the wiki. To have a closer look on how the payments works, please go to the wiki.

4
cotisations/models.py

@ -562,7 +562,7 @@ class Article(RevMixin, AclMixin, models.Model):
return ( return (
self.available_for_everyone self.available_for_everyone
or user.has_perm('cotisations.buy_every_article'), or user.has_perm('cotisations.buy_every_article'),
_("You cannot use this Payment.") _("You cannot buy this Article.")
) )
@classmethod @classmethod
@ -677,7 +677,7 @@ class Paiement(RevMixin, AclMixin, models.Model):
The general way of ending a payment. The general way of ending a payment.
:param invoice: The invoice being created. :param invoice: The invoice being created.
:param request: Request sended by the user. :param request: Request sent by the user.
:param use_payment_method: If `self` has an attribute `payment_method`, :param use_payment_method: If `self` has an attribute `payment_method`,
returns the result of returns the result of
`self.payment_method.end_payment(invoice, request)` `self.payment_method.end_payment(invoice, request)`

Loading…
Cancel
Save