diff --git a/medical_medication/demo/medical_patient_medication_demo.xml b/medical_medication/demo/medical_patient_medication_demo.xml
index 2664e8bb9..1c15a2fe6 100755
--- a/medical_medication/demo/medical_patient_medication_demo.xml
+++ b/medical_medication/demo/medical_patient_medication_demo.xml
@@ -28,7 +28,7 @@
1
-
+
@@ -64,7 +64,7 @@
10
1
-
+
@@ -100,7 +100,7 @@
30
-
+
6
diff --git a/sale_crm_medical_prescription/demo/medical_patient_medication_demo.xml b/sale_crm_medical_prescription/demo/medical_patient_medication_demo.xml
index 0142f0eff..a0fbafc70 100644
--- a/sale_crm_medical_prescription/demo/medical_patient_medication_demo.xml
+++ b/sale_crm_medical_prescription/demo/medical_patient_medication_demo.xml
@@ -11,7 +11,7 @@
8
10
-
+
diff --git a/sale_stock_medical_prescription/demo/medical_patient_medication_demo.xml b/sale_stock_medical_prescription/demo/medical_patient_medication_demo.xml
index 380a0d2aa..f04059ad9 100644
--- a/sale_stock_medical_prescription/demo/medical_patient_medication_demo.xml
+++ b/sale_stock_medical_prescription/demo/medical_patient_medication_demo.xml
@@ -11,7 +11,7 @@
12
15
-
+
diff --git a/sale_stock_medical_prescription_us/demo/medical_patient_medication_demo.xml b/sale_stock_medical_prescription_us/demo/medical_patient_medication_demo.xml
index 079317110..111a9e16e 100644
--- a/sale_stock_medical_prescription_us/demo/medical_patient_medication_demo.xml
+++ b/sale_stock_medical_prescription_us/demo/medical_patient_medication_demo.xml
@@ -9,7 +9,7 @@
1
1
-
+
1
diff --git a/sale_stock_medical_prescription_us/models/medical_prescription_order_line.py b/sale_stock_medical_prescription_us/models/medical_prescription_order_line.py
index 377daf954..e1a404d51 100644
--- a/sale_stock_medical_prescription_us/models/medical_prescription_order_line.py
+++ b/sale_stock_medical_prescription_us/models/medical_prescription_order_line.py
@@ -42,7 +42,7 @@ class MedicalPrescriptionOrderLine(models.Model):
@api.multi
def _compute_dispense_remain(self):
- day_uom_id = self.env.ref('medical_medication.product_uom_day')
+ day_uom_id = self.env.ref('product.product_uom_day')
for record in self:
if not record.duration_uom_id or record.duration <= 0:
diff --git a/sale_stock_medical_prescription_us/tests/test_medical_prescription_order_line.py b/sale_stock_medical_prescription_us/tests/test_medical_prescription_order_line.py
index 69ab5fb4d..6f0ab6c02 100644
--- a/sale_stock_medical_prescription_us/tests/test_medical_prescription_order_line.py
+++ b/sale_stock_medical_prescription_us/tests/test_medical_prescription_order_line.py
@@ -44,7 +44,7 @@ def setUp(self):
).dispensed_ids[-1]
self.uom_day = self.env.ref(
- 'medical_medication.product_uom_day'
+ 'product.product_uom_day'
)
self.uom_dozen = self.env.ref(
'product.product_uom_dozen'