<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright 2024-2025 Nexa Systems Inc.
    License OPL-1 (Odoo Proprietary License v1.0)
    Part of the Fusion Claim Assistant product family.
-->
<odoo>
    <!-- Add Fusion Central fields to Company Form -->
    <record id="view_company_form_fusion_claims" model="ir.ui.view">
        <field name="name">res.company.form.fusion.central</field>
        <field name="model">res.company</field>
        <field name="inherit_id" ref="base.view_company_form"/>
        <field name="arch" type="xml">
            <xpath expr="//notebook" position="inside">
                <page string="Fusion Central" name="fusion_claims">
                    <group string="Store/Location Information">
                        <field name="x_fc_store_address_1" placeholder="e.g., Main Store - 123 Street, City, Province, Postal"/>
                        <field name="x_fc_store_address_2" placeholder="e.g., Second Location - 456 Avenue, City, Province, Postal"/>
                        <field name="x_fc_company_tagline" placeholder="e.g., Your company slogan or tagline"/>
                    </group>
                    <group string="Payment Information">
                        <field name="x_fc_etransfer_email" placeholder="e.g., payments@yourcompany.com"/>
                        <field name="x_fc_cheque_payable_to" placeholder="Defaults to company name if empty"/>
                    </group>
                    <group string="Payment Terms (HTML)">
                        <field name="x_fc_payment_terms_html" nolabel="1" colspan="2"/>
                    </group>
                    <group string="Refund Policy">
                        <field name="x_fc_include_refund_page"/>
                    </group>
                    <group string="Refund Policy Content (HTML)" invisible="not x_fc_include_refund_page">
                        <field name="x_fc_refund_policy_html" nolabel="1" colspan="2"/>
                    </group>
                </page>
            </xpath>
        </field>
    </record>
</odoo>

