diff options
| author | Thibault Delavallée <tde@odoo.com> | 2018-10-26 10:14:17 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2018-11-21 13:27:52 +0000 |
| commit | cb59cb0436bf78fa643d7c6acc4ebaddc83bbb32 (patch) | |
| tree | b353bac94746f3f39a69134aefd30c065f4f5dc0 /addons/survey/wizard/survey_mail_compose_message_views.xml | |
| parent | ebbe0cac038a5fa394a7377a263bf32b4e5038e3 (diff) | |
[REF] survey: rename invitation wizard to better match its business use
Purpose is to have a somehow cleaner name for this wizard as its purpose
is to send invitations. Email and composer are details on how it works.
This commit is linked to task ID 1909804 and PR #28783.
Diffstat (limited to 'addons/survey/wizard/survey_mail_compose_message_views.xml')
| -rw-r--r-- | addons/survey/wizard/survey_mail_compose_message_views.xml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/addons/survey/wizard/survey_mail_compose_message_views.xml b/addons/survey/wizard/survey_mail_compose_message_views.xml deleted file mode 100644 index 515dbd4677a..00000000000 --- a/addons/survey/wizard/survey_mail_compose_message_views.xml +++ /dev/null @@ -1,68 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<odoo> - <data> - - <!-- Replace the default mass-mailing wizard in base with the composition wizard --> - - <!-- Composition form (context['survey_resent_token'], if True, hide share option, emails list and partner_ids) --> - <record model="ir.ui.view" id="survey_email_compose_message"> - <field name="name">survey.mail.compose.message.form</field> - <field name="model">survey.mail.compose.message</field> - <field name="arch" type="xml"> - <form string="Compose Email"> - <group col="2"> - <field name="survey_id" readonly="context.get('default_survey_id')"/> - <field name="public" widget="radio" invisible="context.get('survey_resent_token')" /> - </group> - <group col="1" invisible="context.get('survey_resent_token')" attrs="{'invisible':[('public','in',['email_private', 'email_public_link'])]}" class="oe_survey_email_public"> - <div> - You can share your survey web public link and/or send private invitations to your audience. People can answer once per invitation, and whenever they want with the public web link (in this case, the "Login Required" setting must be disabled). - </div> - <div>Copy, paste and share the web link below to your audience.</div> - <code><field name="public_url"/></code> - <div>Copy and paste the HTML code below to add this web link to any webpage.</div> - <code><field name="public_url_html" /></code> - </group> - <group col="1" attrs="{'invisible':['|',('public','=',False),('public','in',['public_link'])]}"> - <group col="2"> - <field name="partner_ids" - invisible="context.get('survey_resent_token')" - widget="many2many_tags_email" - placeholder="Add existing contacts..." - context="{'force_email':True, 'show_email':True}" /> - <field name="multi_email" - invisible="context.get('survey_resent_token')" - placeholder="Add a list of email of recipients (will not be converted into contacts). Separated by commas, semicolons or newline..."/> - <field name="subject" placeholder="Subject..."/> - </group> - <field name="body" options="{'style-inline': true}"/> - <group col="2"> - <div> - <label for="attachment_ids" /> - <field name="attachment_ids" widget="many2many_binary" /> - </div> - <div class="oe_survey_date_deadline"> - <label for="date_deadline" /> - <field name="date_deadline" /> - </div> - </group> - </group> - <footer attrs="{'invisible':[('public','in',['email_private', 'email_public_link'])]}"> - <button string="Close" class="btn-primary" special="cancel" /> - </footer> - <footer attrs="{'invisible':['|',('public','=',False),('public','in',['public_link'])]}"> - <button string="Send" name="send_mail_action" type="object" class="btn-primary" /> - <button string="Cancel" class="btn-secondary" special="cancel" /> - <group class="oe_right" col="1"> - <div> - Use template - <field name="template_id" nolabel="1"/> - </div> - <button icon="/email_template/static/src/img/email_template_save.png" type="object" name="save_as_template" string="Save as new template" class="oe_link" help="Save as a new template" /> - </group> - </footer> - </form> - </field> - </record> - </data> -</odoo> |
