Members mailing list archives
members@odoo-community.org
Browse archives
Re: view_type tree AND open a form view when clicking on a record
by
Olivier Macaigne
Jay Vora,
Very very very thanks !
After to many search hours, you give me the request.
too enjoy :)
Good week !
Arnaud
--
Very very very thanks !
After to many search hours, you give me the request.
too enjoy :)
Good week !
Arnaud
Le 07/12/2015 08:23, Jay Vora a écrit :
<blockquote
cite="mid:CACHFH7=TTZTUKYgqc52i+k=cD++PMeyQMUL4sUKg5hzhtyYpAw@mail.gmail.com"
type="cite">
Arnaud,
It would be easy:
See the existing code in product/product_view.xml
<record id="ir_product_category_open"
model="ir.values">
<field eval="'tree_but_open'"
name="key2"/>
<field eval="'product.category'"
name="model"/>
<field name="name">Products by
Categories</field>
<field
eval="'ir.actions.act_window,%d'%product_normal_action_tree"
name="value"/>
</record>
-----------------Should be, for you-----------
<field
eval="'ir.actions.act_window,%d'%ACTION_TO_OPEN_FORM"
name="value"/>
So, you simply need to create an action which will open the
view as needed.
Thanks.
On Mon, Dec 7, 2015 at 1:23 AM, GAY
Arnaud - LuxProject <agay@luxproject-development.lu>
wrote:
Hi all, I try to understand how to open a from when clicking on a tree view_type. We have some examples on product category tree view (click open product view), or account.analytic.account (cick open account analytic lines). So, no trouble to create beautifull tree, but nothink hapened when click on record. Somes ideas ? Thanks -- Salutations, Arnaud GAY LuxProject SA +33 7 82 93 84 00_______________________________________________
Mailing-List: http://odoo-community.org/groups/members-4
Post to: mailto:members@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
The Splendid journey
of 2 years in Numbers
---
Regards,
----------------------------------------------------------------------------------------------------------------------------
|
|||||||||||||||
------------------------------------------------------------------------------------------------- Visit our website : http://www.serpentcs.com |
|||||||||||||||
|
_______________________________________________
Mailing-List: http://odoo-community.org/groups/members-4
Post to: mailto:members@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
-- Salutations, Arnaud GAY LuxProject SA +33 7 82 93 84 00
Reference
-
view_type tree AND open a form view when clicking on a record
byOlivier Macaigne-
Re: view_type tree AND open a form view when clicking on a record
byOlivier Macaigne -
Re: view_type tree AND open a form view when clicking on a record
bySerpent Consulting Services
-