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.

2

How to sort out by boolean value and bring that under one menu?

By
santhosh
on 1/24/15, 3:52 AM 788 views

Hi,

I have students in my menu i want to make those students as alumni by check boolean filed, i have done all now i want to sort out who are alumni bring them under one menu called alumni how can i do this.

Any one could help me....

Thanks in Advance.

 

1
Hiren OdooERP
On 1/24/15, 8:49 AM

Hello Santhosh,

 

Put a one domain in your Student object action Define below:

 

<field name="domain">[('alumni','=',True)]</field>

 

Thanks,

0

Ivan

--Ivan--
3210
| 5 3 6
Jakarta, Indonesia
--Ivan--
Ivan
On 1/24/15, 8:22 AM

Create a new menu and action.  You can use the same view (tree and form), but in the new action, specify a domain based on the boolean field.  You can find a lot of example in the account.invoice actions: odoo/addons/account/account_invoice_view.xml

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: 1/24/15, 3:52 AM
Seen: 788 times
Last updated: 4/9/15, 8:18 AM