Add missing invoice_number argument to MHB create
This commit is contained in:
parent
e843a6f857
commit
247bbe622f
1 changed files with 4 additions and 0 deletions
|
@ -305,6 +305,10 @@ class MonthlyHostingBill(AssignPermissionsMixin, models.Model):
|
||||||
args['receipt_number']
|
args['receipt_number']
|
||||||
if args['receipt_number'] is not None else ''
|
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(
|
paid_at=datetime.utcfromtimestamp(
|
||||||
args['paid_at']).replace(tzinfo=pytz.utc),
|
args['paid_at']).replace(tzinfo=pytz.utc),
|
||||||
period_start=datetime.utcfromtimestamp(
|
period_start=datetime.utcfromtimestamp(
|
||||||
|
|
Loading…
Reference in a new issue