-
-
Notifications
You must be signed in to change notification settings - Fork 326
[18.0][IMP] base_user_role: New wizard to add multiple users #381
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
[18.0][IMP] base_user_role: New wizard to add multiple users #381
Conversation
legalsylvain
left a comment
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.
code review / no test.
thanks !
|
Could you review this, please? |
|
Could you review this, please? I think you have more context, it's related to https://gitlab.com/ircanada/ircodoo/-/merge_requests/4150#note_2790173889 |
rolandojduartem
left a comment
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.
@luisg123v is bumping version expected here? is the target of branch fine?
Also, @jqbeltran2, please add test for the new wizard.
base_user_role/views/role.xml
Outdated
| License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). | ||
| --> | ||
| <odoo> | ||
| <record id="action_add_multiple_users_wizard" model="ir.actions.act_window"> |
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.
move this action to the respective file
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.
changes applied @rolandojduartem
|
dbab4f9 to
3fd676c
Compare
| name="user_ids" | ||
| widget="many2many_tags" | ||
| options="{'no_create': True, 'no_create_edit': True}" | ||
| domain="[('share','=',False), ('active','=',True)]" |
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.
domain active is not needed
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.
Done
This commit adds a new feature to the module: New button to open wizard so it's possible to select multiple users at once, keeping the ability to choose the dates.
3fd676c to
344814b
Compare
|
LGTM 👍 @luisg123v @moylop260 |
|
/ocabot merge patch |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 2289402. Thanks a lot for contributing to OCA. ❤️ |
Description
This commit adds a new feature to the module: New button to open wizard so it's possible to select multiple
users at once, keeping the ability to choose the dates.