8
0
Fork 0
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:
Hugo LEVY-FALK 2018-07-07 20:53:42 +02:00
parent 812661cadd
commit f1661ac2b2

View file

@ -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