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..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
2925
Views
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 ...)