mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add CurrencyField migrations
This commit is contained in:
parent
3c1f8be223
commit
5d54c8d6a2
@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.2.22 on 2023-10-24 16:44
|
||||
|
||||
from django.db import migrations
|
||||
import djmoney.models.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('company', '0066_auto_20230616_2059'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='supplierpricebreak',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
]
|
59
InvenTree/order/migrations/0098_auto_20231024_1844.py
Normal file
59
InvenTree/order/migrations/0098_auto_20231024_1844.py
Normal file
@ -0,0 +1,59 @@
|
||||
# Generated by Django 3.2.22 on 2023-10-24 16:44
|
||||
|
||||
from django.db import migrations
|
||||
import djmoney.models.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('order', '0097_auto_20230529_0107'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='purchaseorder',
|
||||
name='total_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='purchaseorderextraline',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='purchaseorderlineitem',
|
||||
name='purchase_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='returnorder',
|
||||
name='total_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='returnorderextraline',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='returnorderlineitem',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='salesorder',
|
||||
name='total_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='salesorderextraline',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='salesorderlineitem',
|
||||
name='sale_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
]
|
114
InvenTree/part/migrations/0118_auto_20231024_1844.py
Normal file
114
InvenTree/part/migrations/0118_auto_20231024_1844.py
Normal file
@ -0,0 +1,114 @@
|
||||
# Generated by Django 3.2.22 on 2023-10-24 16:44
|
||||
|
||||
from django.db import migrations
|
||||
import djmoney.models.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('part', '0117_remove_part_responsible'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='partinternalpricebreak',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='bom_cost_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='bom_cost_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='internal_cost_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='internal_cost_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='overall_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='overall_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='purchase_cost_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='purchase_cost_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='sale_history_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='sale_history_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='sale_price_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='sale_price_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='supplier_price_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='supplier_price_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='variant_cost_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partpricing',
|
||||
name='variant_cost_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partsellpricebreak',
|
||||
name='price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partstocktake',
|
||||
name='cost_max_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='partstocktake',
|
||||
name='cost_min_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
]
|
@ -0,0 +1,19 @@
|
||||
# Generated by Django 3.2.22 on 2023-10-24 16:44
|
||||
|
||||
from django.db import migrations
|
||||
import djmoney.models.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stock', '0103_stock_location_types'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='stockitem',
|
||||
name='purchase_price_currency',
|
||||
field=djmoney.models.fields.CurrencyField(choices=[], default='', editable=False, max_length=3, null=True),
|
||||
),
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user