1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 ##############################################################################
6 # account_financial_report_webkit module for OpenERP, Webkit based extended report financial report
7 # Copyright (C)
2012 SYLEAM Info Services ([http://www.syleam.fr/])
8 # Sebastien LANGE [sebastien.lange@syleam.fr]
10 # This file is a part of account_financial_report_webkit
12 # account_financial_report_webkit is free software: you can redistribute it and/or modify
13 # it under the terms of the GNU Affero General Public License as published by
14 # the Free Software Foundation, either version
3 of the License, or
15 # (at your option) any later version.
17 # account_financial_report_webkit is distributed in the hope that it will be useful,
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 # GNU Affero General Public License for more details.
22 # You should have received a copy of the GNU Affero General Public License
23 # along with this program. If not, see [http://www.gnu.org/licenses/].
25 ##############################################################################
27 <record id=
"account_report_print_journal_view_webkit" model=
"ir.ui.view">
28 <field name=
"name">Journals
</field>
29 <field name=
"model">print.journal.webkit
</field>
30 <field name=
"type">form
</field>
31 <field name=
"inherit_id" ref=
"account.account_common_report_view"/>
32 <field name=
"arch" type=
"xml">
34 <xpath expr=
"/form/label[@string='']" position=
"replace">
35 <separator string=
"Journals" colspan=
"4"/>
36 <label nolabel=
"1" colspan=
"4" string=
"This report allows you to print or generate a pdf of your print journal with details of all your account journals"/>
38 <xpath expr=
"//field[@name='target_move']" position=
"after">
39 <field name=
"amount_currency"/>
41 <field name=
"filter" on_change=
"onchange_filter(filter, fiscalyear_id)" colspan=
"4" invisible=
"1"/>
42 <separator string=
"Periods" colspan=
"4"/>
43 <field name=
"period_from" domain=
"[('fiscalyear_id', '=', fiscalyear_id)]" required=
"1" colspan=
"4"/>
44 <field name=
"period_to" domain=
"[('fiscalyear_id', '=', fiscalyear_id)]" required=
"1" colspan=
"4"/>
45 <separator string=
"Journals" colspan=
"4"/>
46 <field name=
"journal_ids" colspan=
"4" nolabel=
"1"/>
48 <xpath expr=
"//page[@name='filters']" position=
"replace">
50 <xpath expr=
"//page[@name='journal_ids']" position=
"replace">
56 <record id=
"account_report_print_journal_view_inherit" model=
"ir.ui.view">
57 <field name=
"name">Journals
</field>
58 <field name=
"model">print.journal.webkit
</field>
59 <field name=
"type">form
</field>
60 <field name=
"inherit_id" ref=
"account.account_report_print_journal"/>
61 <field name=
"arch" type=
"xml">
62 <field name=
"fiscalyear_id" position=
"replace">
63 <field name=
"fiscalyear_id" on_change=
"onchange_fiscalyear(fiscalyear_id)"/>
68 <record id=
"action_account_print_journal_menu_webkit" model=
"ir.actions.act_window">
69 <field name=
"name">Journals
</field>
70 <field name=
"type">ir.actions.act_window
</field>
71 <field name=
"res_model">print.journal.webkit
</field>
72 <field name=
"view_type">form
</field>
73 <field name=
"view_mode">form
</field>
74 <field name=
"view_id" ref=
"account_report_print_journal_view_webkit"/>
75 <field name=
"target">new
</field>
78 <record model=
"ir.values" id=
"action_account_print_journal_values_webkit">
79 <field name=
"model_id" ref=
"account.model_account_account"/>
80 <field name=
"object" eval=
"1"/>
81 <field name=
"name">Journals
</field>
82 <field name=
"key2">client_print_multi
</field>
84 eval=
"'ir.actions.act_window,' +str(ref('action_account_print_journal_menu_webkit'))"/>
85 <field name=
"key">action
</field>
86 <field name=
"model">account.journal.period
</field>