2010-04-07 13:20:19 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2010-06-29 13:09:45 +00:00
<record id= "account_report_general_journal_view" model= "ir.ui.view" >
<field name= "name" > Account General Journal</field>
2010-04-07 13:20:19 +00:00
<field name= "model" > account.general.journal</field>
<field name= "type" > form</field>
2010-06-29 13:09:45 +00:00
<field name= "inherit_id" ref= "account_common_report_view" />
2010-04-07 13:20:19 +00:00
<field name= "arch" type= "xml" >
2010-06-29 13:09:45 +00:00
<field name= "fiscalyear_id" position= "after" >
2010-07-14 11:14:16 +00:00
<field name= "amount_currency" />
<newline />
<!-- we don't change the view but have to define a view for this specific object otherelse openerp will try to build a fedault one without using the one from the parent object -->
2010-06-29 13:09:45 +00:00
</field>
2010-04-07 13:20:19 +00:00
</field>
</record>
<record id= "action_account_general_journal" model= "ir.actions.act_window" >
<field name= "name" > Account General Journal</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > account.general.journal</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > form</field>
<field name= "target" > new</field>
2010-06-29 13:09:45 +00:00
<field name= "view_id" ref= "account_report_general_journal_view" />
2010-04-07 13:20:19 +00:00
</record>
2010-06-29 13:09:45 +00:00
<menuitem
name="General Journals"
2010-07-22 16:19:44 +00:00
parent="account.menu_journals_report"
2010-06-29 13:09:45 +00:00
action="action_account_general_journal"
id="menu_account_general_journal"
icon="STOCK_PRINT"/>
2010-07-19 08:38:50 +00:00
2010-06-29 13:09:45 +00:00
</data>
</openerp>