[ADD][16.0] base_user_group_mgmt: manage groups/roles assignation with validation#349
Open
[ADD][16.0] base_user_group_mgmt: manage groups/roles assignation with validation#349
Conversation
sbejaoui
approved these changes
Apr 15, 2025
| @@ -0,0 +1,7 @@ | |||
| [ This file is optional and contains additional credits, other than | |||
There was a problem hiding this comment.
Please remove the unused README fragment
Comment on lines
71
to
90
| <!-- <record--> | ||
| <!-- model="ir.actions.act_window"--> | ||
| <!-- id="base_security_update_request_request_line_act_window"--> | ||
| <!-- >--> | ||
| <!-- <field name="name">Base Security Update Line</field> <!– TODO –>--> | ||
| <!-- <field name="res_model">base.security.update.request.line</field>--> | ||
| <!-- <field name="view_mode">tree,form</field>--> | ||
| <!-- <field name="domain">[]</field>--> | ||
| <!-- <field name="context">{}</field>--> | ||
| <!-- </record>--> | ||
|
|
||
| <!-- <record model="ir.ui.menu" id="base_security_update_request_request_line_menu">--> | ||
| <!-- <field name="name">Base Security Update Line</field>--> | ||
| <!-- <field name="parent_id" ref="xmlid of parent menu" /> <!– TODO –>--> | ||
| <!-- <field--> | ||
| <!-- name="action"--> | ||
| <!-- ref="base_security_update_request_request_line_act_window"--> | ||
| <!-- />--> | ||
| <!-- <field name="sequence" eval="16" /> <!– TODO –>--> | ||
| <!-- </record>--> |
There was a problem hiding this comment.
Suggested change
| <!-- <record--> | |
| <!-- model="ir.actions.act_window"--> | |
| <!-- id="base_security_update_request_request_line_act_window"--> | |
| <!-- >--> | |
| <!-- <field name="name">Base Security Update Line</field> <!– TODO –>--> | |
| <!-- <field name="res_model">base.security.update.request.line</field>--> | |
| <!-- <field name="view_mode">tree,form</field>--> | |
| <!-- <field name="domain">[]</field>--> | |
| <!-- <field name="context">{}</field>--> | |
| <!-- </record>--> | |
| <!-- <record model="ir.ui.menu" id="base_security_update_request_request_line_menu">--> | |
| <!-- <field name="name">Base Security Update Line</field>--> | |
| <!-- <field name="parent_id" ref="xmlid of parent menu" /> <!– TODO –>--> | |
| <!-- <field--> | |
| <!-- name="action"--> | |
| <!-- ref="base_security_update_request_request_line_act_window"--> | |
| <!-- />--> | |
| <!-- <field name="sequence" eval="16" /> <!– TODO –>--> | |
| <!-- </record>--> |
db14779 to
4954191
Compare
4954191 to
5bfe932
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR creates two modules which allow users to assign group and roles to a user only if a workflow is approved.
Related fields are set readonly (only in the UI)