[FIX] docker: remove pip vatnumber and add addons/addons path to configuration
This commit is contained in:
parent
f3a5bc9399
commit
c5895c90f1
2 changed files with 1 additions and 4 deletions
|
|
@ -39,8 +39,6 @@ RUN cd $ODOO_PREFIX && \
|
||||||
# Install Poetry
|
# Install Poetry
|
||||||
RUN cd $ODOO_PREFIX && \
|
RUN cd $ODOO_PREFIX && \
|
||||||
./.venv/bin/pip install --upgrade pip && \
|
./.venv/bin/pip install --upgrade pip && \
|
||||||
./.venv/bin/pip install vatnumber && \
|
|
||||||
./.venv/bin/pip install suds-jurko && \
|
|
||||||
./.venv/bin/pip install poetry==1.3.1 && \
|
./.venv/bin/pip install poetry==1.3.1 && \
|
||||||
./.venv/bin/poetry --version && \
|
./.venv/bin/poetry --version && \
|
||||||
./.venv/bin/poetry install
|
./.venv/bin/poetry install
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,7 @@ addonsDirs = [abspath(join(addonsBaseDir, f)) for f in listdir(addonsBaseDir) if
|
||||||
isdir(join(addonsBaseDir, f))]
|
isdir(join(addonsBaseDir, f))]
|
||||||
|
|
||||||
# addonsDirs.insert(0, "/usr/lib/python3/dist-packages/odoo/addons/")
|
# addonsDirs.insert(0, "/usr/lib/python3/dist-packages/odoo/addons/")
|
||||||
# TODO path addons/addons is not exist in docker, so force to add it
|
addonsDirs.insert(0, "/ERPLibre/addons/addons")
|
||||||
# addonsDirs.insert(0, "/ERPLibre/addons/addons")
|
|
||||||
addonsDirs.insert(0, "/ERPLibre/odoo/addons/")
|
addonsDirs.insert(0, "/ERPLibre/odoo/addons/")
|
||||||
|
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue