this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove total purchase price and price

+21 -4
+21
care/emr/migrations/0072_remove_product_purchase_price_and_more.py
··· 1 + # Generated by Django 6.0 on 2026-02-12 14:27 2 + 3 + from django.db import migrations 4 + 5 + 6 + class Migration(migrations.Migration): 7 + 8 + dependencies = [ 9 + ('emr', '0071_product_purchase_price_and_more'), 10 + ] 11 + 12 + operations = [ 13 + migrations.RemoveField( 14 + model_name='product', 15 + name='purchase_price', 16 + ), 17 + migrations.RemoveField( 18 + model_name='supplydelivery', 19 + name='total_purchase_price', 20 + ), 21 + ]
-1
care/emr/models/product.py
··· 17 17 expiration_date = models.DateTimeField(default=None, null=True, blank=True) 18 18 extensions = models.JSONField(default=dict) 19 19 standard_pack_size = models.IntegerField(null=True, blank=True, default=None) 20 - purchase_price = models.DecimalField(null=True, blank=True, max_digits=20, decimal_places=6)
-1
care/emr/models/supply_delivery.py
··· 31 31 blank=True, 32 32 ) 33 33 extensions = models.JSONField(default=dict) 34 - total_purchase_price = models.DecimalField(null=True, blank=True, max_digits=20, decimal_places=6) 35 34 36 35 class DeliveryOrder(EMRBaseModel): 37 36 name = models.CharField(max_length=255)
-1
care/emr/resources/inventory/product/spec.py
··· 40 40 expiration_date: datetime.datetime | None = None 41 41 extensions: dict 42 42 standard_pack_size: int | None = None 43 - purchase_price: Decimal | None = Field(max_digits=20, decimal_places=6) 44 43 45 44 46 45 @field_validator("extensions")
-1
care/emr/resources/inventory/supply_delivery/spec.py
··· 144 144 supplied_item_pack_quantity: int | None = None 145 145 supplied_item_pack_size: int | None = None 146 146 extensions: dict 147 - total_purchase_price: Decimal | None = Field(max_digits=20, decimal_places=6) 148 147 149 148 @classmethod 150 149 def perform_extra_serialization(cls, mapping, obj):