<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record model="ir.ui.view" id="inherit_fetchmail">
      <field name="name">inherit_fetchmail_for_env_support</field>
      <field name="model">fetchmail.server</field>
      <field name="inherit_id" ref="fetchmail.view_email_server_form"/>
      <field name="arch" type="xml">
        <field name="server"  attrs="{'required' : [('type', '!=', 'local')]}" position="replace">
          <field name="server" />
        </field>
        <field name="port"  attrs="{'required' : [('type', '!=', 'local')]}" position="replace">
          <field name="port" />
        </field>
        <field name="user"  attrs="{'required' : [('type', '!=', 'local')]}" position="replace">
          <field name="user" />
        </field>
        <field name="password"  attrs="{'required' : [('type', '!=', 'local')]}" position="replace">
          <field name="password" />
        </field>
      </field>
    </record>
  </data>
</openerp>

<?xml version="1.0" encoding="utf-8"?>
<openerp>
  <data>
    <record model="ir.ui.view" id="inherit_fetchmail">
      <field name="name">inherit_fetchmail_for_env_support</field>
      <field name="model">fetchmail.server</field>
      <field name="inherit_id" ref="fetchmail.view_email_server_form"/>
      <field name="arch" type="xml">
        <field name="server" position="attributes">
          <attribute name="attrs" eval="False"/>
        </field>
        <field name="port" position="attributes">
          <attribute name="attrs" eval="False"/>
        </field>
        <field name="user" position="attributes">
          <attribute name="attrs" eval="False"/>
        </field>
        <field name="password" position="attributes">
          <attribute name="attrs" eval="False"/>
        </field>
      </field>
    </record>
  </data>
</openerp>

Remove only the attrs attribute instead of redefining the whole field
Remove only the attrs attribute instead of redefining the whole field
