Odoo Help


How to set the href of an <a> tag to base.view_partner_form?

Juan Formoso
on 10/1/14, 12:16 PM 696 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?

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.


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)


Asked: 10/1/14, 12:16 PM
Seen: 696 times
Last updated: 3/16/15, 8:10 AM