You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating root directory for record with "/" in name raises an error.
In model dms.add.directory.record in method _create_directory_vals is for created file name used "name": record.display_name. This gives faulty file name for correct record name. Very typical case is a bank statement.
Expected behavior
The record name should be sanitized to get correct file name for all correct record names.
The easiest solution, which covers probably most cases is just replace / with _ , but it's a very hot fix.
Additional context
Odoo 15.0
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
Module
dms_field
Describe the bug
Creating root directory for record with "/" in name raises an error.
In model
dms.add.directory.record
in method_create_directory_vals
is for created file name used"name": record.display_name
. This gives faulty file name for correct record name. Very typical case is a bank statement.Expected behavior
The record name should be sanitized to get correct file name for all correct record names.
The easiest solution, which covers probably most cases is just replace
/
with_
, but it's a very hot fix.Additional context
Odoo 15.0
The text was updated successfully, but these errors were encountered: