|
|
@ -6,17 +6,17 @@ |
|
|
|
<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 name="server" position="attributes"> |
|
|
|
<attribute name="attrs" eval="False"/> |
|
|
|
</field> |
|
|
|
<field name="port" attrs="{'required' : [('type', '!=', 'local')]}" position="replace"> |
|
|
|
<field name="port" /> |
|
|
|
<field name="port" position="attributes"> |
|
|
|
<attribute name="attrs" eval="False"/> |
|
|
|
</field> |
|
|
|
<field name="user" attrs="{'required' : [('type', '!=', 'local')]}" position="replace"> |
|
|
|
<field name="user" /> |
|
|
|
<field name="user" position="attributes"> |
|
|
|
<attribute name="attrs" eval="False"/> |
|
|
|
</field> |
|
|
|
<field name="password" attrs="{'required' : [('type', '!=', 'local')]}" position="replace"> |
|
|
|
<field name="password" /> |
|
|
|
<field name="password" position="attributes"> |
|
|
|
<attribute name="attrs" eval="False"/> |
|
|
|
</field> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|