<?xml version="1.0" encoding="utf-8" ?>
<!--Copyright 2013-2017 Agile Business Group sagl
        (<http://www.agilebg.com>)
    Copyright 2021 ForgeFlow S.L. (https://www.forgeflow.com)
    License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
    <record id="view_move_form" model="ir.ui.view">
        <field
            name="name"
        >account.move.form - product_supplierinfo_for_customer_invoice</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field eval="16" name="priority" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='invoice_line_ids']/list/field[@name='product_id']"
                position="after"
            >
                <field name="partner_show_customer_code" column_invisible="True" />
                <field
                    name="product_customer_code"
                    column_invisible="not partner_show_customer_code"
                />
            </xpath>
        </field>
    </record>
</odoo>
