Files
odoo_source/addons
Loan (LSE) ccbfdea3dc [FIX] hw_drivers: get IoT log file instead of Internal Server Error
Before this commit:
 Using the "Download logs" button from the IoT box form view will
fail every time due to an Internal Server Error on the IoT side.
```py
File "/home/pi/odoo/odoo/tools/misc.py", line 189, in file_path
FileNotFoundError: File not found: /var/log/odoo/odoo-server.log
```
This happened due to changes introduced in:
https://github.com/odoo/odoo/pull/99658

The changes enforced to double check that the file path was in an
odoo addons (for security reasons).
However, it is generally not the case, thus the error

After this commit:
The log file is downloaded as intended

opw-3827121

closes odoo/odoo#160576

X-original-commit: a7aa4c6e58d6448556c85c393f2910490a0519f5
Signed-off-by: Loan Sens (lse) <lse@odoo.com>
2024-04-05 10:30:40 +00:00
..
2024-04-03 16:27:10 +00:00
2024-04-03 16:27:10 +00:00
2024-03-08 11:17:48 +00:00
2024-02-22 09:06:12 +00:00
2024-01-26 09:13:03 +00:00
2024-03-15 17:30:00 +00:00
2024-04-03 16:27:10 +00:00
2024-04-03 16:27:10 +00:00
2024-04-04 18:39:19 +00:00
2024-04-03 16:27:10 +00:00
2024-04-04 09:52:46 +00:00