Hi All,
I have a many2many field which I want to display in separate category based on a field value.
Like we have Group Names categorized based on application in Users form view.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi All,
I have a many2many field which I want to display in separate category based on a field value.
Like we have Group Names categorized based on application in Users form view.
Hii K Ch Kumar Jagabattula
It's something different than the other.
You just need to check this.
Ref file:15.0/odoo/addons/base/views/res_users_views.xml
Ref View: id="user_groups_view" model="ir.ui.view"
Ref file:15.0/odoo/addons/base/models/res_users.py
@api.model
def _update_user_groups_view(self):
""" Modify the view with xmlid ``base.user_groups_view``, which inherits
the user form view, and introduces the reified group fields.
"""
Like this function you can override or create as you want.
Thank you Kothiya Rajesh, But I need this for a custom many2many field (not groups in Users) and to know if there is any simple customization possible for it.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Oct 22
|
2045 | ||
|
0
Sep 22
|
965 | ||
|
1
Jul 22
|
1062 | ||
|
2
Aug 23
|
4630 | ||
|
0
Feb 23
|
157 |