每次开启odoo15,很费事,写了个bat文件,可以方便的一点就起动,也可放在启动了,做为开机启动
内容:
cmd /k "cd /d G:\od15bdfwq\venv\Scripts &activate &cd .. &cd ..&python odoo-bin -c G:\od15bdfwq\od15mygs.conf "
cmd /k
conf配置文件
[options] addons_path = G:\od15bdfwq\odoo\addons, admin_passwd = $pbkdf2-sha512$25000$MoaQMkaotZZyrlUqpfQeQw$HTvGjhfmzs7x.gdZKHW38dil42IgzALxQAIcmVEQC2LpvaEduyDRF7hVZ/GsmeQEPlo8b9XPkJQwQNt324SgNQ bin_path = G:\od15bdfwq\thirdparty\wkhtmltopdf\bin csv_internal_sep = , data_dir = G:\od15bdfwq\fjdata db_host = localhost db_maxconn = 64 db_name =