Odoo Help

0

How to hide Issues(action button on top of of the project form) button in project?

By
vadivel
on 11/9/16, 12:24 AM 455 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>

1

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>

Thanks Prashant Panchal

vadivel
on 11/9/16, 1:43 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 11/9/16, 12:24 AM
Seen: 455 times
Last updated: 11/9/16, 1:16 AM