This question has been flagged
1 Reply
2925 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..

Avatar
Discard
Best Answer

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 ...) 

Avatar
Discard