diff options
| author | Rémi Rahir <rar@odoo.com> | 2018-08-03 12:21:28 +0200 |
|---|---|---|
| committer | Rémi Rahir <rar@odoo.com> | 2018-08-10 18:41:00 +0200 |
| commit | 53cdd68e7cc9e1494a9a99dcd2fff0cc835eab50 (patch) | |
| tree | 34b9c7837603a3e929b52271381a3a6e5bd17018 /addons/account/wizard/multi_compose_message_views.xml | |
| parent | a07902ffa81443d242167bd8291f1902b43beb2e (diff) | |
[IMP] account,snailmail: support batch calls
- reworked the multi.compose.message model to manage
several documents simultaneously
- Added a letter model for asynchronous processing
- usability improvement of the modal
Diffstat (limited to 'addons/account/wizard/multi_compose_message_views.xml')
| -rw-r--r-- | addons/account/wizard/multi_compose_message_views.xml | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/addons/account/wizard/multi_compose_message_views.xml b/addons/account/wizard/multi_compose_message_views.xml deleted file mode 100644 index bed5b6939e8..00000000000 --- a/addons/account/wizard/multi_compose_message_views.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<odoo> - <data> - <record model="ir.ui.view" id="multi_compose_message_wizard_form"> - <field name="name">multi.compose.message.form</field> - <field name="model">multi.compose.message</field> - <field name="groups_id" eval="[(4,ref('base.group_user'))]"/> - <field name="arch" type="xml"> - <form string="Compose Email & Print"> - <field name="print_attachment_id" invisible="1"/> - <div name="option_print" class="col-md-12 mb16"> - <field name="is_print" widget="boolean_toggle"/> - <b><label for="is_print"/></b> - </div> - <div class="col-md-12 mb16" style="border-bottom: 1px solid #e5e5e5;"></div> - <div name="option_email" class="col-md-12 mb16"> - <field name="is_email" widget="boolean_toggle"/> - <b><label for="is_email"/></b> - </div> - <div name="mail_form" attrs="{'invisible': [('is_email', '=', False)]}"> - <group> - <!-- truly invisible fields for control and options --> - <field name="printed" invisible="1"/> - <field name="model" invisible="1"/> - <field name="res_id" invisible="1"/> - <field name="is_log" invisible="1"/> - <field name="company_id" invisible="1"/> - <!-- visible wizard --> - <label for="partner_ids" string="Recipients" groups="base.group_user"/> - <div groups="base.group_user"> - <span attrs="{'invisible':['|', ('model', '=', False)]}">Followers of the document and</span> - <field name="partner_ids" widget="many2many_tags_email" placeholder="Add contacts to notify..." - context="{'force_email':True, 'show_email':True}"/> - </div> - <field name="subject" placeholder="Subject..." required="True"/> - </group> - <field name="body" options="{'style-inline': true}"/> - <group col="4"> - <field name="attachment_ids" widget="many2many_binary" string="Attach a file" nolabel="1" colspan="2"/> - <field name="template_id" options="{'no_create': True}" - context="{'default_model': model, 'default_body_html': body, 'default_subject': subject}"/> - </group> - </div> - <footer> - <button string="Send & Print" - attrs="{'invisible': ['|', '|', ('is_log', '=', True), ('printed', '=', True), '|', ('is_email', '=', False), ('is_print', '=', False)]}" - name="send_and_print_action" type="object" class="btn-primary o_mail_send"/> - <button string="Send" - attrs="{'invisible': ['|', ('is_print', '=', True), ('is_email', '=', False)]}" - name="send_action" type="object" class="btn-primary o_mail_send"/> - <button string="Print" - attrs="{'invisible': ['|', '|', '|', ('is_log', '=', True), ('printed', '=', True), ('is_print', '=', False), ('is_email', '=', True)]}" - name="print_action" type="object" class="btn-primary o_mail_send"/> - <button string="Done" attrs="{'invisible': [('printed', '=', False)]}" special="cancel" class="btn-primary"/> - <button string="Cancel" class="btn-secondary" special="cancel" /> - <button icon="fa-lg fa-save" type="object" name="save_as_template" string="Save as new template" - attrs="{'invisible': ['|', '|', '|', ('is_log', '=', True), ('printed', '=', True), ('is_email', '=', False)]}" - class="float-right btn-secondary" help="Save as a new template" /> - </footer> - </form> - </field> - </record> - - </data> - -</odoo> |
