-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] mis_builder: use compute_sudo on field source_aml_model_id to p…
…revent errors due to missing permissions. The field source_aml_model_id refers to the ir.model, which is a technical in nature, and users should not have naturally permission to read them directly.
- Loading branch information
1 parent
d62e51f
commit a3cf25a
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The field source_aml_model_id refers to the ir.model, which is a technical in nature, and users should not have naturally permission to read them directly. | ||
With this fix, every time that the field is read, it will be done using compute_sudo, which means that the user permissions are not considered. |