mirror of
https://github.com/inventree/InvenTree.git
synced 2025-11-30 09:20:03 +00:00
Spelling fix (#10896)
* spwan -> spawn * Prioriy -> Priority * Bump API version * Fix spelling in migration file
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
"""InvenTree API version information."""
|
||||
|
||||
# InvenTree API version
|
||||
INVENTREE_API_VERSION = 426
|
||||
INVENTREE_API_VERSION = 427
|
||||
"""Increment this API version number whenever there is a significant change to the API that any clients need to know about."""
|
||||
|
||||
INVENTREE_API_TEXT = """
|
||||
|
||||
v427 -> 2025-11-24 : https://github.com/inventree/InvenTree/pull/10896
|
||||
- Fixes a spelling mistake in the API field labels
|
||||
|
||||
v426 -> 2025-11-19 : https://github.com/inventree/InvenTree/pull/10867
|
||||
- Adds optional "price_breaks" filter to the SupplierPart API endpoint
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ class Migration(migrations.Migration):
|
||||
('headers', models.JSONField(blank=True, null=True)),
|
||||
('full_message', models.TextField(blank=True, null=True)),
|
||||
('direction', models.CharField(blank=True, choices=[('I', 'Inbound'), ('O', 'Outbound')], max_length=50, null=True)),
|
||||
('priority', models.IntegerField(choices=[(0, 'None'), (1, 'Very High'), (2, 'High'), (3, 'Normal'), (4, 'Low'), (5, 'Very Low')], verbose_name='Prioriy')),
|
||||
('priority', models.IntegerField(choices=[(0, 'None'), (1, 'Very High'), (2, 'High'), (3, 'Normal'), (4, 'Low'), (5, 'Very Low')], verbose_name='Priority')),
|
||||
('delivery_options', models.JSONField(blank=True, null=True)),
|
||||
('error_code', models.CharField(blank=True, max_length=50, null=True)),
|
||||
('error_message', models.TextField(blank=True, null=True)),
|
||||
|
||||
@@ -2653,7 +2653,7 @@ class EmailMessage(models.Model):
|
||||
direction = models.CharField(
|
||||
max_length=50, blank=True, null=True, choices=EmailDirection.choices
|
||||
)
|
||||
priority = models.IntegerField(verbose_name=_('Prioriy'), choices=Priority)
|
||||
priority = models.IntegerField(verbose_name=_('Priority'), choices=Priority)
|
||||
delivery_options = models.JSONField(
|
||||
blank=True,
|
||||
null=True,
|
||||
@@ -2873,7 +2873,7 @@ def handle_event(sender, event, esp_name, **kwargs):
|
||||
if TRACE_PROC: # pragma: no cover
|
||||
|
||||
@receiver(post_spawn)
|
||||
def spwan_callback(sender, proc_name, **kwargs):
|
||||
def spawn_callback(sender, proc_name, **kwargs):
|
||||
"""Callback to patch in tracing support."""
|
||||
TRACE_PROV.add_span_processor(TRACE_PROC)
|
||||
trace.set_tracer_provider(TRACE_PROV)
|
||||
|
||||
Reference in New Issue
Block a user