<commit_before><openerp>
  <data noupdate="1">
    <!--Email template -->
    <record id="email_template_credit_control_base" model="email.template">
      <field name="name">Credit Control Email</field>
      <field name="email_from">noreply@localhost</field>
      <field name="subject">Credit Control: (${object.current_policy_level.name or 'n/a'})</field>
      <field name="email_to">${object.get_email() or  ''}</field>
      <field name="model_id" ref="model_credit_control_communication"/>
      <field name="auto_delete" eval="True"/>
      <field name="lang">${object.get_contact_address().lang or 'en_US'}</field>
      <field name="report_template" ref="credit_control_summary"/>
      <field name="body_html"><![CDATA[
      Dear ${object.contact_address.name or ''}
      <br/>
      <br/>
      ${object.current_policy_level.custom_mail_text}
      ]]></field>
    </record>

    <!-- policy no follow -->
    <record model="credit.control.policy"
            id="credit_control_no_follow">
      <field name="name">No follow</field>
      <field name="do_nothing" eval="1"/>
    </record>

    <!-- no follow policy -->
    <record model="credit.control.policy.level"
            id="no_follow_1">
      <field name="name">No follow</field>
      <field name="level" eval="1"/>
      <field name="computation_mode">net_days</field><commit_msg>[FIX][account_credit_control] Replace '/n' with '<br />' in credit control mail template<commit_after><openerp>
  <data noupdate="1">
    <!--Email template -->
    <record id="email_template_credit_control_base" model="email.template">
      <field name="name">Credit Control Email</field>
      <field name="email_from">noreply@localhost</field>
      <field name="subject">Credit Control: (${object.current_policy_level.name or 'n/a'})</field>
      <field name="email_to">${object.get_email() or  ''}</field>
      <field name="model_id" ref="model_credit_control_communication"/>
      <field name="auto_delete" eval="True"/>
      <field name="lang">${object.get_contact_address().lang or 'en_US'}</field>
      <field name="report_template" ref="credit_control_summary"/>
      <field name="body_html"><![CDATA[
      Dear ${object.contact_address.name or ''}
      <br/>
      <br/>
      ${object.current_policy_level.custom_mail_text.replace('\n', '<br>') | safe}
      ]]></field>
    </record>

    <!-- policy no follow -->
    <record model="credit.control.policy"
            id="credit_control_no_follow">
      <field name="name">No follow</field>
      <field name="do_nothing" eval="1"/>
    </record>

    <!-- no follow policy -->
    <record model="credit.control.policy.level"
            id="no_follow_1">
      <field name="name">No follow</field>
      <field name="level" eval="1"/>
      <field name="computation_mode">net_days</field>
{'fraction_non_alphanumeric': 0.1771793054571226, 'fraction_numerical': 0.002834868887313962, 'mean_word_length': 3.5679611650485437, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '7296361', 'n_tokens_mistral': 897, 'n_tokens_neox': 862, 'n_words': 158}