diff --git a/bahmni_api_feed/models/drug_data_service.py b/bahmni_api_feed/models/drug_data_service.py index c9531a7..60b836b 100644 --- a/bahmni_api_feed/models/drug_data_service.py +++ b/bahmni_api_feed/models/drug_data_service.py @@ -73,8 +73,6 @@ def _fill_drug_object(self, drug_from_feed, drug_ids_from_db): drug["list_price"] = list_price drug["sale_ok"] = 1 drug["purchase_ok"] = 1 - drug["property_stock_production"] = 1 - drug["property_stock_inventory"] = 1 return drug @api.model diff --git a/bahmni_api_feed/models/reference_data_service.py b/bahmni_api_feed/models/reference_data_service.py index 2abed75..6f1fba2 100644 --- a/bahmni_api_feed/models/reference_data_service.py +++ b/bahmni_api_feed/models/reference_data_service.py @@ -44,8 +44,6 @@ def _fill_data(self, vals, category=None): data["sale_ok"] = vals.get("is_active") data["purchase_ok"] = False data["type"] = "service" - data["property_stock_inventory"] = 1 - data["property_stock_production"] = 1 return data @api.model