invoicing: add cancel callback on invoice (#88590)

This commit is contained in:
Lauréline Guérin 2024-04-23 16:18:10 +02:00
parent 85151eafc7
commit c4d2dc9d35
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('invoicing', '0089_credit_cancellation'),
]
operations = [
migrations.AddField(
model_name='draftinvoice',
name='cancel_callback_url',
field=models.URLField(blank=True),
),
migrations.AddField(
model_name='invoice',
name='cancel_callback_url',
field=models.URLField(blank=True),
),
]

View File

@ -923,6 +923,7 @@ class AbstractInvoice(AbstractInvoiceObject):
payer_direct_debit = models.BooleanField(default=False)
payment_callback_url = models.URLField(blank=True)
cancel_callback_url = models.URLField(blank=True)
class Meta:
abstract = True