### App Versions
```
{
	"archeive_system": "0.0.1",
	"bonyan_app": "0.0.1",
	"chat": "0.0.1",
	"education": "15.0.0",
	"erpnext": "14.74.2",
	"frappe": "14.81.5",
	"frappe_hijri_datepicker": "0.0.1",
	"free_disburse": "0.0.1",
	"healthcare": "14.0.2",
	"hr_report": "0.0.1",
	"hrms": "14.18.1",
	"initiative_app": "0.0.1",
	"itaam_information": "0.0.1",
	"metabase_integration": "0.0.1",
	"monitoring_and_evaluation": "0.0.1",
	"non_profit": "0.0.1",
	"openalt_theme": "0.0.1",
	"payments": "0.0.1",
	"scrum": "0.0.1",
	"wiki": "2.0.0"
}
```
### Route
```
Form/Ouen Approued Quantty/ITAAM-OAQ-2024-02-11-000001
```
### Traceback
```
Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 97, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 55, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 48, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1619, in call
    return fn(*args, **newargs)
  File "apps/frappe/frappe/desk/form/save.py", line 31, in savedocs
    doc.save()
  File "apps/frappe/frappe/model/document.py", line 310, in save
    return self._save(*args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 345, in _save
    self.run_before_save_methods()
  File "apps/frappe/frappe/model/document.py", line 1062, in run_before_save_methods
    self.run_method("before_save")
  File "apps/frappe/frappe/model/document.py", line 931, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 1283, in composer
    return composed(self, method, *args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 1265, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "apps/frappe/frappe/model/document.py", line 928, in fn
    return method_object(*args, **kwargs)
  File "apps/itaam_information/itaam_information/itaam/doctype/ouen_approued_quantty/ouen_approued_quantty.py", line 142, in before_save
    get_approved_quantity(
  File "apps/itaam_information/itaam_information/itaam/doctype/ouen_approued_quantty/ouen_approued_quantty.py", line 218, in get_approved_quantity
    j.quantity = quantity / (uom_list[0].conversion_factor)
IndexError: list index out of range

```
### Request Data
```
{
	"type": "POST",
	"args": {
		"doc": "{\"name\":\"ITAAM-OAQ-2024-02-11-000001\",\"owner\":\"ojanah@bonyan-ye.org\",\"creation\":\"2024-11-02 12:29:24.163045\",\"modified\":\"2024-11-03 12:41:27.302985\",\"modified_by\":\"ojanah@bonyan-ye.org\",\"docstatus\":0,\"idx\":0,\"workflow_state\":\"قيد الأعداد\",\"status\":\"Draft\",\"date\":\"2024-11-03\",\"automatic_oven\":\"مخزن فرن وشحة محافظة حجة - BDF\",\"ramadan_meal\":0,\"project\":\"PROJ-1510\",\"time\":\"12:41:24\",\"automatic_oven_manager\":\"fsabai@bonyan-itm-fran.org\",\"automatic_oven_manager_name\":\"فارس  السبائي\",\"project_name\":\"مشروع فرن محافظة حجة(مديرية وشحة) الخيري للعام 1446هـ\",\"item\":\"802-00003\",\"cost_center\":\"10330 - برنامج اطعام عام - BDF\",\"uom\":\"وحدة\",\"company\":\"مؤسسة بنيان التنموية\",\"bom_no\":\"BOM-كدمة (رغيف بلدي)-004\",\"total\":19475,\"source_warehouse\":\"مخزن مواد خام وأولية - فرن مديرية وشحة - BDF\",\"wip_warehouse\":\"مخزن تحت التشغيل - فرن مديرية وشحة - BDF\",\"fg_warehouse\":\"مخزن إنتاج تام - فرن مديرية وشحة - BDF\",\"scrap_warehouse\":\"مخزن التالف - فرن مديرية وشحة - BDF\",\"doctype\":\"Ouen Approued Quantty\",\"other_approved_quantities\":[{\"name\":\"mqca5sho4c\",\"owner\":\"ojanah@bonyan-ye.org\",\"creation\":\"2024-11-02 12:29:24.163045\",\"modified\":\"2024-11-03 12:41:27.302985\",\"modified_by\":\"ojanah@bonyan-ye.org\",\"docstatus\":0,\"idx\":1,\"whose_quantity\":\"عمال الفرن\",\"quantity\":200,\"parent\":\"ITAAM-OAQ-2024-02-11-000001\",\"parentfield\":\"other_approved_quantities\",\"parenttype\":\"Ouen Approued Quantty\",\"doctype\":\"Other Approved Quantities\"},{\"name\":\"mqca79do5g\",\"owner\":\"ojanah@bonyan-ye.org\",\"creation\":\"2024-11-02 12:29:24.163045\",\"modified\":\"2024-11-03 12:41:27.302985\",\"modified_by\":\"ojanah@bonyan-ye.org\",\"docstatus\":0,\"idx\":2,\"whose_quantity\":\"كمية فارق التحويل\",\"quantity\":1,\"parent\":\"ITAAM-OAQ-2024-02-11-000001\",\"parentfield\":\"other_approved_quantities\",\"parenttype\":\"Ouen Approued Quantty\",\"doctype\":\"Other Approved Quantities\"}],\"directorates_approved_quantity\":[{\"name\":\"mqc91l39qn\",\"owner\":\"ojanah@bonyan-ye.org\",\"creation\":\"2024-11-02 12:29:24.163045\",\"modified\":\"2024-11-03 12:41:27.302985\",\"modified_by\":\"ojanah@bonyan-ye.org\",\"docstatus\":0,\"idx\":1,\"blocks\":\"وشحة\",\"quantity\":0,\"production_rate\":100,\"approved_quantity\":19274,\"project\":\"PROJ-0951\",\"projectname\":\"مشروع انشاء الفرن الخيري محافظة حجة (مديرية وشحة)\",\"parent\":\"ITAAM-OAQ-2024-02-11-000001\",\"parentfield\":\"directorates_approved_quantity\",\"parenttype\":\"Ouen Approued Quantty\",\"doctype\":\"Directorates Approved Quantity\"}],\"total_approved_quantity_for_each_project\":[{\"name\":\"mqcaddcpdq\",\"owner\":\"ojanah@bonyan-ye.org\",\"creation\":\"2024-11-02 12:29:24.163045\",\"modified\":\"2024-11-03 12:41:27.302985\",\"modified_by\":\"ojanah@bonyan-ye.org\",\"docstatus\":0,\"idx\":1,\"project_name\":\"مشروع انشاء الفرن الخيري محافظة حجة (مديرية وشحة)\",\"approved_quantity\":19274,\"parent\":\"ITAAM-OAQ-2024-02-11-000001\",\"parentfield\":\"total_approved_quantity_for_each_project\",\"parenttype\":\"Ouen Approued Quantty\",\"doctype\":\"Total Approved Quantity For Each Project\"}],\"__last_sync_on\":\"2024-11-05T06:15:52.091Z\",\"__unsaved\":1}",
		"action": "Save"
	},
	"btn": {
		"jQuery360034911796965637111": {
			"events": {
				"click": [
					{
						"type": "click",
						"origType": "click",
						"guid": 573,
						"namespace": ""
					}
				]
			}
		}
	},
	"freeze": true,
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.form.save.savedocs"
}
```
### Response Data
```
{
	"exception": "IndexError: list index out of range"
}
```