Skip to content
Snippets Groups Projects
Commit 02e306bf authored by lejeune quentin's avatar lejeune quentin
Browse files

[FIX] point_of_sale: Fix cleaning git between 2 version of iot


When iot switch between 2 version of odoo we must clean correctly the branch.

Now -dfx erases each and every file in git directory which is not part of repository.
(like drivers and interfaces)

closes odoo/odoo#95675

X-original-commit: c115f9f8
Signed-off-by: default avatarMasereel Pierre <pim@odoo.com>
parent ac78ad6b
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ echo "addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo" >> .g
git fetch "${localremote}" "${localbranch}" --depth=1
git reset "${localremote}"/"${localbranch}" --hard
git clean -df
git clean -dfx
cp -a /home/pi/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init/home/pi/odoo/* /home/pi/odoo/
rm -r /home/pi/odoo/addons/point_of_sale/tools/posbox/overwrite_after_init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment