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

[RFC] Use QWeb to generate legal document XML #45

Open
dreispt opened this issue Nov 8, 2019 · 1 comment
Open

[RFC] Use QWeb to generate legal document XML #45

dreispt opened this issue Nov 8, 2019 · 1 comment

Comments

@dreispt
Copy link
Member

dreispt commented Nov 8, 2019

Currently Jinja2 is being used.
QWeb has the advantage of allowing inheritance, making for option available for customer or sector specific enhancements.
There is a report_xml module enabling this, used in the Spanish localization for the same purpose.

Initially, we could have the rendering engine selectable, between Jinja and QWeb, to not be forced to redesign the legal document right away.

@pedrobaeza
Copy link
Member

You can check in https://github.com/OCA/l10n-spain/blob/12.0/l10n_es_facturae/views/report_facturae.xml that is very simply to provide QWeb XML templates with report_xml

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

No branches or pull requests

3 participants