Project

General

Profile

« Previous | Next » 

Revision 777d5c42

Added by Benjamin Dauvergne about 13 years ago

facturation: fix typo

View differences:

calebasse/facturation/models.py
today = date.today()
quarter = (today.month - 1) % 3
start_date = date(day=1, month=(quarter*3)+1, year=today.year),
end_date = start_date + relative_delta(months=3) + relativedelta(days=-1)
end_date = start_date + relativedelta(months=3) + relativedelta(days=-1)
return start_date, end_date
class InvoicingManager(ServiceLinkedManager):

Also available in: Unified diff