I am using Odoo 15.
I am unable to make any custom changes in the given marked buttons. No any changes take effect on the given button.
As I could not upload the image, I am posting the link of the image
The respective custom code is
<xpath expr="//form/header/button[@name='action_send']" position="replace">
<buttonstring="Publish Test & Send" type="object" name="action_send"class="btn btn-primary"close="1"attrs="{'invisible': ['|', ('state', '=', 'published'), ('resource_type', '=', 'material')]}"groups="planning.group_planning_manager,planning.group_planning_branch_incharge"/>
xpath>
I am looking forward to your answer, Thank you.