Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: recurring report

by
Holger Brunn
- 02/06/2021 17:24:42
> From an agreement, manage the generation and sending of monthly or quarterly

> report to a party set in the agreement. Do we have something that could

> help in OCA?

I think that's pretty much standard Odoo: Create a server action of type email 
(https://github.com/OCA/OCB/blob/14.0/addons/mail/models/ir_actions.py#L17), 
create a mail template pointing to your report (https://github.com/OCA/OCB/
blob/14.0/addons/mail/models/mail_template.py#L56), and stick the whole thing 
into an automated action (https://github.com/OCA/OCB/blob/14.0/addons/
base_automation/models/base_automation.py#L39) calling the action based on 
your period.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

Reference