<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <record id="view_move_form_inherit_account_dms_field" model="ir.ui.view">
        <field name="name">view.move.form.inherit.account.dms.field</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field name="arch" type="xml">
            <xpath expr="//notebook" position="inside">
                <page
                    name="documents"
                    string="Documents"
                    attrs="{'invisible': [('id', '=', False)]}"
                >
                    <field name="dms_directory_ids" mode="dms_list" />
                </page>
            </xpath>
        </field>
    </record>
</odoo>
