add some new fields to quota sale transaction model - add rancher information about live stocks & quota aalocations information
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0 on 2025-08-25 11:32
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0014_remove_inventoryquotasaletransaction_buyer_user_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inventoryentry',
|
||||
name='entry_identity',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,53 @@
|
||||
# Generated by Django 5.0 on 2025-08-25 13:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('warehouse', '0015_inventoryentry_entry_identity'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='additional',
|
||||
field=models.JSONField(default=dict),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='payer_cart',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='price_paid',
|
||||
field=models.PositiveBigIntegerField(default=0),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='price_type',
|
||||
field=models.CharField(choices=[('card', 'CARD'), ('cash', 'CASH'), ('credit', 'CREDIT'), ('check', 'CHECK')], max_length=50, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='ref_num',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='result_text',
|
||||
field=models.TextField(null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='terminal',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='inventoryquotasaletransaction',
|
||||
name='transaction_status_code',
|
||||
field=models.IntegerField(default=0),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user