1. The merge of the "email_template" module into the "mail" module. 2. The send action of the mass mailing has been moved from the frontend to a cron, because it was too slow to send over 10,000 mails (the user's browser was blocked for 15 - 20 minutes). Mass mailings have now their own process in the kanban view. 3. Mails sent from the mail form are sent immediatly instead of from the mail queue (for instance, when you go to sales > customers > list view > select 2 -3 customers > More > Partner Mass Mailing). 4. Users have now the choice from which mailing list they want to unsubscribe when they click on the unsubscribe link at the bottom of the mail. 5. Mass mailings inherit from their campaign UTMs and mass mailing campaigns are linked to an UTM campaign. 6. Many little improvements
61 lines
2.6 KiB
XML
61 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="1">
|
|
<record id="badge_good_job" model="gamification.badge">
|
|
<field name="name">Good Job</field>
|
|
<field name="description">You did great at your job.</field>
|
|
<field name="rule_auth">everyone</field>
|
|
<field name="image" type="base64" file="gamification/static/img/badge_good_job-image.png"/>
|
|
</record>
|
|
|
|
<record id="badge_problem_solver" model="gamification.badge">
|
|
<field name="name">Problem Solver</field>
|
|
<field name="description">No one can solve challenges like you do.</field>
|
|
<field name="rule_auth">everyone</field>
|
|
<field name="image" type="base64" file="gamification/static/img/badge_problem_solver-image.png"/>
|
|
</record>
|
|
|
|
<record id="badge_hidden" model="gamification.badge">
|
|
<field name="name">Hidden</field>
|
|
<field name="description">You have found the hidden badge</field>
|
|
<field name="rule_auth">nobody</field>
|
|
<field name="image" type="base64" file="gamification/static/img/badge_hidden-image.png"/>
|
|
<field name="active" eval="False" />
|
|
</record>
|
|
|
|
<record id="badge_idea" model="gamification.badge">
|
|
<field name="name">Brilliant</field>
|
|
<field name="description">With your brilliant ideas, you are an inspiration to others.</field>
|
|
<field name="rule_auth">everyone</field>
|
|
<field name="rule_max">True</field>
|
|
<field name="rule_max_number">2</field>
|
|
<field name="image" type="base64" file="gamification/static/img/badge_idea-image.png"/>
|
|
</record>
|
|
|
|
<!-- subtype for badge allocation -->
|
|
<record id="mt_badge_granted" model="mail.message.subtype">
|
|
<field name="name">Badge Granted</field>
|
|
<field name="res_model">res.users</field>
|
|
<field name="default" eval="True"/>
|
|
<field name="hidden" eval="True"/>
|
|
<field name="description">Badge Granted</field>
|
|
</record>
|
|
|
|
|
|
<record id="email_template_badge_received" model="mail.template">
|
|
<field name="name">Received Badge</field>
|
|
<field name="body_html"><![CDATA[
|
|
<p>Congratulation, you have received the badge <strong>${object.badge_id.name}</strong> !
|
|
% if object.sender_id
|
|
This badge was granted by <strong>${object.sender_id.name}</strong>.
|
|
% endif
|
|
</p>
|
|
|
|
% if object.comment
|
|
<p><em>${object.comment}</em></p>
|
|
% endif
|
|
]]></field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|