Skip to Content
Menu
This question has been flagged
1 Reply
6220 Views

Hi Friend,

I need a solution for hiding issues button(which is for redirecting to current project's related issues form) from project form. It doesn't have name attribute so can use that in xpath.I have given below the xml code which is to be replaced:

<button class="oe_inline oe_stat_button" type="action" attrs="{'invisible':[('use_issues','=', 0)]}" name="%    (act_project_project_2_project_issue_all)d" icon="fa-bug">

    <field string="Issues" name="issue_count" widget="statinfo"/>

</button>

Avatar
Discard
Best Answer

Hello you can try this one

<xpath expr="//button[@name='%(project.act_project_project_2_project_issue_all)d']" position="replace">

     Enter Your content  

</xpath>

Avatar
Discard
Author

Thanks Prashant Panchal

Related Posts Replies Views Activity
0
Mar 15
2178
1
Jun 23
1824
1
Nov 19
12968
6
Jul 18
14183
1
May 17
6131