<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!--
        Analytic Account form

        Remove information on Account data => because they move on analysis sheet
        create a page with invoicing informations
        -->
        <record id="account_analytic_account_invoice_stat_form" model="ir.ui.view">
            <field name="name">account.analytic.account.invoice.stat.form.inherit</field>
            <field name="model">account.analytic.account</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="hr_timesheet_invoice.account_analytic_account_form_form"/>
            <field eval="18" name="priority"/>
            <field name="arch" type="xml">
                <group name="invoice_stats" position="inside">
                    <field name="hours_qtt_non_invoiced" attrs="{'invisible': [('to_invoice','=',0)]}"/>
                    <field name="ca_to_invoice" attrs="{'invisible': [('to_invoice','=',0)]}"/>
                    <label string="" colspan="1"/>
                    <button
                        name="%(hr_timesheet_invoice.action_hr_timesheet_invoice_create_final)d"
                        string="Create Invoice"
                        type="action"
                        attrs="{'readonly':[('ca_to_invoice','=',0.0)], 'invisible': [('to_invoice','=',0)]}"
                        icon="gtk-go-forward"/>
                </group>
            </field>
        </record>

        <record id="hr_timesheet.account_analytic_account_form_form" model="ir.ui.view">
            <field name="name">account.analytic.account.invoice.form.inherit</field>
            <field name="model">account.analytic.account</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.view_account_analytic_account_form"/>
            <field eval="18" name="priority"/>
            <field name="arch" type="xml">
                <notebook position="inside">
                    <page string="Invoice Analysis">
                        <separator colspan="4" string="Work Done Stats"/>

                        <field name="total_cost"/>
                        <field name="remaining_ca"/>
                        <field name="ca_invoiced"/>
                        <field name="ca_theorical"/><commit_msg>[FIX] account_analytic_analysis: we can't create a view of an external module<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>

        <!--
        Analytic Account form

        Remove information on Account data => because they move on analysis sheet
        create a page with invoicing informations
        -->
        <record id="account_analytic_account_invoice_stat_form" model="ir.ui.view">
            <field name="name">account.analytic.account.invoice.stat.form.inherit</field>
            <field name="model">account.analytic.account</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="hr_timesheet_invoice.account_analytic_account_form_form"/>
            <field eval="18" name="priority"/>
            <field name="arch" type="xml">
                <group name="invoice_stats" position="inside">
                    <field name="hours_qtt_non_invoiced" attrs="{'invisible': [('to_invoice','=',0)]}"/>
                    <field name="ca_to_invoice" attrs="{'invisible': [('to_invoice','=',0)]}"/>
                    <label string="" colspan="1"/>
                    <button
                        name="%(hr_timesheet_invoice.action_hr_timesheet_invoice_create_final)d"
                        string="Create Invoice"
                        type="action"
                        attrs="{'readonly':[('ca_to_invoice','=',0.0)], 'invisible': [('to_invoice','=',0)]}"
                        icon="gtk-go-forward"/>
                </group>
            </field>
        </record>

        <record id="account_analytic_account_form_form" model="ir.ui.view">
            <field name="name">account.analytic.account.invoice.form.inherit</field>
            <field name="model">account.analytic.account</field>
            <field name="type">form</field>
            <field name="inherit_id" ref="account.view_account_analytic_account_form"/>
            <field eval="18" name="priority"/>
            <field name="arch" type="xml">
                <notebook position="inside">
                    <page string="Invoice Analysis">
                        <separator colspan="4" string="Work Done Stats"/>

                        <field name="total_cost"/>
                        <field name="remaining_ca"/>
                        <field name="ca_invoiced"/>
                        <field name="ca_theorical"/>
{'fraction_non_alphanumeric': 0.1447285020071836, 'fraction_numerical': 0.005915909571096556, 'mean_word_length': 2.026854219948849, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 2, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7590219', 'n_tokens_mistral': 1349, 'n_tokens_neox': 1236, 'n_words': 219}