<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <data>
        <record id="account_payment_line_create_form" model="ir.ui.view">
            <field name="name">account_payment_line_create.form</field>
            <field name="model">account.payment.line.create</field>
            <field
                name="inherit_id"
                ref="account_payment_order.account_payment_line_create_form"
            />
            <field name="arch" type="xml">
                <xpath expr="//field[@name='due_date']" position="before">
                    <field
                        name="start_date"
                        attrs="{'invisible': [('date_type', '!=', 'due')]}"
                    />
                </xpath>
                <xpath expr="//field[@name='journal_ids']" position="after">
                    <field
                        name="ur_ids"
                        widget="many2many_tags"
                        options="{'no_create': 1, 'no_edit': 1}"
                        placeholder="Laisser vide pour toutes les UR"
                    />
                </xpath>
            </field>
        </record>
    </data>
</odoo>