[IMP]Odoo v8 dev debug logging

This commit is contained in:
Fabien Bourgeois 2016-10-25 23:15:26 +02:00
parent b13d8cdea9
commit 3f80b988e5
2 changed files with 8 additions and 0 deletions

View File

@ -6,3 +6,4 @@ RUN git clone --depth 1 -b 8.0 https://github.com/OCA/server-tools
WORKDIR /opt/odoo WORKDIR /opt/odoo
COPY shell.sh ./ COPY shell.sh ./
COPY launch.dev.sh ./launch.sh

7
odoo/odoo/launch.dev.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
CONF=/opt/odoo/odoo.conf
ODOOCMD="python /opt/odoo/OCB/odoo.py --config $CONF --log-level debug --log-web --log-sql"
# Configuration generation and Odoo launch
bash genconf.sh && $ODOOCMD