Board demo stuff

bzr revid: pinky-0f8fd47467e739e67da67cc0974750ac1f744808
This commit is contained in:
pinky 2007-01-02 21:43:11 +00:00
parent 3f8a1c3b6f
commit d1f0543471
8 changed files with 75 additions and 15 deletions

View File

@ -4,7 +4,7 @@
"author":"Tiny",
"category":"Board",
"depends":["account","hr_timesheet_invoice","board","report_account","report_analytic","report_analytic_line"],
"demo_xml":[],
"demo_xml":["board_account_demo.xml"],
"update_xml":["board_account_view.xml"],
"active":False,
"installable":True,

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<terp>
<data noupdate="1">
//
// Administrator shortcut
// Demo user startup menu
//
<record model="ir.ui.view_sc" id="sc_account_dash">
<field name="name">Accounting dashboard</field>
<field name="user_id" ref="base.user_admin"/>
<field name="resource">ir.ui.menu</field>
<field name="sequence">0</field>
<field name="res_id" ref="menu_board_account"/>
</record>
<record model="res.users" id="base.user_demo">
<field name="action_id" ref="open_board_account"/>
</record>
</data>
</terp>

View File

@ -4,7 +4,7 @@
"author":"Tiny",
"category":"Board",
"depends":["project","report_timesheet","board","report_analytic_line"],
"demo_xml":[],
"demo_xml":["board_project_demo.xml"],
"update_xml":["board_project_view.xml"],
"active":False,
"installable":True,

View File

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<terp>
<data noupdate="1">
//
// Administrator shortcut
// Demo user startup menu
//
<record model="ir.ui.view_sc" id="sc_account_dash">
<field name="name">Project dashboard</field>
<field name="user_id" ref="base.user_admin"/>
<field name="resource">ir.ui.menu</field>
<field name="sequence">3</field>
<field name="res_id" ref="menu_board_project"/>
</record>
<record model="res.users" id="base.user_demo">
<field name="action_id" ref="open_board_project"/>
</record>
</data>
</terp>

View File

@ -73,14 +73,8 @@
<action
string="Public notes"
name="%(action_view_board_note_tree)d"
colspan="2"
colspan="4"
height="150"/>
<action
string="Public notes"
name="%(action_view_board_note_tree)d"
colspan="2"
height="150"/>
</child1>
@ -109,7 +103,7 @@
</field>
</record>
<record model="ir.actions.act_window" id="open_board_sales_manager">
<record model="ir.actions.act_window" id="open_board_project">
<field name="name">Dashboard project member</field>
<field name="res_model">board.board</field>
<field name="view_type">form</field>
@ -120,8 +114,9 @@
<menuitem
name="Dashboards/Project member"
action="open_board_sales_manager"
action="open_board_project"
sequence="1"
id="menu_board_sales_manager"/>
</data>
id="menu_board_project"/>
</data>
</terp>

View File

@ -4,7 +4,7 @@
"author":"Tiny",
"category":"Sales dashboard",
"depends":["board","sale", "report_crm", "report_sale"],
"demo_xml":[],
"demo_xml":["board_sale_demo.xml"],
"update_xml":["board_sale_view.xml"],
"active":False,
"installable":True,

View File

@ -0,0 +1,21 @@
<?xml version="1.0"?>
<terp>
<data noupdate="1">
//
// Administrator shortcut
// Demo user startup menu
//
<record model="ir.ui.view_sc" id="sc_sale_dash">
<field name="name">Sales dashboard</field>
<field name="user_id" ref="base.user_admin"/>
<field name="resource">ir.ui.menu</field>
<field name="sequence">1</field>
<field name="res_id" ref="menu_board_sales_manager"/>
</record>
<record model="res.users" id="base.user_demo">
<field name="action_id" ref="open_board_sales_manager"/>
</record>
</data>
</terp>

View File

@ -3,7 +3,7 @@
"version":"1.0",
"author":"Tiny",
"category":"Profile",
"depends":["base", "account", "report_analytic_line" ],
"depends":["base", "account","report_analytic"],
"demo_xml":[],
"update_xml":[],
"active":False,