mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
25 lines
951 B
Python
25 lines
951 B
Python
# Generated by Django 3.0.7 on 2020-11-10 10:01
|
|
|
|
from django.db import migrations
|
|
import djmoney.models.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('part', '0054_auto_20201109_1246'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='partsellpricebreak',
|
|
name='price',
|
|
field=djmoney.models.fields.MoneyField(decimal_places=4, default_currency='USD', help_text='Unit price at specified quantity', max_digits=19, null=True, verbose_name='Price'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='partsellpricebreak',
|
|
name='price_currency',
|
|
field=djmoney.models.fields.CurrencyField(choices=[('AUD', 'Australian Dollar'), ('CAD', 'Canadian Dollar'), ('EUR', 'Euro'), ('NZD', 'New Zealand Dollar'), ('GBP', 'Pound Sterling'), ('USD', 'US Dollar'), ('JPY', 'Yen')], default='USD', editable=False, max_length=3),
|
|
),
|
|
]
|