Contributors mailing list archives
Re: recurring reportby
Ygol InternetWork, Yves Goldberg
Tnx for the feedback Holger & sorry if I wasn't clear enough.
There is a custom model "consumptions" and I would like to give the user the ability to configure the periodic generation and sending of some specific report to a res_partner defined in the agreement.
The user would click to add a new periodic report. Fill in the settings and select a report to be sent.
----- Original message -----
From: Holger Brunn <firstname.lastname@example.org>
To: Contributors <email@example.com>
Subject: Re: recurring report
Date: Wednesday, June 02, 2021 18:27
> 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
Post to: mailto:firstname.lastname@example.org
recurring reportbyYgol InternetWork, Yves Goldberg
Re: recurring reportbyYgol InternetWork, Yves Goldberg
Re: recurring reportbyHolger Brunn