Skip to content
Snippets Groups Projects
Commit 63829112 authored by Antoine Prieels's avatar Antoine Prieels
Browse files

[FIX] point_of_sale: IoT Box modules list on a single line


By default, the `ls` command has a width limit. Everything after this
limit will be split on a second line.

This happened when listing the modules present on the Iot Box in v12.
The list of modules was split accross two lines, the modules on the
second line were then not loaded when starting the Odoo service.

closes odoo/odoo#65259

X-original-commit: 60b58322
Signed-off-by: default avatarQuentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: default avatarAntoine Prieëls <aprieels@users.noreply.github.com>
parent dd3b58e2
Branches
Tags
No related merge requests found
......@@ -20,7 +20,7 @@ DESC=odoo
CONFIG=/home/pi/odoo/addons/point_of_sale/tools/posbox/configuration/odoo.conf
LOGFILE=/var/log/odoo/odoo-server.log
PIDFILE=/var/run/${NAME}.pid
MODULES=$(ls /home/pi/odoo/addons/ -m | tr -d ' ')
MODULES=$(ls /home/pi/odoo/addons/ -m -w0 | tr -d ' ')
USER=pi
test -x $DAEMON || exit 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment