summaryrefslogtreecommitdiff
path: root/addons/account_edi/wizard/account_invoice_send_views.xml
blob: 510cb7f588d1f4bae9efbc014c348e8631564f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <data>
        <record model="ir.ui.view" id="account_invoice_send_inherit_account_wizard_form">
            <!-- Deprecated, the field is now invisible. This view will be removed in future versions. -->
            <field name="name">account.invoice.send.form.inherited.edi</field>
            <field name="model">account.invoice.send</field>
            <field name="inherit_id" ref="account.account_invoice_send_wizard_form"/>
            <field name="arch" type="xml">
                <xpath expr="//div[@name='mail_form']" position='before'>
                    <div name="edi_format_option" invisible='1'>
                        <group>
                            <label for="edi_format_ids"/>
                            <div class="oe_inline">
                                <field name="edi_format_ids"
                                        nolabel="1"
                                        widget="many2many_tags" 
                                        placeholder="You can set default electronic invoicing formats on the journal"/>
                            </div>
                        </group>
                    </div>
                </xpath>
            </field>
        </record>
    </data>
</odoo>