summaryrefslogtreecommitdiff
path: root/addons/fetchmail_project_issue
diff options
context:
space:
mode:
authorKirti Savalia (OpenERP) <ksa@tinyerp.com>2011-10-10 14:26:18 +0530
committerKirti Savalia (OpenERP) <ksa@tinyerp.com>2011-10-10 14:26:18 +0530
commit2ef34dc37b59eab1008460dba73b4b0daabaec41 (patch)
tree2d81af1eeee9b4a55f098e62623ae240409d6529 /addons/fetchmail_project_issue
parenta225afcb9fd7cb36dac48c6a9bceacdaa2db79ab (diff)
parent4adcbde35274e0ffbd53201ac388d379e330aa08 (diff)
[MERGE]:with latest addons
bzr revid: ksa@tinyerp.com-20111010085618-kbc3r13vqajoq0un
Diffstat (limited to 'addons/fetchmail_project_issue')
-rw-r--r--addons/fetchmail_project_issue/__init__.py20
-rw-r--r--addons/fetchmail_project_issue/__openerp__.py39
-rw-r--r--addons/fetchmail_project_issue/installer.xml18
3 files changed, 77 insertions, 0 deletions
diff --git a/addons/fetchmail_project_issue/__init__.py b/addons/fetchmail_project_issue/__init__.py
new file mode 100644
index 00000000000..5831b3284bb
--- /dev/null
+++ b/addons/fetchmail_project_issue/__init__.py
@@ -0,0 +1,20 @@
+#-*- coding:utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
diff --git a/addons/fetchmail_project_issue/__openerp__.py b/addons/fetchmail_project_issue/__openerp__.py
new file mode 100644
index 00000000000..1165949108a
--- /dev/null
+++ b/addons/fetchmail_project_issue/__openerp__.py
@@ -0,0 +1,39 @@
+#-*- coding:utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Management Solution
+# Copyright (C) 2011 OpenERP S.A. (<http://www.openerp.com>). All Rights Reserved
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+##############################################################################
+
+{
+ "name" : "Fetchmail for Project Issue",
+ "version" : "1.0",
+ "depends" : ["fetchmail", "project_issue"],
+ "author" : "OpenERP SA",
+ "category": 'Hidden/Link',
+ "description": """
+ """,
+ 'website': 'http://www.openerp.com',
+ 'init_xml': [],
+ 'update_xml': [
+ "installer.xml",
+ ],
+ 'demo_xml': [
+ ],
+ 'installable': True,
+ 'active': False,
+}
diff --git a/addons/fetchmail_project_issue/installer.xml b/addons/fetchmail_project_issue/installer.xml
new file mode 100644
index 00000000000..300ffdc22d1
--- /dev/null
+++ b/addons/fetchmail_project_issue/installer.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+ <data>
+ <record model="ir.actions.act_window" id="action_link_issue_to_email_account">
+ <field name="name">Create Issues from Email Account</field>
+ <field name="type">ir.actions.act_window</field>
+ <field name="res_model">fetchmail.server</field>
+ <field name="view_type">form</field>
+ <field name="view_mode">form</field>
+ <field name="context">{'default_name' : "Email Account For Issue", 'fetchmail_model' : 'project.issue'}</field>
+ </record>
+
+ <record model="ir.actions.todo" id="config_wizard_action_link_issue_to_email_account">
+ <field name="action_id" ref="action_link_issue_to_email_account" />
+ <field name="category_id" ref="project.category_project_config" />
+ </record>
+ </data>
+</openerp>