Woocommerce install erorr

bench get-app Dokos / WooCommerce · GitLab --branch v3.x.x
how to install woocommerce

can install using
bench get-app Dokos / Dokos WooCommerce · GitLab

but when try to install app to site
Module import failed for Woocommerce Settings, the DocType you’re trying to open might be deleted.
Error: cannot import name ‘get_time_zone’ from ‘frappe.utils’ (apps/frappe/frappe/utils/init.py)
how to fix it

Hi @Shuhain_Ismail,

In order to install the WooCommerce application, you can use the command:

bench get-app https://gitlab.com/dokos/dokos-woocommerce --branch v3.x.x

This branch is compatible with Dodock v3.x.x branch
The error you are getting seems to indicate that your version of Dodock is on thedevelop branch.
We have no compatible branch for Dokos WooCommerce with the develop branch for now.

Have a nice day

how to change branch

Hi @Shuhain_Ismail,

You can use bench switch-to-branch v3.x.x hrms

Have a nice day