mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
remove titile
This commit is contained in:
parent
ed75970010
commit
acec4fa5d5
@ -170,7 +170,6 @@ class SalesOrderAdditionalLineItemAdmin(ImportExportModelAdmin):
|
|||||||
|
|
||||||
list_display = (
|
list_display = (
|
||||||
'order',
|
'order',
|
||||||
'title',
|
|
||||||
'quantity',
|
'quantity',
|
||||||
'reference'
|
'reference'
|
||||||
)
|
)
|
||||||
|
@ -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',
|
||||||
|
),
|
||||||
|
]
|
@ -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'))
|
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(
|
sale_price = InvenTreeModelMoneyField(
|
||||||
max_digits=19,
|
max_digits=19,
|
||||||
decimal_places=4,
|
decimal_places=4,
|
||||||
|
@ -1135,7 +1135,6 @@ class SOAdditionalLineItemSerializer(InvenTreeModelSerializer):
|
|||||||
'notes',
|
'notes',
|
||||||
'order',
|
'order',
|
||||||
'order_detail',
|
'order_detail',
|
||||||
'title',
|
|
||||||
'sale_price',
|
'sale_price',
|
||||||
'sale_price_currency',
|
'sale_price_currency',
|
||||||
'sale_price_string',
|
'sale_price_string',
|
||||||
|
Loading…
Reference in New Issue
Block a user