From 3f80b988e54338c0d325eece3a443779caf60653 Mon Sep 17 00:00:00 2001 From: Fabien Bourgeois Date: Tue, 25 Oct 2016 23:15:26 +0200 Subject: [PATCH] [IMP]Odoo v8 dev debug logging --- odoo/odoo/Dockerfile.dev | 1 + odoo/odoo/launch.dev.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 odoo/odoo/launch.dev.sh diff --git a/odoo/odoo/Dockerfile.dev b/odoo/odoo/Dockerfile.dev index 20d7be9..ddccf06 100644 --- a/odoo/odoo/Dockerfile.dev +++ b/odoo/odoo/Dockerfile.dev @@ -6,3 +6,4 @@ RUN git clone --depth 1 -b 8.0 https://github.com/OCA/server-tools WORKDIR /opt/odoo COPY shell.sh ./ +COPY launch.dev.sh ./launch.sh diff --git a/odoo/odoo/launch.dev.sh b/odoo/odoo/launch.dev.sh new file mode 100644 index 0000000..dc22495 --- /dev/null +++ b/odoo/odoo/launch.dev.sh @@ -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