how to define action for event clicking on items in tree view?

Asked by Cuong

Hi,

In tree view, I want to open a wizard when clicking on an item instead of opening form view. How can I do this behavior?

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thibaut DIRLIK (Logica) (thibaut-dirlik) said :
#1

I don't think it's possible (If you are talking of a view_type=form in tree
mode).

2011/8/2 Cuong <email address hidden>

> New question #166711 on OpenERP Server:
> https://answers.launchpad.net/openobject-server/+question/166711
>
> Hi,
>
> In tree view, I want to open a wizard when clicking on an item instead of
> opening form view. How can I do this behavior?
>
> Thanks,
>
> --
> You received this question notification because you are a member of
> OpenERP Committers, which is an answer contact for OpenERP Server.
>

Revision history for this message
Cuong (bhcuong2008) said :
#2

Hi Thibault,

What about view_type=tree? how can I define an action attached to this tree, so that when I click on an item in the tree, it will pop up a windows for doing something?

Thank you very much,

Can you help with this problem?

Provide an answer of your own, or ask Cuong for more information if necessary.

To post a message you must log in.