mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-09-12 01:03:09 +00:00
Suppression d'un champ inutile
This commit is contained in:
parent
812661cadd
commit
f1661ac2b2
1 changed files with 0 additions and 10 deletions
|
@ -1,15 +1,5 @@
|
|||
from django.db import models
|
||||
|
||||
from cotisations.models import Paiement
|
||||
|
||||
|
||||
class PaymentMethodMixin:
|
||||
"""The base class for payment models. They should inherit from this."""
|
||||
payment = models.OneToOneField(
|
||||
Paiement,
|
||||
related_name='payment_method',
|
||||
editable=False
|
||||
)
|
||||
|
||||
def end_payment(self, invoice, request):
|
||||
"""Redefine this method in order to get a different ending to the
|
||||
|
|
Loading…
Reference in a new issue