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.

1

Multiples same tree view (with different domain) in form view

By
Dominique Jouniot
on 3/7/13, 5:51 PM 1,008 views

Hello,

I try to integer multiple tree view from the same object in a form view (in fact three times), with three différents domains on one fields wich is a status.

The tree view is connected to a one2many fields in the main object. Each tree view will be put in a notebook/page (by exemple : one for statut=Actif, one for statut=exclu, one for statut=candidat)

First point : when i insert three tree view, on the same object in a form, only the last one as datas, the two other are empty. It seems that the template feeling of the form can't replay the tree view (just one time).

Second point, i put the tag domain="[('statut','=','Actif')]" in the "field part" and nothing appends, The tree view show all the value of statut.

Last point, is it possible to include filter part in a form view, just for the tree view ?

Hope this is clear. If someone has an idea. I have found nothing in the documentation, forum and other.

Thank

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

0 follower(s)

Stats

Asked: 3/7/13, 5:51 PM
Seen: 1008 times
Last updated: 7/11/16, 9:56 AM