bugfix_removed_too_slow_menu

bzr revid: fp@tinyerp.com-20090126222821-8sn4ly8kde9znk1d
This commit is contained in:
Fabien Pinckaers
2009-01-26 23:28:21 +01:00
parent 27d5afd10f
commit f22da337f0
+53 -63
View File
@@ -33,7 +33,7 @@
<label align="0.0" string="credit(['ACCOUNT_CODE',],fiscalyear)"/>
<label align="1.0" string="Account Balance:"/>
<label align="0.0" string="balance(['ACCOUNT_CODE',],fiscalyear)"/>
<label align="1.0" string="Account Tax Code:"/>
<label align="1.0" string="Account Tax Code:"/>
<label align="0.0" string="tax_code(['ACCOUNT_TAX_CODE',],period)"/>
<label align="1.0" string="Report Amount:"/>
<label align="0.0" string="report('REPORT_CODE')"/>
@@ -155,73 +155,63 @@
<menuitem action="action_account_report_tree_view_other" id="menu_action_account_report_tree_view_other" parent="account_report.menu_action_account_report_tree_view"/>
<record model="ir.ui.view" id="account_report_history_tree">
<field name="name">account.report.history1</field>
<field name="model">account.report.history</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Account Report History">
<field name="period_id"/>
<field name="fiscalyear_id"/>
<field name="name"/>
<field name="val"/>
</tree>
</field>
</record>
<field name="name">account.report.history1</field>
<field name="model">account.report.history</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Account Report History">
<field name="period_id"/>
<field name="fiscalyear_id"/>
<field name="name"/>
<field name="val"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="account_report_history_form">
<field name="name">account.report.history2</field>
<field name="model">account.report.history</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Account Report History">
<field name="period_id" select="2"/>
<field name="fiscalyear_id" select="1"/>
<field name="name" select="1"/>
<field name="val"/>
</form>
</field>
</record>
<record model="ir.ui.view" id="account_report_history_form">
<field name="name">account.report.history2</field>
<field name="model">account.report.history</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Account Report History">
<field name="period_id" select="2"/>
<field name="fiscalyear_id" select="1"/>
<field name="name" select="1"/>
<field name="val"/>
</form>
</field>
</record>
<record model="ir.ui.view" id="account_report_history_graph">
<field name="name">account.report.history3</field>
<field name="model">account.report.history</field>
<field name="type">graph</field>
<field name="arch" type="xml">
<graph string="Account Report History" type="bar">
<field name="period_id"/>
<field name="val" operator="+"/>
<field name="name" group="True"/>
<record model="ir.ui.view" id="account_report_history_graph">
<field name="name">account.report.history3</field>
<field name="model">account.report.history</field>
<field name="type">graph</field>
<field name="arch" type="xml">
<graph string="Account Report History" type="bar">
<field name="period_id"/>
<field name="val" operator="+"/>
<field name="name" group="True"/>
</graph>
</field>
</record>
</graph>
</field>
</record>
<record model="ir.actions.act_window" id="account_report_history_record">
<field name="res_model">account.report.history</field>
<field name="name">All Indicators History</field>
<field name="view_type">form</field>
<field name="view_mode">graph,tree</field>
<field name="view_id" ref="account_report_history_tree"/>
</record>
<act_window
id="account_report_history_record_structure"
name="Indicator history"
res_model="account.report.history"
src_model="account.report.report"
domain="[('name','=', active_id)]"
view_type="form"
view_mode="graph,tree"/>
<menuitem id="menu_account_report_history_record" action="account_report_history_record" parent="account.menu_finance_reporting"/>
<act_window
id="account_report_history_record_structure"
name="Indicator history"
res_model="account.report.history"
src_model="account.report.report"
domain="[('name','=', active_id)]"
view_type="form"
view_mode="graph,tree"/>
<record model="ir.values" id="ir_open_account_history_view">
<field name="key2">tree_but_open</field>
<field name="model">account.report.report</field>
<field name="name">Open account history</field>
<field name="value" eval="'ir.actions.act_window,%d'%account_report_history_record_structure"/>
<field name="object" eval="True"/>
</record>
<record model="ir.values" id="ir_open_account_history_view">
<field name="key2">tree_but_open</field>
<field name="model">account.report.report</field>
<field name="name">Open account history</field>
<field name="value" eval="'ir.actions.act_window,%d'%account_report_history_record_structure"/>
<field name="object" eval="True"/>
</record>
</data>
</openerp>