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 | etc.
I am using the module report_xls, the only documentation I could find of it is the one one in its __openerp__.py description, which suggests you to download the modules account_journal_report_xls and account_move_line_report_xls to see how it works, because those modules use it to export to Excel.
I was looking their codes for a long time and from other module which seems to use report_xls too, but I am not able to know the meaning of several lines. For example, account_journal_report_xls adds in the wizard a button to export, and this one calls a function which finally returns this:
The first item of the dictionary, 'type', is always the same ('ir.actions.report.xml') for every module. But I do not have any idea of which is the meaning of the other two items, 'report name', and 'datas'. Obviously I do not want to know what the module is exactly doing, only what are the meanings of those two fields, what I should write as 'report_name' and as 'datas'.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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
|Asked: 6/27/14, 7:21 AM|
|Seen: 597 times|
|Last updated: 3/16/15, 8:10 AM|