Cannot create item variant V14

any pointers?

here is the issue

App Versions

{
	"erpnext": "14.14.0",
	"frappe": "14.23.0",
	"hrms": "1.0.0",
	"payments": "0.0.1",
	"posawesome": "4.1.1"
}

Route

Form/Item/LGL

Trackeback

Traceback (most recent call last):
  File "apps/frappe/frappe/app.py", line 69, in application
    response = frappe.api.handle()
  File "apps/frappe/frappe/api.py", line 54, in handle
    return frappe.handler.handle()
  File "apps/frappe/frappe/handler.py", line 45, in handle
    data = execute_cmd(cmd)
  File "apps/frappe/frappe/handler.py", line 83, in execute_cmd
    return frappe.call(method, **frappe.form_dict)
  File "apps/frappe/frappe/__init__.py", line 1595, in call
    modulename = ".".join(method_string.split(".")[:-1])
  File "apps/frappe/frappe/desk/form/save.py", line 29, in savedocs
    run_onload(doc)
  File "apps/frappe/frappe/desk/form/load.py", line 370, in run_onload
    doc.run_method("onload")
  File "apps/frappe/frappe/model/document.py", line 909, in run_method
    out = Document.hook(fn)(self, *args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 1259, in composer
    return composed(self, method, *args, **kwargs)
  File "apps/frappe/frappe/model/document.py", line 1241, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "apps/frappe/frappe/model/document.py", line 906, in fn
    return method_object(*args, **kwargs)
  File "apps/erpnext/erpnext/stock/doctype/item/item.py", line 56, in onload
    self.set_onload("asset_naming_series", get_asset_naming_series())
  File "apps/erpnext/erpnext/stock/doctype/item/item.py", line 1323, in get_asset_naming_series
    from erpnext.assets.doctype.asset.asset import get_asset_naming_series
  File "apps/erpnext/erpnext/assets/doctype/asset/asset.py", line 26, in <module>
    from erpnext.assets.doctype.asset.depreciation import (
ImportError: cannot import name 'is_last_day_of_the_month' from 'erpnext.assets.doctype.asset.depreciation' (apps/erpnext/erpnext/assets/doctype/asset/depreciation.py)

Request Data

{
	"type": "POST",
	"args": {
		"doc": "{\"docstatus\":0,\"doctype\":\"Item\",\"name\":\"new-item-1\",\"__islocal\":1,\"__unsaved\":1,\"owner\":\"william.price@multi-doc.ca\",\"naming_series\":\"STO-ITEM-.YYYY.-\",\"item_group\":\"All Item Groups\",\"stock_uom\":\"Page\",\"disabled\":0,\"allow_alternative_item\":0,\"is_stock_item\":0,\"has_variants\":0,\"include_item_in_manufacturing\":0,\"is_fixed_asset\":0,\"auto_create_assets\":0,\"is_grouped_asset\":0,\"end_of_life\":\"2099-12-31\",\"default_material_request_type\":\"Purchase\",\"valuation_method\":\"\",\"allow_negative_stock\":0,\"has_batch_no\":0,\"create_new_batch\":0,\"has_expiry_date\":0,\"retain_sample\":0,\"has_serial_no\":0,\"variant_based_on\":\"Item Attribute\",\"min_order_qty\":0,\"is_purchase_item\":1,\"is_customer_provided_item\":0,\"delivered_by_supplier\":0,\"enable_deferred_expense\":0,\"country_of_origin\":\"Canada\",\"grant_commission\":1,\"is_sales_item\":1,\"enable_deferred_revenue\":0,\"inspection_required_before_purchase\":0,\"inspection_required_before_delivery\":0,\"is_sub_contracted_item\":0,\"published_in_website\":0,\"item_template\":\"\",\"create_variant\":0,\"opening_stock\":0,\"standard_rate\":0.25,\"item_code\":\"LGL\",\"item_name\":\"Legal Size Document Printing\",\"attributes\":[],\"item_defaults\":[{\"docstatus\":0,\"doctype\":\"Item Default\",\"name\":\"new-item-default-1\",\"__islocal\":1,\"__unsaved\":1,\"owner\":\"william.price@multi-doc.ca\",\"company\":\"Multi-Doc\",\"default_warehouse\":\"Stores - M-Doc\",\"parent\":\"new-item-1\",\"parentfield\":\"item_defaults\",\"parenttype\":\"Item\",\"idx\":1,\"__unedited\":false,\"default_price_list\":\"Standard Selling\"}],\"sales_uom\":\"Page\",\"purchase_uom\":\"Box\",\"taxes\":[],\"max_discount\":10}",
		"action": "Save"
	},
	"btn": {
		"jQuery360040968917560387831": {
			"events": {
				"click": [
					{
						"type": "click",
						"origType": "click",
						"guid": 13663,
						"namespace": ""
					}
				]
			}
		}
	},
	"freeze": true,
	"headers": {},
	"error_handlers": {},
	"url": "/api/method/frappe.desk.form.save.savedocs"
}

Response Data

{
	"exception": "ImportError: cannot import name 'is_last_day_of_the_month' from 'erpnext.assets.doctype.asset.depreciation' (apps/erpnext/erpnext/assets/doctype/asset/depreciation.py)"
}