mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
decouble ruleset migration (#5067)
This commit is contained in:
parent
2e8fb2a14a
commit
617ad6c233
@ -1,6 +1,7 @@
|
||||
# Generated by Django 3.2.18 on 2023-03-14 10:07
|
||||
|
||||
from django.db import migrations, models
|
||||
import users.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
@ -13,6 +14,6 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name='ruleset',
|
||||
name='name',
|
||||
field=models.CharField(choices=[('admin', 'Admin'), ('part_category', 'Part Categories'), ('part', 'Parts'), ('stocktake', 'Stocktake'), ('stock_location', 'Stock Locations'), ('stock', 'Stock Items'), ('build', 'Build Orders'), ('purchase_order', 'Purchase Orders'), ('sales_order', 'Sales Orders'), ('return_order', 'Return Orders')], help_text='Permission set', max_length=50),
|
||||
field=models.CharField(choices=users.models.RuleSet.RULESET_CHOICES, help_text='Permission set', max_length=50),
|
||||
),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user