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

Mailing list generated with a specific template mail #181

Open
wants to merge 2 commits into
base: v5_backport
Choose a base branch
from

Conversation

JSebasGL
Copy link
Contributor

@JSebasGL JSebasGL commented Mar 5, 2025

Objective performance

When selecting a specific Power Email template, a function has been created in the “related” to show the list of emails that have been created from the selected template.

list_generated_emails

list_generated_emails2

Past performance

list_generated_emailsX

@@ -455,7 +455,25 @@
<menuitem name="Sending" id="menu_action_poweremail_sending_tree_company" parent="poweremail.menu_poweremail_company" action="action_poweremail_sending_tree_company" />
<menuitem name="Trash" id="menu_poweremail_trash_company" parent="menu_poweremail_company" action="action_poweremail_trash_tree_company" />
<menuitem name="Error" id="menu_poweremail_error_company" parent="menu_poweremail_company" action="action_poweremail_error_tree_company" />

<!-- LIST THE MAILS GENERATED WITH THE SAME TEMPLATE -->
<record model="ir.actions.act_window" id="link_all_same_templates">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation

@@ -455,7 +455,25 @@
<menuitem name="Sending" id="menu_action_poweremail_sending_tree_company" parent="poweremail.menu_poweremail_company" action="action_poweremail_sending_tree_company" />
<menuitem name="Trash" id="menu_poweremail_trash_company" parent="menu_poweremail_company" action="action_poweremail_trash_tree_company" />
<menuitem name="Error" id="menu_poweremail_error_company" parent="menu_poweremail_company" action="action_poweremail_error_tree_company" />

<!-- LIST THE MAILS GENERATED WITH THE SAME TEMPLATE -->
<record model="ir.actions.act_window" id="link_all_same_templates">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<record model="ir.actions.act_window" id="link_all_same_templates">
<record model="ir.actions.act_window" id="action_template_emails">

</record>
<record id="value_list_same_templates" model="ir.values">
<field name="object" eval="1"/>
<field name="name">List the mails generated with the same template</field>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<field name="name">List the mails generated with the same template</field>
<field name="name">Template emails</field>

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

Successfully merging this pull request may close these issues.

2 participants