Merge lp:~domsense/domsense-agilebg-addons/adding_project_work_description into lp:domsense-agilebg-addons/6.0

Proposed by Davide Corio
Status: Merged
Merged at revision: 14
Proposed branch: lp:~domsense/domsense-agilebg-addons/adding_project_work_description
Merge into: lp:domsense-agilebg-addons/6.0
Diff against target: 168 lines (+140/-0)
5 files modified
project_work_description/__init__.py (+24/-0)
project_work_description/__openerp__.py (+38/-0)
project_work_description/project/__init__.py (+24/-0)
project_work_description/project/project.py (+32/-0)
project_work_description/project/project_view.xml (+22/-0)
To merge this branch: bzr merge lp:~domsense/domsense-agilebg-addons/adding_project_work_description
Reviewer Review Type Date Requested Status
Lorenzo Battistini Approve
Review via email: mp+72200@code.launchpad.net

Description of the change

new module (project_work_description)

To post a comment you must log in.
Revision history for this message
Lorenzo Battistini (elbati) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'project_work_description'
2=== added file 'project_work_description/__init__.py'
3--- project_work_description/__init__.py 1970-01-01 00:00:00 +0000
4+++ project_work_description/__init__.py 2011-08-19 15:17:24 +0000
5@@ -0,0 +1,24 @@
6+# -*- encoding: utf-8 -*-
7+##############################################################################
8+#
9+# Copyright (C) 2011 Agile Business Group sagl (<http://www.agilebg.com>)
10+# Copyright (C) 2011 Domsense srl (<http://www.domsense.com>)
11+# All Rights Reserved
12+# $Id$
13+#
14+# This program is free software: you can redistribute it and/or modify
15+# it under the terms of the GNU Affero General Public License as published by
16+# the Free Software Foundation, either version 3 of the License, or
17+# (at your option) any later version.
18+#
19+# This program is distributed in the hope that it will be useful,
20+# but WITHOUT ANY WARRANTY; without even the implied warranty of
21+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22+# GNU General Public License for more details.
23+#
24+# You should have received a copy of the GNU General Public License
25+# along with this program. If not, see <http://www.gnu.org/licenses/>.
26+#
27+##############################################################################
28+
29+import project
30
31=== added file 'project_work_description/__openerp__.py'
32--- project_work_description/__openerp__.py 1970-01-01 00:00:00 +0000
33+++ project_work_description/__openerp__.py 2011-08-19 15:17:24 +0000
34@@ -0,0 +1,38 @@
35+# -*- encoding: utf-8 -*-
36+##############################################################################
37+#
38+# Copyright (C) 2011 Agile Business Group sagl (<http://www.agilebg.com>)
39+# Copyright (C) 2011 Domsense srl (<http://www.domsense.com>)
40+# All Rights Reserved
41+# $Id$
42+#
43+# This program is free software: you can redistribute it and/or modify
44+# it under the terms of the GNU Affero General Public License as published by
45+# the Free Software Foundation, either version 3 of the License, or
46+# (at your option) any later version.
47+#
48+# This program is distributed in the hope that it will be useful,
49+# but WITHOUT ANY WARRANTY; without even the implied warranty of
50+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51+# GNU General Public License for more details.
52+#
53+# You should have received a copy of the GNU General Public License
54+# along with this program. If not, see <http://www.gnu.org/licenses/>.
55+#
56+##############################################################################
57+{
58+ 'name': 'Project Task Work',
59+ 'version': '0.1',
60+ 'category': 'Generic Modules/Projects & Services',
61+ 'description': """Allow users to easily drop down some notes about what they did
62+""",
63+ 'author': 'Agile Business Group & Domsense',
64+ 'website': 'http://www.agilebg.com',
65+ 'license': 'AGPL-3',
66+ "depends" : ['project'],
67+ "init_xml" : ['project/project_view.xml'],
68+ "update_xml" : [],
69+ "demo_xml" : [],
70+ "active": False,
71+ "installable": True
72+}
73
74=== added directory 'project_work_description/project'
75=== added file 'project_work_description/project/__init__.py'
76--- project_work_description/project/__init__.py 1970-01-01 00:00:00 +0000
77+++ project_work_description/project/__init__.py 2011-08-19 15:17:24 +0000
78@@ -0,0 +1,24 @@
79+# -*- encoding: utf-8 -*-
80+##############################################################################
81+#
82+# Copyright (C) 2011 Agile Business Group sagl (<http://www.agilebg.com>)
83+# Copyright (C) 2011 Domsense srl (<http://www.domsense.com>)
84+# All Rights Reserved
85+# $Id$
86+#
87+# This program is free software: you can redistribute it and/or modify
88+# it under the terms of the GNU Affero General Public License as published by
89+# the Free Software Foundation, either version 3 of the License, or
90+# (at your option) any later version.
91+#
92+# This program is distributed in the hope that it will be useful,
93+# but WITHOUT ANY WARRANTY; without even the implied warranty of
94+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
95+# GNU General Public License for more details.
96+#
97+# You should have received a copy of the GNU General Public License
98+# along with this program. If not, see <http://www.gnu.org/licenses/>.
99+#
100+##############################################################################
101+
102+import project
103\ No newline at end of file
104
105=== added file 'project_work_description/project/project.py'
106--- project_work_description/project/project.py 1970-01-01 00:00:00 +0000
107+++ project_work_description/project/project.py 2011-08-19 15:17:24 +0000
108@@ -0,0 +1,32 @@
109+# -*- encoding: utf-8 -*-
110+##############################################################################
111+#
112+# Copyright (C) 2011 Agile Business Group sagl (<http://www.agilebg.com>)
113+# Copyright (C) 2011 Domsense srl (<http://www.domsense.com>)
114+# All Rights Reserved
115+# $Id$
116+#
117+# This program is free software: you can redistribute it and/or modify
118+# it under the terms of the GNU Affero General Public License as published by
119+# the Free Software Foundation, either version 3 of the License, or
120+# (at your option) any later version.
121+#
122+# This program is distributed in the hope that it will be useful,
123+# but WITHOUT ANY WARRANTY; without even the implied warranty of
124+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
125+# GNU General Public License for more details.
126+#
127+# You should have received a copy of the GNU General Public License
128+# along with this program. If not, see <http://www.gnu.org/licenses/>.
129+##############################################################################
130+
131+from osv import fields, osv
132+
133+class project_task_work(osv.osv):
134+
135+ _inherit = 'project.task.work'
136+ _columns = {
137+ 'name': fields.text('Work summary'),
138+ }
139+
140+project_task_work()
141\ No newline at end of file
142
143=== added file 'project_work_description/project/project_view.xml'
144--- project_work_description/project/project_view.xml 1970-01-01 00:00:00 +0000
145+++ project_work_description/project/project_view.xml 2011-08-19 15:17:24 +0000
146@@ -0,0 +1,22 @@
147+<?xml version="1.0" encoding="UTF-8"?>
148+<openerp>
149+ <data>
150+
151+ <record id="view_task_work_description" model="ir.ui.view">
152+ <field name="name">project.task.work.description</field>
153+ <field name="model">project.task</field>
154+ <field name="inherit_id" ref="project.view_task_form2"/>
155+ <field name="arch" type="xml">
156+ <xpath expr='//tree[@string="Task Work"]' position="replace">
157+ <tree string="Task Work">
158+ <field name="date"/>
159+ <field name="name"/>
160+ <field name="hours" widget="float_time"/>
161+ <field name="user_id"/>
162+ </tree>
163+ </xpath>
164+ </field>
165+ </record>
166+
167+ </data>
168+</openerp>

Subscribers

People subscribed via source and target branches

to status/vote changes: