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 set the href of an <a> tag to base.view_partner_form?

By
Juan Formoso
on 10/1/14, 12:16 PM 395 views

I am using OpenERP7. I want to modify the standard partner form. I applied some changes but now I need to change the destination of the links inside the tab Contacts (is_company has to value True to see this tab).

I looked the code and this is the line I have to change, don't I?

<h4><a type="open"><field name="name"/></a></h4>

I see that type="open" is the instruction which shows the popup with the partner information when a user clicks on the link. I need to change it and if the user clicks on the link, it has to show the standard partner form of that partner.

For example, I have created the company Odoo. When I go to its contacts tab, I see the partners who work on Odoo. One of them is called John Doe. If I click on his name, I should have to go to the standard partner view of John Doe, in spite of seeing the popup with his information.

I tried several ways but nothing. Any idea?

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: 10/1/14, 12:16 PM
Seen: 395 times
Last updated: 3/16/15, 8:10 AM