Simple question: I am trying to generate a simple XML report. I compared the code of several modules which do that, but I am not able to undestand what I have to write in the property name. I tried a lot of things comparing to the other files, but no one was succesful, because I am always getting this error:
except_osv: (u'report.what_I_write_in_name', (<type 'exceptions.KeyError'>, KeyError(u'report.what_I_write_in_name',), <traceback object at 0x7f21302f4f80>))
The name of my module is res_partner_extended. It has a folder called report, and inside it I have the XML file reports.xml, which indicates the reports to use. Here is where I have the code which generates the error:
Still inside the folder report, I also have the XML file with the content of the report (to be displayed). Its name is res_partner_link_category_history.xml.
What do I have to write in name? Thank you in advance.
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
|Asked: 10/30/14, 6:43 AM|
|Seen: 583 times|
|Last updated: 3/16/15, 8:10 AM|