ERPNEXT 13.13 - Failed to get method for command

Failed to get method for command

erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings.is_cart_enabled with No module named 'erpnext.shopping_cart.doctype.shopping_cart_settings.shopping_cart_settings'

I have faced same issue and get resolved by following link.

Thank you @Suresh_Thakor

Thanks @Suresh_Thakor, it help me alot

I couldnt fix the issue with bench retry-upgrade

For now my workaround is just creating that module and the required function

create the file


Add the required function

import frappe

def is_cart_enabled():

After deleting the file, the error wont come back, suggesting maybe a cache problem.