Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] hw_drivers: delete old files before download
When some clients are upgrading their databates and reconnect their IoT Boxes to the new version of the database, we currently can have an issue where the old iot handlers are not being overwritten, but the new ones are being deleted. This happens in situations like where we add a new driver distinction in Windows, so its name "SomeDriver.py" becomes "SomeDriver_W.py". Since we dont delete SomeDriver.py the IoT can have both drivers in such situations, causing conflicts and unwanted behaviors. The goal here is to delete all the old drivers and interfaces before downloading the new ones to make sure we don't have this issus task-3729890 closes odoo#159538 X-original-commit: 53a0440 Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
- Loading branch information