[IMP]document : view is modified through board style and column

bzr revid: ssu@ssu-desktop-20111114121435-lynm2kz3f5xkmxut
This commit is contained in:
ssu 2011-11-14 17:44:35 +05:30
parent 8e8b74c7b5
commit d9db3850ac
1 changed files with 20 additions and 28 deletions

View File

@ -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>