mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
25 lines
968 B
Python
25 lines
968 B
Python
# Generated by Django 3.2 on 2021-05-04 19:46
|
|
|
|
from django.db import migrations
|
|
import djmoney.models.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('order', '0044_auto_20210404_2016'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='salesorderlineitem',
|
|
name='sale_price',
|
|
field=djmoney.models.fields.MoneyField(blank=True, decimal_places=4, default_currency='USD', help_text='Unit sale price', max_digits=19, null=True, verbose_name='Sale Price'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='salesorderlineitem',
|
|
name='sale_price_currency',
|
|
field=djmoney.models.fields.CurrencyField(choices=[('AUD', 'Australian Dollar'), ('GBP', 'British Pound'), ('CAD', 'Canadian Dollar'), ('EUR', 'Euro'), ('JPY', 'Japanese Yen'), ('NZD', 'New Zealand Dollar'), ('USD', 'US Dollar')], default='USD', editable=False, max_length=3),
|
|
),
|
|
]
|