<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <delete model="ir.actions.report.xml" search="[('report_name','=','account.invoice')]" />
		<report
            auto="False"
            id="account_invoices"
            model="account.invoice"
            name="account.account_invoice"
            rml="account_invoice/report/account_print_invoice.rml"
            string="Invoices"
            attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
            attachment_use="True"
            usage="default"
         /> 
     
     <record model="ir.ui.view" id="account_invoice_form">
            <field name="name">account.invoice.form</field>
            <field name="model">account.invoice</field>
            <field name="inherit_id" ref="account.invoice_form"/>
            <field name="arch" type="xml">
            	<xpath expr="//field[@name='discount']" position="before">
                	<field name="base"/>
                </xpath>
                <xpath expr="//field[@name='amount_untaxed']" position="before">
                	<field name="base_total"/>
                </xpath>
            </field>
     </record>      <commit_msg>invoice refund inverted<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <delete model="ir.actions.report.xml" search="[('report_name','=','account.invoice')]" />
		<report
            auto="False"
            id="account_invoices"
            model="account.invoice"
            name="account.account_invoice"
            rml="account_invoice/report/account_print_invoice.rml"
            string="Invoices"
            attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/','')+'.pdf')"
            attachment_use="True"
            usage="default"
         /> 
     
     <record model="ir.ui.view" id="account_invoice_form">
            <field name="name">account.invoice.form</field>
            <field name="model">account.invoice</field>
            <field name="inherit_id" ref="account.invoice_form"/>
            <field name="arch" type="xml">
            	<xpath expr="//field[@name='discount']" position="before">
                	<field name="base"/>
                </xpath>
                <xpath expr="//field[@name='amount_untaxed']" position="before">
                	<field name="base_total"/>
                </xpath>
            </field>
     </record>  
     
     <record id="account.action_invoice_tree3" model="ir.actions.act_window">
            <field name="name">Customer Refunds</field>
            <field name="res_model">account.invoice</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form,calendar,graph</field>
            <field eval="False" name="view_id"/>
            <field name="domain">[('type','=','out_invoice')]</field>
            <field name="context">{'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale_refund'}</field>
            <field name="search_view_id" ref="account.view_account_invoice_filter"/>
            <field name="help" type="html">
              <p class="oe_view_nocontent_create">
                Click to create a customer refund. 
              </p><p>
                A refund is a document that credits an invoice completely or
                partially.
              </p><p>
                Instead of manually creating a customer refund, you
                can generate it directly from the related customer invoice.
              </p>
            </field>
	 </record>   
        
{'fraction_non_alphanumeric': 0.1602864224731479, 'fraction_numerical': 0.0019278435692646654, 'mean_word_length': 2.1095890410958904, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, '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': '370208', 'n_tokens_mistral': 1051, 'n_tokens_neox': 1026, 'n_words': 174}