Add missing invoice_number argument to MHB create

This commit is contained in:
PCoder 2019-04-03 21:29:49 +02:00
parent e843a6f857
commit 247bbe622f

View file

@ -305,6 +305,10 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model):
args['receipt_number']
if args['receipt_number'] is not None else ''
),
invoice_number=(
args['invoice_number']
if args['invoice_number'] is not None else ''
),
paid_at=datetime.utcfromtimestamp(
args['paid_at']).replace(tzinfo=pytz.utc),
period_start=datetime.utcfromtimestamp(