-
-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ADD] New module mail_discuss_security to hide 'Discuss' Application by default #1423
Conversation
000765e
to
f16b118
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with success on runboat and code review ✔️
This PR has the |
/ocabot merge nobump |
On my way to merge this fine PR! |
@hbrunn your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-1423-by-hbrunn-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
Hi all. I have a problem with the current implementation of this module. UPDATE : removing the line Step to reproduce :
Click to see Javascript error
Unncaught (in promise) Error: Some services could not be started: mail_discuss_group_systray_service. Missing dependencies: messaging
_startServices env.js:156
startServices env.js:85
startWebClient start.js:33
startPosApp main.js:33
main.js:36
def boot.js:128
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
promise callback*processJobs/processJob/def< boot.js:135
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
promise callback*processJobs/processJob/def< boot.js:135
processJob boot.js:126
processJobs boot.js:197
define boot.js:254
point_of_sale.assets_backend_prod_only.js:236
[env.js:156](http://localhost:8016/web/static/src/env.js)
startWebClient start.js:33
AsyncFunctionThrow self-hosted:811
(Asynchrone : async)
startPosApp main.js:33
main.js:36
def boot.js:128
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
(Asynchrone : promise callback)
def boot.js:135
processJob boot.js:126
processJobs boot.js:197
def boot.js:138
(Asynchrone : promise callback)
def boot.js:135
processJob boot.js:126
processJobs boot.js:197
define boot.js:254
point_of_sale.assets_backend_prod_only.js:236
I'm pretty lost. I introduced the asset in web.assets_backend bundle. So, If I understand correctly, this bundle is not loaded in the point of sale, so error should not occures.
@OCA/web-maintainers : Any help welcome ! Thanks ! |
Existing a model called |
agree ! |
f16b118
to
d228497
Compare
@legalsylvain where is the messaging service defined? Perhaps you're missing a dependency in you manifest Edit: |
hi @tarteo. Thanks for your review. In fact I updated my comment, with At this step, this PR is ready to review and to be merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@legalsylvain No problem, just tested it and it works!
4 approvals. /ocabot merge nobump |
Sorry @legalsylvain you are not allowed to merge. To do so you must either have push permissions on the repository, or be a declared maintainer of all modified addons. If you wish to adopt an addon and become it's maintainer, open a pull request to add your GitHub login to the |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at aba043a. Thanks a lot for contributing to OCA. ❤️ |
trivial module.
Description
In odoo, by default, all user can see messages ("Discuss" menu entry).
This feature is not interesting in some instances.
This module so creates a new group 'See Discuss Menu' to display this entry menu
and users are not member of this group by default.
Also in the systray, the message icon is removed: