This question has been flagged

How can I make this type of view in my own custom module? Anyone tell me where can I find code of this view in odoo?



Avatar
Discard
Best Answer

Hello Bhuwan,


To make a report view like 'Profit and Loss' you can take reference of 'account.financial.html.report' object.

'account.report' is common object which is inherited by all such reports in Accounting.


They are using '_get_columns_name' to add report header and '_get_lines()' to pass the report data.


Hope this helps you.

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Discard
Author

Thank you very much for your anser. I would like to know the location of this object. It will be really helpful.