<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <record id="view_account_bank_journal_tree" model="ir.ui.view">
        <field name="name">account.bank.journal.tree</field>
        <field name="model">account.journal</field>
        <field name="inherit_id" ref="account.view_account_journal_tree" />
        <field name="arch" type="xml">
            <field name="company_id" position="after">
                <field name="is_l10n_ro_record" invisible="1" />
                <field name="l10n_ro_print_report" />
            </field>
        </field>
    </record>
    <record id="view_account_bank_journal_form" model="ir.ui.view">
        <field name="name">account.bank.journal.form</field>
        <field name="model">account.journal</field>
        <field name="inherit_id" ref="account.view_account_journal_form" />
        <field name="arch" type="xml">
            <field name="currency_id" position="after">
                <field name="is_l10n_ro_record" invisible="1" />
                <field name="l10n_ro_print_report" readonly="False" />
                <field name="l10n_ro_fiscal_receipt" />
            </field>
            <xpath expr="//group[@name='group_alias_edit']" position="after">
                <field name="is_l10n_ro_record" invisible="1" />
                <group
                    string="Ro Auto Invoicing"
                    id="l10n_ro_auto_invoicing"
                    attrs="{'invisible': [('type','not in',('sale','purchase'))]}"
                >
                    <field name="l10n_ro_sequence_type" />
                    <field name="l10n_ro_partner_id" />
                </group>
            </xpath>
        </field>
    </record>
</odoo>
