summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue_view.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-04-15 12:34:31 +0200
committerChristophe Matthieu <chm@openerp.com>2013-04-15 12:34:31 +0200
commited4b70dfe33605fde42cccd788bb0f43ffefbec6 (patch)
tree970ec3a89a382a0d2d8182710081206fb815ef4d /addons/project_issue/project_issue_view.xml
parent177f51cb541f6f635d445ca24ce4453d79eb6d39 (diff)
parent53f168daaf989d97a4e514934afc7fe04d21193b (diff)
[MERGE] from trunk
bzr revid: chm@openerp.com-20130415103431-y96fhba0502b6aqc
Diffstat (limited to 'addons/project_issue/project_issue_view.xml')
-rw-r--r--addons/project_issue/project_issue_view.xml28
1 files changed, 24 insertions, 4 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 500a1376422..f888ff9da77 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -302,7 +302,18 @@
<field name="view_type">form</field>
<field name="name">Issues</field>
<field name="view_mode">kanban,tree,form,calendar,graph</field>
- <field name="context">{'search_default_project_id': [active_id], 'default_project_id': active_id}</field>
+ <field name="context">{
+ 'search_default_project_id': [active_id],
+ 'default_project_id': active_id,
+ }
+ </field>
+ <field name="help" type="html">
+ <p>
+ The OpenERP issues tacker allows you to efficiantly manage things
+ like internal requests, software development bugs, customer
+ complaints, project troubles, material breakdowns, etc.
+ </p>
+ </field>
</record>
<!-- Project -->
@@ -324,9 +335,18 @@
<field name="priority" position="before">
<field name="project_escalation_id"/>
</field>
- <field name="alias_domain" position="after">
- <label for="alias_model" class="oe_edit_only" string="creates"/><field name="alias_model" class="oe_edit_only oe_inline"/>
- </field>
+ <xpath expr='//span[@name="edit_alias"]' position='replace'>
+ <span class="oe_edit_only" name="edit_alias">
+ <field name="alias_name" class="oe_inline" attrs="{'required': [('alias_id', '!=', False)]}"/>
+ @
+ <field class="oe_inline" name="alias_domain"/>
+ <span class="oe_inline"
+ attrs="{'invisible': ['|', ('use_issues', '!=', True), ('use_tasks', '!=', True)]}">
+ <label for="alias_model" string="creates"/>
+ <field name="alias_model" class="oe_inline"/>
+ </span>
+ </span>
+ </xpath>
</field>
</record>