invoicing: add cancel callback on invoice (#88590)
This commit is contained in:
parent
85151eafc7
commit
c4d2dc9d35
|
@ -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),
|
||||
),
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue