mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Change related name for SuppleirPart.supplier
This commit is contained in:
parent
2ea1e72c44
commit
635c4339e0
19
InvenTree/company/migrations/0020_auto_20200413_0839.py
Normal file
19
InvenTree/company/migrations/0020_auto_20200413_0839.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 2.2.10 on 2020-04-13 08:39
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('company', '0019_auto_20200413_0642'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='supplierpart',
|
||||||
|
name='supplier',
|
||||||
|
field=models.ForeignKey(help_text='Select supplier', limit_choices_to={'is_supplier': True}, on_delete=django.db.models.deletion.CASCADE, related_name='supplied_parts', to='company.Company'),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user