Skip to content

Commit

Permalink
chore: fix proforma invoice name
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Oct 23, 2024
1 parent a24666c commit 192f9bb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions weblate_web/invoices/migrations/0009_alter_invoice_kind.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Generated by Django 5.1.2 on 2024-10-23 18:20

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("invoices", "0008_invoice_category"),
]

operations = [
migrations.AlterField(
model_name="invoice",
name="kind",
field=models.IntegerField(
choices=[
(0, "Draft"),
(10, "Invoice"),
(50, "Pro Forma Invoice"),
(90, "Quote"),
]
),
),
]
2 changes: 1 addition & 1 deletion weblate_web/invoices/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Currency(models.IntegerChoices):
class InvoiceKind(models.IntegerChoices):
DRAFT = 0, "Draft"
INVOICE = 10, "Invoice"
PROFORMA = 50, "Proforma"
PROFORMA = 50, "Pro Forma Invoice"
QUOTE = 90, "Quote"


Expand Down

0 comments on commit 192f9bb

Please sign in to comment.