summaryrefslogtreecommitdiff
path: root/addons/project_issue/board_project_issue_view.xml
diff options
context:
space:
mode:
authorssu <ssu@ssu-desktop>2011-11-16 11:01:49 +0530
committerssu <ssu@ssu-desktop>2011-11-16 11:01:49 +0530
commit8849e106cc20d35f363ce2a7d7d50e9d3ee02a46 (patch)
tree64c7aff48fc23993a26ca757c6e0f72a63b48509 /addons/project_issue/board_project_issue_view.xml
parent5a0a46cfa862dbdd8a08fca5271af98cf8a8a049 (diff)
[IMP]project_issue : xpath and views are modified by board style and column
bzr revid: ssu@ssu-desktop-20111116053149-gs8cg96p3x9bjiyp
Diffstat (limited to 'addons/project_issue/board_project_issue_view.xml')
-rw-r--r--addons/project_issue/board_project_issue_view.xml34
1 files changed, 14 insertions, 20 deletions
diff --git a/addons/project_issue/board_project_issue_view.xml b/addons/project_issue/board_project_issue_view.xml
index cfe285134a7..ab8476aab09 100644
--- a/addons/project_issue/board_project_issue_view.xml
+++ b/addons/project_issue/board_project_issue_view.xml
@@ -57,22 +57,16 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="My Board">
- <hpaned>
- <child1>
- <action colspan="4" name="%(action_view_current_project_issue_tree)d" string="Current Issues" width="510"/>
- <action colspan="4" name="%(action_view_pending_project_issue_tree)d" string="Pending Issues" width="510"/>
- </child1>
- <child2>
- <vpaned>
- <child1>
- <action colspan="4" name="%(action_project_issue_graph_state)d" string="Issues By State" />
- </child1>
- <child2>
- <action colspan="4" name="%(action_project_issue_graph_stage)d" string="Issues By Stage" />
- </child2>
- </vpaned>
- </child2>
- </hpaned>
+ <board style="1-1">
+ <column>
+ <action name="%(action_view_current_project_issue_tree)d" string="Current Issues"/>
+ <action name="%(action_view_pending_project_issue_tree)d" string="Pending Issues"/>
+ </column>
+ <column>
+ <action name="%(action_project_issue_graph_state)d" string="Issues By State" />
+ <action name="%(action_project_issue_graph_stage)d" string="Issues By Stage" />
+ </column>
+ </board>
</form>
</field>
</record>
@@ -151,11 +145,11 @@
<field name="type">form</field>
<field name="inherit_id" ref="project.board_project_form"/>
<field name="arch" type="xml">
- <xpath expr="/form/hpaned/child1/action[@string='My Delegated Tasks']" position="after">
- <action colspan="4" height="100" name="%(action_view_my_project_issue_tree)d" string="My Issues" />
+ <xpath expr="/form/board/column/action[@string='My Delegated Tasks']" position="after">
+ <action name="%(action_view_my_project_issue_tree)d" string="My Issues"/>
</xpath>
- <xpath expr="/form/hpaned/child2/action[@string='My Remaining Hours by Project']" position="after">
- <action colspan="4" height="100" name="%(action_view_my_open_project_issue_tree)d" string="My Open Issues by Creation Date" />
+ <xpath expr="/form/board/column/action[@string='My Remaining Hours by Project']" position="after">
+ <action name="%(action_view_my_open_project_issue_tree)d" string="My Open Issues by Creation Date"/>
</xpath>
</field>
</record>