mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-08 04:40:57 +00:00
When creating a new price break for a supplier part, default to using the currency code specified for the supplier company
This commit is contained in:
20
InvenTree/part/migrations/0059_auto_20201112_1112.py
Normal file
20
InvenTree/part/migrations/0059_auto_20201112_1112.py
Normal file
@@ -0,0 +1,20 @@
|
||||
# Generated by Django 3.0.7 on 2020-11-12 00:12
|
||||
|
||||
import InvenTree.fields
|
||||
import django.core.validators
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('part', '0058_remove_partsellpricebreak_cost'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='partsellpricebreak',
|
||||
name='quantity',
|
||||
field=InvenTree.fields.RoundingDecimalField(decimal_places=5, default=1, help_text='Price break quantity', max_digits=15, validators=[django.core.validators.MinValueValidator(1)], verbose_name='Quantity'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user