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/snailmail/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/snailmail/wizard/multi_compose_message_views.xml')
| -rw-r--r-- | addons/snailmail/wizard/multi_compose_message_views.xml | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/addons/snailmail/wizard/multi_compose_message_views.xml b/addons/snailmail/wizard/multi_compose_message_views.xml deleted file mode 100644 index 47d595e0685..00000000000 --- a/addons/snailmail/wizard/multi_compose_message_views.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<odoo> - <data> - <record model="ir.ui.view" id="multi_compose_message_inherit_account_wizard_form"> - <field name="name">multi.compose.message.form.inherited.snailmail</field> - <field name="model">multi.compose.message</field> - <field name="inherit_id" ref="account.multi_compose_message_wizard_form"/> - <field name="arch" type="xml"> - <xpath expr="//div[@name='option_email']" position='before'> - <div name="option_letter" class="col-md-12 mb16"> - <div name="option" class="float-left"> - <field name="snailmail_send_by_letter" widget="boolean_toggle"/> - <b><label for="snailmail_send_by_letter"/></b> - </div> - <div class="float-right" name='cost' attrs="{'invisible': [('snailmail_send_by_letter','=',False)]}"> - <field name="currency_id" invisible="1"/> - <b><field name="snailmail_cost" widget='monetary' options="{'currency_field': 'currency_id'}"/></b> - </div> - </div> - <div name="address_form" attrs="{'invisible': [('snailmail_send_by_letter', '=', False)]}"> - <group> - <field string="Delivery Address" name="partner_id" readonly="1" force_save="1" context="{'show_address': 1}" options="{'always_reload': True, 'no_quick_create': True}" /> - </group> - </div> - <div class="col-md-12 mb16" style="border-bottom: 1px solid #e5e5e5;"></div> - </xpath> - <xpath expr="//footer/button[@name='send_and_print_action']" position='attributes'> - <attribute name="attrs">{'invisible': ['|', '|', ('is_log', '=', True), ('printed', '=', True), '|', ('is_print', '=', False), '&', '&', ('is_print', '=', True), ('snailmail_send_by_letter', '=', False), ('is_email', '=', False)]}</attribute> - </xpath> - <xpath expr="//footer/button[@name='send_action']" position='attributes'> - <attribute name="attrs">{'invisible': ['|' , ('is_log', '=', True), '|', ('is_print', '=', True), '&', '&', ('is_print', '=', False), ('snailmail_send_by_letter', '=', False), ('is_email', '=', False)]}</attribute> - </xpath> - <xpath expr="//footer/button[@name='print_action']" position='attributes'> - <attribute name="attrs">{'invisible': ['|', '|', '|', '|', ('printed', '=', True), ('is_log', '=', True), ('is_print', '=', False), ('snailmail_send_by_letter', '=', True), ('is_email', '=', True)]}</attribute> - </xpath> - </field> - </record> - </data> -</odoo> |
