<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 KMEE (http://www.kmee.com.br/)
    @author <NAME> <<EMAIL>>
    The licence is in the file __openerp__.py
-->
<odoo>

    <record id="l10n_br_account_payment_order_payment_line_form" model="ir.ui.view">
        <field name="name">l10n_br_account_payment_order.payment.line.form</field>
        <field name="model">account.payment.line</field>
        <!-- TODO -  é necessário ? <field name="mode">primary</field>-->
        <field name="inherit_id" ref="account_payment_order.account_payment_line_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='currency_id']" position="after">
                <field name="percent_interest"/>
                <field name="amount_interest"/>
            </xpath>
            <xpath expr="//group[@name='right']" position="after">
                <group name="cnab" string="CNAB">
                    <field name="own_number"/>
                    <field name="document_number"/>
                    <field name="company_title_identification"/>
                    <field name="mov_instruction_code_id"/>
                    <field name="doc_finality_code"/>
                    <field name="ted_finality_code"/>
                    <field name="complementary_finality_code"/>
                    <field name="favored_warning"/>
                </group>
            </xpath>
        </field>
    </record>

</odoo><commit_msg>[REF] Make invisible fields by Payment Type.<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2014 KMEE (http://www.kmee.com.br/)
    @author <NAME> <<EMAIL>>
    The licence is in the file __openerp__.py
-->
<odoo>

    <record id="l10n_br_account_payment_order_payment_line_form" model="ir.ui.view">
        <field name="name">l10n_br_account_payment_order.payment.line.form</field>
        <field name="model">account.payment.line</field>
        <field name="inherit_id" ref="account_payment_order.account_payment_line_form"/>
        <field name="arch" type="xml">
            <xpath expr="//field[@name='currency_id']" position="after">
                <field name="percent_interest"/>
                <field name="amount_interest"/>
            </xpath>
            <xpath expr="//group[@name='right']" position="after">
                <group name="cnab" string="CNAB">
                    <field name="own_number"/>
                    <field name="document_number"/>
                    <field name="company_title_identification"/>
                    <field name="mov_instruction_code_id"/>
                    <field name="doc_finality_code" attrs="{'invisible': [('payment_type', '=', 'inbound')]}"/>
                    <field name="ted_finality_code" attrs="{'invisible': [('payment_type', '=', 'inbound')]}"/>
                    <field name="complementary_finality_code" attrs="{'invisible': [('payment_type', '=', 'inbound')]}"/>
                    <field name="favored_warning"/>
                </group>
            </xpath>
        </field>
    </record>

</odoo>
{'fraction_non_alphanumeric': 0.16273050792623747, 'fraction_numerical': 0.0071174377224199285, 'mean_word_length': 2.306951871657754, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 2, '>': 70, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '2012674', 'n_tokens_mistral': 932, 'n_tokens_neox': 893, 'n_words': 153}