Skip to content

Commit

Permalink
Merge pull request OCA#247 from OCA/16.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/server-backend (16.0)
  • Loading branch information
bt-admin authored Jul 11, 2023
2 parents 57e0392 + 573cf35 commit b11a0d4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ addon | version | maintainers | summary
[base_external_dbsource_sqlite](base_external_dbsource_sqlite/) | 16.0.1.0.1 | [![anddago78](https://github.com/anddago78.png?size=30px)](https://github.com/anddago78) | External Database Source - SQLite
[base_global_discount](base_global_discount/) | 16.0.1.0.0 | | Base Global Discount
[base_import_match](base_import_match/) | 16.0.1.0.0 | | Try to avoid duplicates before importing
[base_user_role](base_user_role/) | 16.0.1.2.0 | [![sebalix](https://github.com/sebalix.png?size=30px)](https://github.com/sebalix) [![jcdrubay](https://github.com/jcdrubay.png?size=30px)](https://github.com/jcdrubay) [![novawish](https://github.com/novawish.png?size=30px)](https://github.com/novawish) | User roles
[base_user_role](base_user_role/) | 16.0.1.2.1 | [![sebalix](https://github.com/sebalix.png?size=30px)](https://github.com/sebalix) [![jcdrubay](https://github.com/jcdrubay.png?size=30px)](https://github.com/jcdrubay) [![novawish](https://github.com/novawish.png?size=30px)](https://github.com/novawish) | User roles
[base_user_role_history](base_user_role_history/) | 16.0.1.0.0 | [![ThomasBinsfeld](https://github.com/ThomasBinsfeld.png?size=30px)](https://github.com/ThomasBinsfeld) | This module allows to track the changes on users roles.

[//]: # (end addons)
Expand Down
2 changes: 1 addition & 1 deletion base_user_role/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{
"name": "User roles",
"version": "16.0.1.2.0",
"version": "16.0.1.2.1",
"category": "Tools",
"author": "ABF OSIELL, Odoo Community Association (OCA)",
"license": "LGPL-3",
Expand Down
5 changes: 4 additions & 1 deletion base_user_role/views/user.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@
<field name="inherit_id" ref="base.view_users_search" />
<field name="arch" type="xml">
<field name="company_ids" position="after">
<field name="role_ids" />
<field
name="role_ids"
filter_domain="[('role_line_ids.role_id.name','ilike',self)]"
/>
</field>
</field>
</record>
Expand Down

0 comments on commit b11a0d4

Please sign in to comment.