[FIX] point_of_sale: Maintain IoT versioning compatibility
with this commit ce0700ce401523267b5a8bd5665a368cfea24912 we lose the compatibility with olders version of Odoo So we keep the vesion of IoT box in the same place for olders version of Odoo closes odoo/odoo#54242 X-original-commit: 0215ff3fd7a353c4f191a1cb93fdce6d0db78fa0 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
This commit is contained in:
@@ -132,7 +132,7 @@ chroot "${MOUNT_POINT}" /bin/bash -c "sudo /etc/init_posbox_image.sh"
|
||||
|
||||
# copy iotbox version
|
||||
mkdir -pv "${MOUNT_POINT}"/var/odoo
|
||||
echo "${VERSION_IOTBOX}" > "${MOUNT_POINT}"/var/odoo/iotbox_version
|
||||
echo "${VERSION_IOTBOX}" | tee "${MOUNT_POINT}"/var/odoo/iotbox_version "${MOUNT_POINT}"/home/pi/iotbox_version
|
||||
|
||||
# get rid of the git clone
|
||||
rm -rfv "${CLONE_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user