|
directory = directory_model.browse(self.env.context.get("active_id")) |
Expected workflow:
When I drag and drop a file into a folder (with attachment storage) from the kanban view and attached to a record, I expect to create the attachment and be able to view from the record.
Results:
Record is created inside the folder but is not attached to the record.
Steps to reproduce this issue:
- Create an attachment storage.
- Create a folder linked to an existing employee (fastest removing the readonly property from the form record of res_id).
- Drag and drop a file to this folder from the main kanban view
- Check on the employee record the attachment (non exists)
dms/dms/models/dms_file.py
Line 651 in d83558e
Expected workflow:
When I drag and drop a file into a folder (with attachment storage) from the kanban view and attached to a record, I expect to create the attachment and be able to view from the record.
Results:
Record is created inside the folder but is not attached to the record.
Steps to reproduce this issue: