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.

0

does anyone here knows how to hide page/tab??

By
Alcaline
on 7/5/14, 4:22 AM 465 views

does anyone here knows how to hide page/tab??

for example: i have this field 'project': fields.selection([('project1','Porject1'),('project2','Project2'),('project3','Project3')],'Project'), Inside this view there are 4 Page/Tab naming PAGE FOR PROJECT 1, PAGE FOR PROJECT 2,

PAGE FOR PROJECT 3, and PAGE FOR PROJECT 4. 

if I select: PROJECT1 the PAGE FOR PROJECT 3 and PAGE FOR PROJECT 4 will automatically hide and the remaining 2 page is the only can see it. How can i do this? any other suggestion please.. by the all of my page is INHERITED..

 

what about if it is INHERITED??

Alcaline
on 7/5/14, 4:46 AM
0

Vasiliy Birukov

--Vasiliy Birukov--
3446
| 6 6 8
Russian Federation
--Vasiliy Birukov--

Help develop and implement any project on base Odoo.

Vasiliy Birukov
On 7/5/14, 4:40 AM

Use attr inside each tag page, like:

<page string="Porject1" attrs="{'invisible': [('project', 'in', ['project2','project3'])]}"/>

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

1 follower(s)

Stats

Asked: 7/5/14, 4:22 AM
Seen: 465 times
Last updated: 3/16/15, 8:10 AM