<commit_before><openerp>
  <data>

    <record id="credit_control_policy_form" model="ir.ui.view">
      <field name="name">credit.control.policy.form</field>
      <field name="model">credit.control.policy</field>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <form> <!-- editable="bottom" -->
          <field name="name"/>
          <field name="do_nothing"/>
          <field name="company_id"/>
          <notebook  colspan="4">
            <page string="Policy Levels">
              <field name="level_ids" colspan="4" >
                <tree  editable="bottom">
                  <field name="name"/>
                  <field name="level"/>
                  <field name="canal"/>
                  <field name="delay_days"/>
                  <field name="computation_mode"/>
                  <field name="mail_template_id"/>
                </tree>
                <form>
                  <field name="name"/>
                  <notebook colspan="4">
                    <page string="Delay Setting">
                      <field name="level"/>
                      <field name="canal"/>
                      <field name="delay_days"/>
                      <field name="computation_mode"/>
                    </page>
                    <page string="Mail and reporting">
                      <field name="mail_template_id"/>
                      <field name="custom_text"/>
                    </page>
                  </notebook>
                </form>
              </field>
            </page>
          </notebook>
        </form>
      </field>
    </record>

    <record id="credit_control_policy_tree" model="ir.ui.view">
      <field name="name">credit.control.policy.tree</field>
      <field name="model">credit.control.policy</field>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <tree> <!-- editable="bottom" -->
          <field name="name"/>
          <field name="do_nothing"/>
        </tree>
      </field>
    </record>

    <menuitem
        name="Credit Control Configuration"
        parent="account.menu_finance_configuration"
        id="base_credit_control_configuration_menu"/>

    <record model="ir.actions.act_window" id="credit_policy_configuration_action">
      <field name="name">Credit Policies</field>
      <field name="type">ir.actions.act_window</field>
      <field name="res_model">credit.control.policy</field>
      <field name="domain"></field>
      <field name="view_type">form</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" ref="credit_control_policy_tree"/>
    </record>

    <menuitem
        name="Credit Policies"
        parent="base_credit_control_configuration_menu"
        action="credit_policy_configuration_action"
        id="credit_policy_configuration_action_menu"/>

    <record id="credit_mangement_policy_level_form" model="ir.ui.view">
      <field name="name">credit.mangement.policy.level.form</field><commit_msg>[FIX] remove Configuration in menu, we already are in a configuration menu (lp:c2c-addons/6.1  rev 89.1.16)<commit_after><openerp>
  <data>

    <record id="credit_control_policy_form" model="ir.ui.view">
      <field name="name">credit.control.policy.form</field>
      <field name="model">credit.control.policy</field>
      <field name="type">form</field>
      <field name="arch" type="xml">
        <form> <!-- editable="bottom" -->
          <field name="name"/>
          <field name="do_nothing"/>
          <field name="company_id"/>
          <notebook  colspan="4">
            <page string="Policy Levels">
              <field name="level_ids" colspan="4" >
                <tree  editable="bottom">
                  <field name="name"/>
                  <field name="level"/>
                  <field name="canal"/>
                  <field name="delay_days"/>
                  <field name="computation_mode"/>
                  <field name="mail_template_id"/>
                </tree>
                <form>
                  <field name="name"/>
                  <notebook colspan="4">
                    <page string="Delay Setting">
                      <field name="level"/>
                      <field name="canal"/>
                      <field name="delay_days"/>
                      <field name="computation_mode"/>
                    </page>
                    <page string="Mail and reporting">
                      <field name="mail_template_id"/>
                      <field name="custom_text"/>
                    </page>
                  </notebook>
                </form>
              </field>
            </page>
          </notebook>
        </form>
      </field>
    </record>

    <record id="credit_control_policy_tree" model="ir.ui.view">
      <field name="name">credit.control.policy.tree</field>
      <field name="model">credit.control.policy</field>
      <field name="type">tree</field>
      <field name="arch" type="xml">
        <tree> <!-- editable="bottom" -->
          <field name="name"/>
          <field name="do_nothing"/>
        </tree>
      </field>
    </record>

    <menuitem
        name="Credit Control"
        parent="account.menu_finance_configuration"
        id="base_credit_control_configuration_menu"/>

    <record model="ir.actions.act_window" id="credit_policy_configuration_action">
      <field name="name">Credit Policies</field>
      <field name="type">ir.actions.act_window</field>
      <field name="res_model">credit.control.policy</field>
      <field name="domain"></field>
      <field name="view_type">form</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" ref="credit_control_policy_tree"/>
    </record>

    <menuitem
        name="Credit Policies"
        parent="base_credit_control_configuration_menu"
        action="credit_policy_configuration_action"
        id="credit_policy_configuration_action_menu"/>

    <record id="credit_mangement_policy_level_form" model="ir.ui.view">
      <field name="name">credit.mangement.policy.level.form</field>
{'fraction_non_alphanumeric': 0.14601769911504425, 'fraction_numerical': 0.0022943297279580466, 'mean_word_length': 1.9426229508196722, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 167, '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': '1543793', 'n_tokens_mistral': 1747, 'n_tokens_neox': 1641, 'n_words': 286}