[v7] Unable to create Asset Item

Hi,

We are trying to create an Asset Item. However, in Version 7,

  1. When creating Item, we are unable to see the checkbox of “Is Fixed Asset” field :


  2. When creating a new Asset, the Item Code drop down is empty, asking to create new item.
    When we create new item, it runs into the following Error :

  File "/home/frappe/benches/sunseap-dev/apps/frappe/frappe/app.py", line 55, in application
    response = frappe.handler.handle()
  File "/home/frappe/benches/sunseap-dev/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/home/frappe/benches/sunseap-dev/apps/frappe/frappe/handler.py", line 36, in execute_cmd
    ret = frappe.call(method, **frappe.form_dict)
  File "/home/frappe/benches/sunseap-dev/apps/frappe/frappe/__init__.py", line 876, in call
    return fn(*args, **newargs)
  File "/home/frappe/benches/sunseap-dev/apps/erpnext/erpnext/accounts/doctype/asset/asset.py", line 235, in get_item_details
    ret.update({
AttributeError: 'NoneType' object has no attribute 'update'

Kindly advice on how we could go about creating an Asset Item.

Thank you.

@asneha1 please file bug reports on Issues · frappe/erpnext · GitHub

Hi @rmehta,

Sure, will do. Issue raised - [v7] Unable to create Asset Item · Issue #5764 · frappe/erpnext · GitHub
Thank you.