Skip to content

Commit

Permalink
Fix org_id column - travelperk invoice (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwin1111 authored Jan 24, 2024
1 parent 5ab2d9f commit 393e860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/travelperk/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def create_or_update_invoices(invoice_data, org_id):
# Create or update Invoice object based on serial_number
invoice_object, _ = Invoice.objects.update_or_create(
serial_number=invoice_data['serial_number'],
org_id=org_id,
org_id_id=org_id,
defaults={
'billing_information': invoice_data['billing_information'],
'billing_period': invoice_data['billing_period'],
Expand Down

0 comments on commit 393e860

Please sign in to comment.