Odoo Help

Welcome!

This community 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.

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 124 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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