Skip to content

Commit d61e05b

Browse files
committed
[FIX] dms_field: Use the appropriate model for the creation of the file/directory structure according to the template
Use case example: - Log in with the user Marc Demo - Go to the Marc Demo employee - Go to the Documents tab and click on the corresponding icon to create the structure. TT55524
1 parent 644e60f commit d61e05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dms_field/static/src/views/dms_list/dms_list_controller.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ export function getDMSListControllerObject() {
459459
},
460460
onDMSCreateEmptyStorages() {
461461
var data = {
462-
model: this.resModel,
462+
model: this.sanitizeDMSModel(this.resModel),
463463
empty_storages: this.empty_storages,
464464
res_id: this.props.record.resId,
465465
};

0 commit comments

Comments
 (0)