diff options
| author | Jay Patel <jpa@odoo.com> | 2015-06-18 16:35:47 +0530 |
|---|---|---|
| committer | David Monjoie <dmo@odoo.com> | 2015-08-13 10:43:31 +0200 |
| commit | c9dbc73fafc5e61180e0a5eac25dc7b5436d5ddb (patch) | |
| tree | 2a63826c81b5fadd1356478a4dae5be54f74342e /addons | |
| parent | 7a9f4ad991893073a9a5f8915bb6fc1918248d94 (diff) | |
[IMP] base,project: project attachments views
- Add nocontent tip in kanban view of project documents and remove create button.
- Hide a lot of noisy fields from attachment form view in technical group.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/project/project.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/project/project.py b/addons/project/project.py index 5cf10db5f29..67af272da85 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -134,6 +134,11 @@ class project(osv.osv): 'view_id': False, 'view_mode': 'kanban,tree,form', 'view_type': 'form', + 'help': _('''<p class="oe_view_nocontent_create"> + Documents are attached to the tasks and issues of your project.</p><p> + Send messages or log internal notes with attachments to link + documents to your project. + </p>'''), 'limit': 80, 'context': "{'default_res_model': '%s','default_res_id': %d}" % (self._name, res_id) } |
