Skip to content

Commit

Permalink
[FIX] lcc_cyclos_base: prevent displaying the cyclos account creation…
Browse files Browse the repository at this point in the history
… button to unauthorized user

Will avoid displaying the button to people outside the group.
  • Loading branch information
vaab authored and stephansainleger committed Oct 17, 2024
1 parent 3bfcd4d commit 404cc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcc_cyclos_base/views/res_partner_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<xpath expr="//field[@name='lcc_backend_ids']" position="after">
<button name="cyclos_add_user" string="Create new Cyclos Wallet" class="oe_highlight"
type="object" attrs="{'invisible': [('is_main_profile','=',False)]}"
group="group_wallet_accounts_manager" />
groups="lcc_lokavaluto_app_connection.group_wallet_accounts_manager" />
</xpath>
</field>
</record>
Expand Down

0 comments on commit 404cc3a

Please sign in to comment.