forvas
forvas

Reputation: 10189

How to link a field to a view in OpenERP7?

I am modifying a form view in OpenERP7. In the standard form of partners, there is a group of tabs at the bottom. One of them, Accountancy, has a couple of fields, property_account_receivable and property_account_payable which have a link to the account standard form of their corresponding accounts.

That is the behaviour I want to manage for a specific field. This one is name, and it is also in the standard form of partners, but inside the Contacts tab (this tab only appears if the partner is a company).

Now, if you click on name, a popup is opened with some information about the partner. I want to click it and go to the standard form of that partner. I tried changing the line:

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

But no results, I tried to imitate the code of the account fields and there were some mistakes because they are fields.property and name is fields.char.

How to manage this?

Upvotes: 0

Views: 32

Answers (1)

noble_man
noble_man

Reputation: 342

I think You should do it like this below

  <a name="Field_name" type="object">Here Your Link name</a>

Upvotes: 2

Related Questions