<commit_before><?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record id="view_users_form" model="ir.ui.view">
      <field name="name">res.users.form.firstname</field>
      <field name="model">res.users</field>
      <field name="inherit_id" ref="base.view_users_form"/>
      <field name="arch" type="xml">
        <field name="name" position="attributes">
          <attribute name="readonly">False</attribute>
          <attribute name="required">True</attribute>
        </field>
      </field>
    </record>
  </data>
</openerp><commit_msg>[MRG][IMP] Adapt user form to display first name and last name like partner form<commit_after><?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>

    <!-- Replace name with first name and last name -->
    <record id="view_users_form" model="ir.ui.view">
      <field name="name">res.users.form.firstname</field>
      <field name="model">res.users</field>
      <field name="inherit_id" ref="base.view_users_form"/>
      <field name="arch" type="xml">

        <label for="name" position="replace">
          <label for="firstname" class="oe_edit_only"/>
        </label>

        <field name="name" position="replace">
          <field name="firstname"/>
        </field>

        <label for="login" position="before">
          <label for="lastname" class="oe_edit_only"/>
          <h1><field name="lastname"/></h1>
        </label>

      </field>
    </record>

  </data>
</openerp>
{'fraction_non_alphanumeric': 0.18106995884773663, 'fraction_numerical': 0.0054869684499314125, 'mean_word_length': 3.041551246537396, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 2, '>': 50, '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': '911705', 'n_tokens_mistral': 468, 'n_tokens_neox': 457, 'n_words': 94}