mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 05:48:47 +00:00
* Support image uploads in the "notes" markdown fields - Implemented using the existing EasyMDE library - Copy / paste support - Drag / drop support * Remove debug message * Updated API version * Better UX when saving notes * Pin PIP version (for testing) * Bug fixes - Fix typo - Use correct serializer type * Add unit testing * Update role permissions * Typo fix * Update migration file * Adds a notes mixin class to be used for refactoring * Refactor existing models with notes to use the new mixin * Add helper function for finding all model types with a certain mixin * Refactor barcode plugin to use new method * Typo fix * Add daily task to delete old / unused notes * Bug fix for barcode refactoring * Add unit testing for function
35 lines
1.3 KiB
Python
35 lines
1.3 KiB
Python
# Generated by Django 3.2.18 on 2023-04-19 00:37
|
|
|
|
import InvenTree.fields
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('order', '0090_auto_20230412_1752'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='purchaseorder',
|
|
name='notes',
|
|
field=InvenTree.fields.InvenTreeNotesField(blank=True, help_text='Markdown notes (optional)', max_length=50000, null=True, verbose_name='Notes'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='returnorder',
|
|
name='notes',
|
|
field=InvenTree.fields.InvenTreeNotesField(blank=True, help_text='Markdown notes (optional)', max_length=50000, null=True, verbose_name='Notes'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='salesorder',
|
|
name='notes',
|
|
field=InvenTree.fields.InvenTreeNotesField(blank=True, help_text='Markdown notes (optional)', max_length=50000, null=True, verbose_name='Notes'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='salesordershipment',
|
|
name='notes',
|
|
field=InvenTree.fields.InvenTreeNotesField(blank=True, help_text='Markdown notes (optional)', max_length=50000, null=True, verbose_name='Notes'),
|
|
),
|
|
]
|