Skip to content

Commit

Permalink
[FIX] Non-existing security group linked to "Settings" button in MIS
Browse files Browse the repository at this point in the history
Widget
  • Loading branch information
MaxyMoos committed Apr 21, 2020
1 parent 4027324 commit 5fa95db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mis_builder/readme/newsfragments/281.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The "Settings" button is now displayed for users with the "Show full accounting features" right when previewing a report.
2 changes: 1 addition & 1 deletion mis_builder/static/src/js/mis_report_widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ odoo.define("mis_builder.widget", function(require) {
});

var def2 = session
.user_has_group("analytic.group_account_user")
.user_has_group("account.group_account_user")
.then(function(result) {
self.show_settings = result;
});
Expand Down

0 comments on commit 5fa95db

Please sign in to comment.