Skip to content

Commit

Permalink
[FIX] point_of_sale: Stop Odoo service during a checkout
Browse files Browse the repository at this point in the history
Actually when we link a DB and the iot need checkout a
specific version of Odoo, the service odoo in the iot
is still active.

This can disrupt the checkout and make the box unusable.

So now we stop the odoo service before the checkout.

closes odoo#150190

X-original-commit: 3e6700c
Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com>
  • Loading branch information
qle-odoo committed Jan 23, 2024
1 parent 85c06dd commit c17917b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
sudo mount -o remount,rw /

sudo service led-status stop
sudo service odoo stop

cd /home/pi/odoo
localbranch=$(git symbolic-ref -q --short HEAD)
Expand Down

0 comments on commit c17917b

Please sign in to comment.