8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-09-20 05:03:09 +00:00
re2o/cotisations/payment_methods/cheque/forms.py

12 lines
361 B
Python

from django import forms
from django.utils.translation import ugettext_lazy as _l
from re2o.mixins import FormRevMixin
from cotisations.models import Facture as Invoice
class InvoiceForm(FormRevMixin, forms.ModelForm):
"""A simple form to get the bank a the cheque number."""
class Meta:
model = Invoice
fields = ['banque', 'cheque']