<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <!-- Category Views -->
    <record id="view_category_form" model="ir.ui.view">
        <field name="name">document.page.category.form</field>
        <field name="model">document.page</field>
        <field name="arch" type="xml">
            <form string="Category">
                <sheet>
                    <field name="type" invisible="1" />
                    <h1>
                        <field name="name" placeholder="Name" />
                    </h1>
                    <group>
                        <group>
                            <field
                                name="parent_id"
                                string="Category"
                                context="{'default_type':'category'}"
                            />
                        </group>
                        <group>
                            <field name="write_uid" groups="base.group_no_one" />
                            <field name="write_date" groups="base.group_no_one" />
                            <field name="menu_id" groups="base.group_no_one" />
                        </group>
                    </group>
                    <notebook>
                        <page string="Template" name="template">
                            <field
                                name="template"
                                placeholder="e.g. Once upon a time..."
                            />
                        </page>
                        <page string="Documents" name="documents">
                            <field
                                name="content"
                                widget="html"
                                class="oe_view_only"
                                options='{"safe": True}'
                            />
                        </page>
                    </notebook>
                </sheet>
                <div class="oe_chatter">
                    <field name="message_follower_ids" widget="mail_followers" />
                    <field name="message_ids" widget="mail_thread" />
                </div>
            </form>
        </field>
    </record>
    <record id="view_category_tree" model="ir.ui.view">
        <field name="name">document.page.category.tree</field>
        <field name="model">document.page</field>
        <field name="arch" type="xml">
            <tree string="Categories">
                <field name="name" />
                <field name="parent_id" />
                <field name="create_uid" invisible="1" />
                <field name="write_uid" /><commit_msg>[FIX][13.0] retrive 12.0 behaviours in category creation without content<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<odoo>
    <!-- Category Views -->
    <record id="view_category_form" model="ir.ui.view">
        <field name="name">document.page.category.form</field>
        <field name="model">document.page</field>
        <field name="arch" type="xml">
            <form string="Category">
                <sheet>
                    <field name="type" invisible="1" />
                    <h1>
                        <field name="name" placeholder="Name" />
                    </h1>
                    <group>
                        <group>
                            <field
                                name="parent_id"
                                string="Category"
                                context="{'default_type':'category'}"
                            />
                        </group>
                        <group>
                            <field name="write_uid" groups="base.group_no_one" />
                            <field name="write_date" groups="base.group_no_one" />
                            <field name="menu_id" groups="base.group_no_one" />
                        </group>
                    </group>
                    <notebook>
                        <page string="Template" name="template">
                            <field
                                name="template"
                                placeholder="e.g. Once upon a time..."
                            />
                        </page>
                        <page string="Documents" name="documents">
                            <field
                                name="content"
                                widget="html"
                                class="oe_view_only"
                                options='{"safe": True}'
                                required="0"
                            />
                        </page>
                    </notebook>
                </sheet>
                <div class="oe_chatter">
                    <field name="message_follower_ids" widget="mail_followers" />
                    <field name="message_ids" widget="mail_thread" />
                </div>
            </form>
        </field>
    </record>
    <record id="view_category_tree" model="ir.ui.view">
        <field name="name">document.page.category.tree</field>
        <field name="model">document.page</field>
        <field name="arch" type="xml">
            <tree string="Categories">
                <field name="name" />
                <field name="parent_id" />
                <field name="create_uid" invisible="1" />
                <field name="write_uid" />
{'fraction_non_alphanumeric': 0.12226345083487941, 'fraction_numerical': 0.003896103896103896, 'mean_word_length': 0.9689554419284149, 'pattern_counts': {'":': 2, '<': 107, '<?xml version=': 2, '>': 107, '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': '1553161', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1212, 'n_words': 215}