odoo/odoo#191287

Created by fw-bot
Merged at 5f130e47f9b8f45dfd3a4868b3700cafb2a96f78

Statuses:

label
odoo-dev:18.0-16.0-hw_drivers-fix-home-directory-path-lotr-0cGg-fw
head
6731701f8ff9c3bdca3cce3ef4e3726e455920d8
merged
9 months ago by Louis Travaux (lotr)
odoo/odoo
16.0 #190963
17.0 #191149
saas-17.2 #191270
saas-17.4 #191284
18.0 #191287
master #191289

[FW][FIX] hw_drivers: always use pi as home directory

To allow compatibility between all db versions and new IoT Box images, we need to ensure that path_file method returns the path starting from /home/pi instead of the path of the service user (which is /home/odoo in newer images).

Forward-Port-Of: #191149
Forward-Port-Of: #190963