change price type int -> decimal field
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2.4 on 2025-11-07 12:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('wherehouse', '0019_stockmovemend_sender'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='inventory',
|
||||
name='price',
|
||||
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=15),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='inventory',
|
||||
name='unit_price',
|
||||
field=models.DecimalField(decimal_places=2, default=0.0, max_digits=15),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user