<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_account_open_closed_fiscalyear" model="ir.ui.view">
            <field name="name">account.open.closed.fiscalyear.form</field>
            <field name="model">account.open.closed.fiscalyear</field>
            <field name="arch" type="xml">
                <form string="Cancel Fiscal Year Opening Entries" version="7.0">
                    <separator string="Cancel Fiscal Year Opening Entries"/>
                    <p class="oe_grey">
This wizard will remove the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year.
                    </p>
                    <group>
                        <field name="fyear_id" domain="[('state','=','draft'), ('end_journal_period_id', '!=', False)]"/>
                    </group>
                    <footer>
                        <button string="Cancel Opening Entries" name="remove_entries" type="object" class="oe_highlight"/>
                        or
                        <button string="Discard" class="oe_link" special="cancel"/>
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_account_open_closed_fiscalyear" model="ir.actions.act_window">
            <field name="name">Cancel Opening Entries</field>
            <field name="res_model">account.open.closed.fiscalyear</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field><commit_msg>[FIX] account: for a given wizard supposed to cancel the opening entries, if to cancel the opening entries of 2012 the user must select the fiscalyear 2011, then the wizard should state 'cancel the closing entries'<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="view_account_open_closed_fiscalyear" model="ir.ui.view">
            <field name="name">account.open.closed.fiscalyear.form</field>
            <field name="model">account.open.closed.fiscalyear</field>
            <field name="arch" type="xml">
                <form string="Cancel Fiscal Year Closing Entries" version="7.0">
                    <separator string="Cancel Fiscal Year Closing Entries"/>
                    <p class="oe_grey">
This wizard will remove the end of year journal entries of selected fiscal year. Note that you can run this wizard many times for the same fiscal year.
                    </p>
                    <group>
                        <field name="fyear_id" domain="[('state','=','draft'), ('end_journal_period_id', '!=', False)]"/>
                    </group>
                    <footer>
                        <button string="Cancel Closing Entries" name="remove_entries" type="object" class="oe_highlight"/>
                        or
                        <button string="Discard" class="oe_link" special="cancel"/>
                    </footer>
                </form>
            </field>
        </record>

        <record id="action_account_open_closed_fiscalyear" model="ir.actions.act_window">
            <field name="name">Cancel Closing Entries</field>
            <field name="res_model">account.open.closed.fiscalyear</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree,form</field>
{'fraction_non_alphanumeric': 0.12607026867434307, 'fraction_numerical': 0.005314437555358724, 'mean_word_length': 2.125461254612546, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '4362770', 'n_tokens_mistral': 929, 'n_tokens_neox': 871, 'n_words': 226}