Skip to content

Commit

Permalink
[FIX] dms_field: Use new field
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Oct 25, 2023
1 parent fd355db commit dc41fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dms_field/static/src/js/base/dms_tree_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ odoo.define("dms.DmsTreeController", function (require) {
["child_directory_ids", "in", params.initialState.res_ids],
];
} else {
storage_domain = [["model_ids.model", "=", model]];
storage_domain = [["model", "=", model]];
autocompute_directory = true;
show_storage = false;
}
Expand Down

0 comments on commit dc41fe5

Please sign in to comment.