Browse Source
Merge pull request #70 from guewen/mail_environment-migr
Merge pull request #70 from guewen/mail_environment-migr
Migration of mail_environmentpull/122/head
Pedro M. Baeza
10 years ago
7 changed files with 86 additions and 77 deletions
-
1__unported__/mail_environment/__init__.py
-
27__unported__/mail_environment/mail_view.xml
-
2mail_environment/__init__.py
-
10mail_environment/__openerp__.py
-
99mail_environment/env_mail.py
-
0mail_environment/i18n/mail_environment.pot
-
24mail_environment/mail_view.xml
@ -1 +0,0 @@ |
|||
from . import env_mail |
@ -1,27 +0,0 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<openerp> |
|||
<data> |
|||
<record model="ir.ui.view" id="inherit_fetchmail"> |
|||
<!-- must be unique in this module. --> |
|||
<field name="name">inherit_fetchmail_for_env_support</field> |
|||
<field name="model">fetchmail.server</field> |
|||
<!--parent python entity --> |
|||
<field name="inherit_id" ref="fetchmail.view_email_server_form"/> |
|||
<!-- modulename.view --> |
|||
<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> |
@ -0,0 +1,2 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from . import env_mail |
@ -0,0 +1,24 @@ |
|||
<?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> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue