Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions account_usability/views/view_account_move_line.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
<odoo>
<record id="account.action_account_moves_all_tree" model="ir.actions.act_window">
<field name="binding_model_id" ref="base.model_res_partner" />
<field
name="groups_id"
eval="[(4, ref('account.group_account_readonly'))]"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about a Account Manager user who hasn't this group? It's not mandatory to have it:

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I understand is that group_account_manager implies group_account_user:

<record id="account.group_account_manager" model="res.groups">

And group_account_user implies group_account_readonly:
https://github.com/odoo/odoo/blob/90ee4710064f39086150045ee3f82023eafb224f/addons/account/security/account_security.xml#L72

/>
</record>
</odoo>
Loading