sometimes, you may need to prepare an Odoo development environment. you cloned the repository. however you need to get the Odoo version from code before even running it. in such scenario you could use grep
to retrieve the Odoo version, as following:
grep -r -E "^version_info" {{PATH}}
# where path would your Odoo code path. so it could be
grep -r -E "^version_info" /home/user/project/odoo
Top comments (0)