Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic generated ir.actions.report.xml: the report_name (xml_id) is not predictable #11

Open
BT-astauder opened this issue Nov 10, 2014 · 0 comments

Comments

@BT-astauder
Copy link

I want to replace a existing RML report of the account/wizard/account_report_general_ledger.py with a jasper report. There the report is called with

        return { 'type': 'ir.actions.report.xml', 'report_name': 'account.general.ledger', 'datas': data}

Because the report_name is generated dynamically with jasper.report_{id} the report_name is different in each database. I suggest to introduce a new field in jasper.document with a name, that is used when existing as report_name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant