Something went wrong Adding System Manager to this User as there must be atleast one System ManagerSetting this Address Template as default as there is no other defaultAccount head All Warehouses - A createdAccount head Stores - A createdAccount head Work In Progress - A createdAccount head Finished Goods - A createdDuplicate name Salary Component BasicServer Error: Please check your server logs or contact tech support.There were errors. Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 40, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 896, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 39, in setup_complete
frappe.get_attr(method)(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 26, in setup_complete
create_fiscal_year_and_company(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 97, in create_fiscal_year_and_company
enable_shopping_cart(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 109, in enable_shopping_cart
‘quotation_series’: “QTN-”,
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 189, in insert
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 750, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 651, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 858, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 645, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 22, in validate
self.validate_price_lists()
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 45, in validate_price_lists
territory_name_map = self.validate_overlapping_territories(“price_lists”, “selling_price_list”)
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 32, in validate_overlapping_territories
doctype = self.meta.get_field(parentfield).options
AttributeError: ‘NoneType’ object has no attribute ‘options’
Do you have shopping cart installed on your site? If yes kindly uninstall it because shopping cart is now the part of erpnext application. To uninstall app use command bench --site site_name uninstall-app app_name
Thanks for reply.
did uninstall shopping cart but now
ImportError: Module import failed for Shopping Cart Settings (frappe.core.doctype.shopping_cart_settings.shopping_cart_settings)
this error is there.
How to rectify ?
Thanks
Amit
7.2.1 version
Shopping cart is part of erpnext now and based on error seems that you have old frappe version. When did you take the last update?
Now another error…
I had reinstalled bench
Something went wrong
Adding System Manager to this User as there must be atleast one System ManagerSetting this Address Template as default as there is no other defaultAccount head All Warehouses - AT createdAccount head Stores - AT createdAccount head Work In Progress - AT createdAccount head Finished Goods - AT createdDuplicate name Salary Component BasicServer Error: Please check your server logs or contact tech support.There were errors. Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 40, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 896, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 39, in setup_complete
frappe.get_attr(method)(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 26, in setup_complete
create_fiscal_year_and_company(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 97, in create_fiscal_year_and_company
enable_shopping_cart(args)
File “/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 109, in enable_shopping_cart
‘quotation_series’: “QTN-”,
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 189, in insert
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 750, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 651, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 858, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 841, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 645, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 22, in validate
self.validate_price_lists()
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 45, in validate_price_lists
territory_name_map = self.validate_overlapping_territories(“price_lists”, “selling_price_list”)
File “/home/frappe/frappe-bench/apps/shopping_cart/shopping_cart/shopping_cart/doctype/shopping_cart_settings/shopping_cart_settings.py”, line 32, in validate_overlapping_territories
doctype = self.meta.get_field(parentfield).options
AttributeError: ‘NoneType’ object has no attribute ‘options’