<commit_before><?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 ACSONE SA/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_move_form" model="ir.ui.view">
        <field name="name">account.move.form (in account_move_line_tax_editable)</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='line_ids']/tree/field[@name='name']"
                position="after"
            >
                <field name="is_tax_editable" invisible="1" />
                <field
                    name="tax_line_id"
                    attrs="{'readonly': [('is_tax_editable', '=', False)], 'invisible': [('parent.type', '!=', 'entry')]}"
                />
                <field
                    name="tax_ids"
                    attrs="{'readonly': [('is_tax_editable', '=', False)], 'invisible': [('parent.type', '!=', 'entry')]}"
                    widget="many2many_tags"
                />
            </xpath>
        </field>
    </record>
</odoo><commit_msg>[FIX] account_move_line_tax_editable: * [FIX] Do not hide Originator Tax * [IMP] Add optional hide option to Originator Tax * [FIX] Drop tax_ids field from Journal Item page, as it is already displayed.<commit_after><?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017 <NAME>/NV
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_move_form" model="ir.ui.view">
        <field name="name">account.move.form (in account_move_line_tax_editable)</field>
        <field name="model">account.move</field>
        <field name="inherit_id" ref="account.view_move_form" />
        <field name="arch" type="xml">
            <xpath
                expr="//field[@name='line_ids']/tree/field[@name='name']"
                position="after"
            >
                <field name="is_tax_editable" invisible="1" />
                <field
                    name="tax_line_id"
                    attrs="{'readonly': [('is_tax_editable', '=', False)]}"
                    optional="hide"
                />
            </xpath>
        </field>
    </record>
</odoo>
{'fraction_non_alphanumeric': 0.17298474945533768, 'fraction_numerical': 0.009150326797385621, 'mean_word_length': 2.0531914893617023, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 2, '>': 39, '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': '2398297', 'n_tokens_mistral': 718, 'n_tokens_neox': 684, 'n_words': 125}