Odoo Help

0

how to return multiple views?

By
Alcaline
on 1/26/15, 4:35 AM 862 views

Does anyone here knows how to return a multiple of views.. i want to return a wizard that contains the data of account.move.line  where i can filter it using the DATE, PERIOD and the FISCAL YEAR.. Please can someone here can help me.. Thanks in advance..

0

Bole

--Bole--
2425
| 5 4 6
Zagreb | Karlovac, Croatia
--Bole--

there is only 10 kind of people the ones that understand binary ... and others

Bole
On 1/26/15, 5:19 AM

Concept missunderstood...
You will ALWAYS return one view... but you can decide ( calculate) wich one in your code.. 

As for your need.. create a wizard ( transient model) with fields: date, period_id, fiscal_year,

in button / method of wizard, use those vals to deterine wich move lines to show, and return view with domain or filter turned on for those vals.. stil.. you will return one view ( tree OR form, OR tree,form ...) 

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 1/26/15, 4:35 AM
Seen: 862 times
Last updated: 3/16/15, 8:10 AM