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

How to configure attachment from filestore >> Alfresco #117

Closed
vincentlaurent opened this issue Dec 28, 2018 · 1 comment
Closed

How to configure attachment from filestore >> Alfresco #117

vincentlaurent opened this issue Dec 28, 2018 · 1 comment
Labels

Comments

@vincentlaurent
Copy link

Hello Laurent

Can you explain how to change the by default behaviour of Odoo when printing qweb. The pdf generated is attached in the filestore and I would rather see it transferd to Alfresco

Thanks and happy new year

@lmignon
Copy link
Member

lmignon commented Jan 2, 2019

Helle @vincentlaurent

Alfodoo doesn't provide this kind of functionality by default. We developed some specialized addons to implement this functionality on top of a patched Odoo 10. https://github.com/acsone/alfodoo/tree/10.0-cmis_report_write-jne
The entry point of these addons is the method _postprocess_report https://github.com/acsone/alfodoo/blob/10.0-cmis_report_write-jne/cmis_report_write/models/report.py#L32 (this method is an override of a method called at the end of the report generation process into our patched Odoo acsone/odoo@33666ca)
The code could be easily ported in 12.0 and should no more require to patch odoo since the post process hook is now part of the api https://github.com/acsone/odoo/blob/12.0/odoo/addons/base/models/ir_actions_report.py#L162)

Regards

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

No branches or pull requests

2 participants