summaryrefslogtreecommitdiff
path: root/addons/document/board_document_view.xml
diff options
context:
space:
mode:
authorssu <ssu@ssu-desktop>2011-11-14 17:44:35 +0530
committerssu <ssu@ssu-desktop>2011-11-14 17:44:35 +0530
commitd9db3850acdd540e7db59ed5b32e2ce661334f10 (patch)
treee37a4281ee00e7621daf49b35142f4beabb693c8 /addons/document/board_document_view.xml
parent8e8b74c7b5118e33102855add0bd83e04fc0b74b (diff)
[IMP]document : view is modified through board style and column
bzr revid: ssu@ssu-desktop-20111114121435-lynm2kz3f5xkmxut
Diffstat (limited to 'addons/document/board_document_view.xml')
-rw-r--r--addons/document/board_document_view.xml48
1 files changed, 20 insertions, 28 deletions
diff --git a/addons/document/board_document_view.xml b/addons/document/board_document_view.xml
index 8d80b4a1497..471b2966be5 100644
--- a/addons/document/board_document_view.xml
+++ b/addons/document/board_document_view.xml
@@ -7,30 +7,25 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Document board">
- <hpaned position="100">
- <child1>
- <action
- string="New Files"
+ <board style="1-1" >
+ <column>
+ <action string="New Files"
name="%(document.action_view_all_document_tree1)d"
view_mode="tree,form"/>
- <action
- string="File Size by Month"
+ <action string="File Size by Month"
name="%(document.action_view_size_month)d"
view_mode="graph,tree"/>
- </child1>
- <child2>
- <action
- string="Files by Resource Type"
+ </column>
+ <column>
+ <action string="Files by Resource Type"
name="%(document.action_view_document_by_resourcetype_graph)d"
- view_mode="graph,tree"
- />
+ view_mode="graph,tree"/>
- <action
- string="Files by Partner"
+ <action string="Files by Partner"
name="%(document.action_view_files_by_partner)d"
view_mode="graph,tree"/>
- </child2>
- </hpaned>
+ </column>
+ </board>
</form>
</field>
</record>
@@ -70,26 +65,23 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Document board">
- <hpaned position="100">
- <child1>
- <action
- string="Wall of Shame"
+ <board style="1-1">
+ <column>
+ <action string="Wall of Shame"
name="%(document.action_view_wall)d"
view_mode="tree"/>
- </child1>
- <child2>
- <action
- string="Files by Users"
+ </column>
+ <column>
+ <action string="Files by Users"
name="%(document.action_view_user_graph)d"
view_mode="graph,tree"/>
- <action
- string="Files by Month"
+ <action string="Files by Month"
name="%(document.action_view_files_by_month_graph)d"
view_mode="graph,tree"/>
- </child2>
- </hpaned>
+ </column>
+ </board>
</form>
</field>
</record>