summaryrefslogtreecommitdiff
path: root/addons/fetchmail/fetchmail.py
diff options
context:
space:
mode:
authoruco (OpenERP) <uco@tinyerp.com>2010-11-04 18:51:37 +0530
committeruco (OpenERP) <uco@tinyerp.com>2010-11-04 18:51:37 +0530
commit1b4563ea686afbbe6f5a7bd2a8d74dd66f8655a5 (patch)
tree868c05dc7bf8ecc0909e430333f633a37f70b7c9 /addons/fetchmail/fetchmail.py
parent0aa395f53bd630eeb293d2316d3facce2ff81b33 (diff)
[IMP] fetchmail, mail_gateway: Usability improvements.
bzr revid: uco@tinyerp.com-20101104132137-7g2yxwrwr276hdio
Diffstat (limited to 'addons/fetchmail/fetchmail.py')
-rw-r--r--addons/fetchmail/fetchmail.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/fetchmail/fetchmail.py b/addons/fetchmail/fetchmail.py
index 5b14b6d15ec..77748adf017 100644
--- a/addons/fetchmail/fetchmail.py
+++ b/addons/fetchmail/fetchmail.py
@@ -58,10 +58,11 @@ class email_server(osv.osv):
'password' : fields.char('Password', size=1024, invisible=True, required=True, readonly=True, states={'draft':[('readonly', False)]}),
'note': fields.text('Description'),
'action_id':fields.many2one('ir.actions.server', 'Reply Email', required=False, domain="[('state','=','email')]",
- help="A Email Server Action. It will be run whenever an e-mail is fetched from server."),
+ help="An Email Server Action. It will be run whenever an e-mail is fetched from server."),
'object_id': fields.many2one('ir.model', "Model", required=True, help="OpenObject Model. Generates a record of this model."),
'priority': fields.integer('Server Priority', readonly=True, states={'draft':[('readonly', False)]}, help="Priority between 0 to 10, select define the order of Processing"),
'user_id':fields.many2one('res.users', 'User', required=False),
+ 'message_ids': fields.one2many('mailgate.message', 'server_id', 'Messages', readonly=True),
}
_defaults = {
'state': lambda *a: "draft",