In ODOO9, I want to display a tree view where fields contain computed values from different models within a period of time. To be more explicit, user chooses a starting and an ending date, he must get the number of leaves of employees, the number of attended days... in the selected period. Is there a way to do this? Thank u in advance.
0
votes
2 Answers
0
votes
I see 2 possibilities:
- Using a db view. there are enough examples in odoo like Sales Report. Using a from and to date or something like that, has to be done in the search of odoo. That won't provide the best usability.
- Implement a TransientModel/Wizard where you can enter from and to date, which will dynamically compute its lines (should also be transient). I think it will provide better usability but could be less performant.