Modifying account's reports

Asked by aymen on 2013-05-03

Hello,

I'm working on a project based on account module.

I'm trying to modify the reports of the module account in my project. I tried to create a folder in which i have put the same rml and python files of the module account. I have just changed the path of account's reports to my own path.

My problem is that the reports generated in my application are the account's report, not my own reports.

I will be so grateful if someone could help me.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Addons (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
2013-05-03
Last reply:
2013-05-17

Hello aymen . Greetings from us .

I got same problem while modifing MRP reports and I solved this issue .

You have to change xml file of module where you have used report tag . In that tag name=”modulename.inherit” .

You have to change the py file in report folder with report_sxw.report_sxw('report.modulename.inherit')

I hope this will work as it worked for me.

Thank you.

Can you help with this problem?

Provide an answer of your own, or ask aymen for more information if necessary.

To post a message you must log in.