I want to hide these two buttons for a specific group. I managed to change the group associated with the reconciliation button, but they still appear for the user. Any ideas?
This is my code:
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t
t-name="account.AccountPaymentPopOver"
t-inherit="account.AccountPaymentPopOver"
t-inherit-mode="extension" owl="1">
<xpath expr="//button[contains(@class,'js_unreconcile_payment')]" position="attributes">
<attribute name="groups">!account_control_user.group_account_user_controlled</attribute>
</xpath>
</t>
</templates>