summaryrefslogtreecommitdiff
path: root/addons/project_issue/project_issue_view.xml
diff options
context:
space:
mode:
authorSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-08-08 10:50:23 +0530
committerSanjay Gohel (Open ERP) <sgo@tinyerp.com>2012-08-08 10:50:23 +0530
commit0e77a7cbda6ea1e7500c42b84f741c5ecbd48a4e (patch)
treeb53aa7bf34f0c84b3bde7ba7b5bbad9d710a9bd2 /addons/project_issue/project_issue_view.xml
parent1da7ac2448a5e29bb43994286d3fbb8d90576d54 (diff)
parentd58b36a8a36dcda196c3ed6d5b7421102ee33547 (diff)
[MERGE]merge with trunk addons
bzr revid: sgo@tinyerp.com-20120808052023-i87gopbxesqwfm0q
Diffstat (limited to 'addons/project_issue/project_issue_view.xml')
-rw-r--r--addons/project_issue/project_issue_view.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml
index 271b665483f..35756a3d70d 100644
--- a/addons/project_issue/project_issue_view.xml
+++ b/addons/project_issue/project_issue_view.xml
@@ -112,10 +112,10 @@
<button name="case_reset" string="Reset to New" type="object"
states="cancelled,done"/>
<button name="stage_previous" string="Previous Stage" type="object"
- states="open,pending" icon="gtk-go-back"
+ states="open,pending"
attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="stage_next" string="Next Stage" type="object"
- states="open,pending" icon="gtk-go-forward"
+ states="open,pending"
attrs="{'invisible': [('stage_id','=', False)]}"/>
<button name="case_cancel" string="Cancel" type="object"
states="draft,open,pending"/>
@@ -133,10 +133,10 @@
</group>
<group>
<field name="priority"/>
- <field name="project_id" required="True" on_change="on_change_project(project_id)"/>
+ <field name="project_id" required="True" on_change="on_change_project(project_id)" context="{'default_use_issues':1}"/>
<label for="task_id"/>
<div>
- <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline"/>
+ <field name="task_id" on_change="onchange_task_id(task_id)" class="oe_inline" context="{'default_project_id':project_id}"/>
<field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}" class="oe_inline"/>
</div>
<field name="categ_ids" widget="many2many_tags"/>
@@ -310,7 +310,7 @@
<t t-if="record.date_deadline.raw_value and record.date_deadline.raw_value lt (new Date())">
<span t-attf-class="oe_kanban_status oe_kaban_status_red"> </span>
</t>
- <img t-att-src="kanban_image('res.users', 'avatar', record.user_id.raw_value[0])" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
+ <img t-att-src="kanban_image('res.users', 'image_small', record.user_id.raw_value[0])" t-att-title="record.user_id.value" width="24" height="24" class="oe_kanban_avatar"/>
</div>
</div>
</div>
@@ -383,7 +383,9 @@
</xpath>
<field name="priority" position="before">
<field name="project_escalation_id"/>
- <field name="reply_to"/>
+ </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>
</field>
</record>