remove titile

This commit is contained in:
Matthias 2022-03-06 18:43:27 +01:00
parent ed75970010
commit acec4fa5d5
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076
4 changed files with 17 additions and 4 deletions

View File

@ -170,7 +170,6 @@ class SalesOrderAdditionalLineItemAdmin(ImportExportModelAdmin):
list_display = (
'order',
'title',
'quantity',
'reference'
)

View File

@ -0,0 +1,17 @@
# Generated by Django 3.2.12 on 2022-03-06 01:19
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('order', '0065_auto_20220305_2209'),
]
operations = [
migrations.RemoveField(
model_name='salesorderadditionallineitem',
name='title',
),
]

View File

@ -1178,8 +1178,6 @@ class SalesOrderAdditionalLineItem(OrderLineItem):
order = models.ForeignKey(SalesOrder, on_delete=models.CASCADE, related_name='additional_lines', verbose_name=_('Order'), help_text=_('Sales Order'))
title = models.CharField(verbose_name=_('title'), help_text=_('titel of the additional line'), max_length=250)
sale_price = InvenTreeModelMoneyField(
max_digits=19,
decimal_places=4,

View File

@ -1135,7 +1135,6 @@ class SOAdditionalLineItemSerializer(InvenTreeModelSerializer):
'notes',
'order',
'order_detail',
'title',
'sale_price',
'sale_price_currency',
'sale_price_string',