1 <?xml version="1.0" encoding="utf-8"?>
6 <record id="view_account_fiscalyear_form" model="ir.ui.view">
7 <field name="name">account.fiscalyear.form</field>
8 <field name="model">account.fiscalyear</field>
9 <field name="arch" type="xml">
10 <form string="Fiscal year" version="7.0">
12 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
13 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
14 <field name="state" widget="statusbar" nolabel="1" />
20 <field name="company_id" groups="base.group_multi_company"/>
21 <field name="end_journal_period_id"/>
24 <field name="date_start"/>
25 <field name="date_stop"/>
28 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
29 <form string="Period" version="7.0">
33 <field name="date_start"/>
34 <field name="date_stop"/>
35 <field name="special"/>
36 <field name="state" invisible="1"/>
43 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
44 <field name="name">account.fiscalyear.tree</field>
45 <field name="model">account.fiscalyear</field>
46 <field name="arch" type="xml">
47 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Fiscalyear">
50 <field name="company_id" groups="base.group_multi_company"/>
55 <record id="view_account_fiscalyear_search" model="ir.ui.view">
56 <field name="name">account.fiscalyear.search</field>
57 <field name="model">account.fiscalyear</field>
58 <field name="arch" type="xml">
59 <search string="Search Fiscalyear">
60 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Fiscal Year"/>
61 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
62 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
64 <group expand="0" string="Group By...">
65 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
70 <record id="action_account_fiscalyear" model="ir.actions.act_window">
71 <field name="name">Fiscal Years</field>
72 <field name="res_model">account.fiscalyear</field>
73 <field name="view_type">form</field>
74 <field name="view_mode">tree,form</field>
75 <field name="help" type="html">
76 <p class="oe_view_nocontent_create">
77 Click to start a new fiscal year.
79 Define your company's financial year according to your needs. A
80 financial year is a period at the end of which a company's
81 accounts are made up (usually 12 months). The financial year is
82 usually referred to by the date in which it ends. For example,
83 if a company's financial year ends November 30, 2011, then
84 everything between December 1, 2010 and November 30, 2011
85 would be referred to as FY 2011.
89 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
90 <menuitem id="menu_action_account_fiscalyear" action="action_account_fiscalyear" parent="next_id_23"/>
93 <record id="view_account_period_form" model="ir.ui.view">
94 <field name="name">account.period.form</field>
95 <field name="model">account.period</field>
96 <field name="arch" type="xml">
97 <form string="Account Period" version="7.0">
99 <button string="Close Period" name="%(account.action_account_period_close)d" type="action" class="oe_highlight" states="draft"/>
100 <button name="action_draft" states="done" string="Re-Open Period" type="object" groups="account.group_account_manager"/>
101 <field name="state" widget="statusbar" nolabel="1"/>
107 <field name="fiscalyear_id" widget="selection"/>
108 <label for="date_start" string="Duration"/>
110 <field name="date_start" class="oe_inline" nolabel="1"/> -
111 <field name="date_stop" nolabel="1" class="oe_inline"/>
116 <field name="special"/>
117 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
124 <record id="view_account_period_tree" model="ir.ui.view">
125 <field name="name">account.period.tree</field>
126 <field name="model">account.period</field>
127 <field name="arch" type="xml">
128 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
131 <field name="date_start"/>
132 <field name="date_stop"/>
133 <field name="special"/>
134 <field name="company_id" groups="base.group_multi_company"/>
135 <field name="state"/>
139 <record id="view_account_period_search" model="ir.ui.view">
140 <field name="name">account.period.search</field>
141 <field name="model">account.period</field>
142 <field name="arch" type="xml">
143 <search string="Search Period">
144 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Period"/>
145 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
149 <record id="action_account_period" model="ir.actions.act_window">
150 <field name="name">Periods</field>
151 <field name="res_model">account.period</field>
152 <field name="view_type">form</field>
153 <field name="view_mode">tree,form</field>
154 <field name="context">{'search_default_draft': 1}</field>
155 <field name="help" type="html">
156 <p class="oe_view_nocontent_create">
157 Click to add a fiscal period.
159 An accounting period typically is a month or a quarter. It
160 usually corresponds to the periods of the tax declaration.
164 <menuitem id="menu_action_account_period" action="action_account_period" parent="account.next_id_23"/>
167 <record id="view_account_form" model="ir.ui.view">
168 <field name="name">account.account.form</field>
169 <field name="model">account.account</field>
170 <field name="arch" type="xml">
171 <form string="Account" version="7.0">
172 <label for="code" class="oe_edit_only" string="Account Code and Name"/>
174 <field name="code" class="oe_inline" placeholder="Account code" style="width: 6em"/> -
175 <field name="name" class="oe_inline" placeholder="Account name"/>
179 <field name="parent_id"/>
181 <field name="user_type"/>
182 <field name="active"/>
183 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
186 <field name="debit" attrs="{'readonly':[('type','=','view')]}"/>
187 <field name="credit" attrs="{'readonly':[('type','=','view')]}"/>
188 <field name="balance"/>
191 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
192 <field name="reconcile"/>
193 <field name="child_consol_ids"
194 attrs="{'invisible':[('type','!=','consolidation')]}"
195 widget="many2many_tags"/>
197 <group groups="base.group_multi_currency">
198 <field name="currency_id"/>
199 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
207 <record id="view_account_list" model="ir.ui.view">
208 <field name="name">account.account.list</field>
209 <field name="model">account.account</field>
210 <field name="field_parent">child_id</field>
211 <field name="arch" type="xml">
212 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
215 <field name="parent_id" invisible="1"/>
216 <field name="user_type" invisible="1"/>
217 <field name="debit"/>
218 <field name="credit"/>
219 <field name="balance"/>
221 <field name="company_id" groups="base.group_multi_company"/>
222 <field name="company_currency_id"/>
226 <record id="view_account_search" model="ir.ui.view">
227 <field name="name">account.account.search</field>
228 <field name="model">account.account</field>
229 <field name="arch" type="xml">
230 <search string="Accounts">
231 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account"/>
232 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
233 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
234 <field name="user_type"/>
235 <group expand="0" string="Group By...">
236 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
237 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
238 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
243 <record id="action_account_form" model="ir.actions.act_window">
244 <field name="name">Accounts</field>
245 <field name="res_model">account.account</field>
246 <field name="view_type">form</field>
247 <field name="view_mode">tree,form,graph</field>
248 <field name="search_view_id" ref="view_account_search"/>
249 <field name="view_id" ref="view_account_list"/>
250 <field name="help" type="html">
251 <p class="oe_view_nocontent_create">
252 Click to add an account.
254 An account is part of a ledger allowing your company
255 to register all kinds of debit and credit transactions.
256 Companies present their annual accounts in two main parts: the
257 balance sheet and the income statement (profit and loss
258 account). The annual accounts of a company are required by law
259 to disclose a certain amount of information.
263 <menuitem id="account_account_menu" name="Accounts" parent="account.menu_finance_configuration" sequence="15"/>
264 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
267 id="act_account_acount_move_line_open_unreconciled"
268 name="Unreconciled Entries"
269 res_model="account.move.line"
270 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
271 src_model="account.account"/>
273 <record id="view_account_tree" model="ir.ui.view">
274 <field name="name">account.account.tree</field>
275 <field name="model">account.account</field>
276 <field name="field_parent">child_id</field>
277 <field name="arch" type="xml">
278 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
281 <field name="debit"/>
282 <field name="credit"/>
283 <field name="balance"/>
284 <field name="company_currency_id"/>
285 <field name="company_id" groups="base.group_multi_company"/>
287 <field name="parent_id" invisible="1"/>
291 <record id="action_account_tree" model="ir.actions.act_window">
292 <field name="name">Chart of Accounts</field>
293 <field name="res_model">account.account</field>
294 <field name="view_type">tree</field>
295 <field name="view_id" ref="view_account_tree"/>
296 <field name="domain">[('parent_id','=',False)]</field>
298 <record id="view_account_gain_loss_tree" model="ir.ui.view">
299 <field name="name">Unrealized Gain or Loss</field>
300 <field name="model">account.account</field>
301 <field name="arch" type="xml">
302 <tree string="Unrealized Gains and losses" create="false">
305 <field name="parent_id" invisible="1"/>
306 <field name="user_type" invisible="1"/>
307 <field name="type" invisible="1"/>
308 <field name="currency_id"/>
309 <field name="exchange_rate"/>
310 <field name="foreign_balance"/>
311 <field name="adjusted_balance"/>
312 <field name="balance"/>
313 <field name="unrealized_gain_loss"/>
317 <record id="action_account_gain_loss" model="ir.actions.act_window">
318 <field name="name">Unrealized Gain or Loss</field>
319 <field name="res_model">account.account</field>
320 <field name="view_type">form</field>
321 <field name="view_mode">tree</field>
322 <field name="view_id" ref="view_account_gain_loss_tree"/>
323 <field name="domain">[('currency_id','!=',False)]</field>
324 <field name="help" type="html">
325 <p class="oe_view_nocontent_create">
326 Click to add an account.
328 When doing multi-currency transactions, you may loose or gain
329 some amount due to changes of exchange rate. This menu gives
330 you a forecast of the Gain or Loss you'd realized if those
331 transactions were ended today. Only for accounts having a
332 secondary currency set.
337 name="Unrealized Gain or Loss"
338 action="action_account_gain_loss"
339 groups="account.group_account_user"
340 id="menu_unrealized_gains_losses"
341 parent="account.menu_multi_currency"/>
344 id="action_move_line_select"
346 context="{'search_default_account_id': [active_id]}"
347 res_model="account.move.line"
348 src_model="account.account"/>
350 <!-- Enable drill-down from Chart Of Accounts tree view -->
352 id="action_account_items"
354 context="{'search_default_account_id': [active_id]}"
355 res_model="account.move.line"
356 src_model="account.account"
357 key2="tree_but_open"/>
359 <!-- Account Journal -->
360 <record id="view_account_journal_tree" model="ir.ui.view">
361 <field name="name">account.journal.tree</field>
362 <field name="model">account.journal</field>
363 <field name="arch" type="xml">
364 <tree string="Account Journal">
368 <field name="user_id"/>
369 <field name="company_id" groups="base.group_multi_company"/>
373 <record id="view_account_journal_search" model="ir.ui.view">
374 <field name="name">account.journal.search</field>
375 <field name="model">account.journal</field>
376 <field name="arch" type="xml">
377 <search string="Search Account Journal">
378 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Journal"/>
379 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
380 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
381 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
382 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
383 <field name="user_id"/>
384 <group expand="0" string="Group By...">
385 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
386 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
391 <record id="view_account_journal_form" model="ir.ui.view">
392 <field name="name">account.journal.form</field>
393 <field name="model">account.journal</field>
394 <field name="arch" type="xml">
395 <form string="Account Journal" version="7.0">
396 <div class="oe_title">
397 <label for="name" class="oe_edit_only"/>
398 <h1><field name="name"/></h1>
406 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
407 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
408 <field name="currency" groups="base.group_multi_currency"/>
409 <field name="company_id" groups="base.group_multi_company"/>
413 <page string="Advanced Settings">
416 <field name="user_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'account.group_account_user']}"/>
417 <field name="sequence_id" required="0"/>
420 <field name="centralisation"/>
421 <field name="entry_posted"/>
422 <field name="allow_date"/>
423 <field name="group_invoice_lines"/>
427 <page string="Entry Controls">
428 <separator colspan="4" string="Accounts Type Allowed (empty for no control)"/>
429 <field colspan="4" name="type_control_ids" nolabel="1"/>
430 <separator colspan="4" string="Accounts Allowed (empty for no control)"/>
431 <field colspan="4" name="account_control_ids" nolabel="1"/>
433 <page string="Cash Registers">
435 <group string="Accounts">
436 <field name="profit_account_id" domain="[('type','!=','view')]"/>
437 <field name="loss_account_id" domain="[('type','!=','view')]"/>
438 <field name="internal_account_id" domain="[('type','!=','view')]"/>
440 <group string="Miscellaneous">
441 <field name="with_last_closing_balance"/>
442 <field name="cash_control" attrs="{'invisible':[('type','not in', ('cash',))]}"/>
445 <separator string="Available Coins" colspan="4" attrs="{'invisible' : ['|',('cash_control', '=', False),('type','not in', ('cash',))] }"/>
446 <field name="cashbox_line_ids" nolabel="1" string="Unit Of Currency Definition" colspan="4" attrs="{'invisible' : ['|',('cash_control', '=', False),('type','not in', ('cash',))]}">
447 <tree string="CashBox Lines" editable="bottom">
448 <field name="pieces" />
456 <record id="action_account_journal_form" model="ir.actions.act_window">
457 <field name="name">Journals</field>
458 <field name="res_model">account.journal</field>
459 <field name="view_type">form</field>
460 <field name="view_mode">tree,form</field>
461 <field name="help" type="html">
462 <p class="oe_view_nocontent_create">
463 Click to add a journal.
465 A journal is used to record transactions of all accounting data
466 related to the day-to-day business.
468 A typical company may use one journal per payment method (cash,
469 bank accounts, checks), one purchase journal, one sale journal
470 and one for miscellaneous information.
474 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
477 id="act_account_journal_2_account_bank_statement"
478 name="Bank statements"
479 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
480 res_model="account.bank.statement"
481 src_model="account.journal"/>
484 id="act_account_journal_2_account_move_line"
486 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
487 res_model="account.move.line"
488 src_model="account.journal"/>
490 <!-- Bank statement -->
491 <record id="view_account_bank_statement_filter" model="ir.ui.view">
492 <field name="name">account.cash.statement.select</field>
493 <field name="model">account.bank.statement</field>
494 <field name="arch" type="xml">
495 <search string="Search Bank Statements">
496 <field name="name" string="Bank Statement"/>
498 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
499 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
500 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
501 <field name="journal_id" domain="[('type', '=', 'cash')]" />
502 <group expand="0" string="Group By...">
503 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
504 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
505 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
511 <record id="view_bank_statement_tree" model="ir.ui.view">
512 <field name="name">account.bank.statement.tree</field>
513 <field name="model">account.bank.statement</field>
514 <field name="arch" type="xml">
515 <tree colors="red:balance_end_real!=balance_end and state=='draft';blue:state=='draft' and (balance_end_real==balance_end);black:state=='confirm'" string="Statement">
518 <field name="period_id"/>
519 <field name="journal_id"/>
520 <field name="balance_start"/>
521 <field name="balance_end_real"/>
522 <field name="balance_end" invisible="1"/>
523 <field name="state"/>
527 <record id="view_bank_statement_search" model="ir.ui.view">
528 <field name="name">account.bank.statement.search</field>
529 <field name="model">account.bank.statement</field>
530 <field name="arch" type="xml">
531 <search string="Search Bank Statements">
532 <field name="name" string="Bank Statement"/>
534 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
535 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
536 <field name="period_id"/>
537 <field name="journal_id" domain="[('type', '=', 'bank')]" />
538 <group expand="0" string="Group By...">
539 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
540 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
541 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
546 <record id="view_bank_statement_form" model="ir.ui.view">
547 <field name="name">account.bank.statement.form</field>
548 <field name="model">account.bank.statement</field>
549 <field name="priority">1</field>
550 <field name="arch" type="xml">
551 <form string="Bank Statement" version="7.0">
553 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_highlight"/>
554 <button name="button_dummy" states="draft" string="Compute" type="object" class="oe_highlight"/>
555 <button name="button_cancel" states="confirm" string="Cancel Statement" type="object"/>
556 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
559 <div class="oe_right oe_button_box" name="import_buttons">
560 <!-- Put here related buttons -->
562 <label for="name" class="oe_edit_only"/>
563 <h1><field name="name"/></h1>
566 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
567 <label for="date" string="Date / Period"/>
569 <field name="date" on_change="onchange_date(date, company_id)" class="oe_inline"/>
570 <field name="period_id" class="oe_inline"/>
572 <field name='company_id' widget="selection" groups="base.group_multi_company" />
573 <field name="currency" invisible="1"/>
575 <field name="balance_start" widget="monetary" options='{"currency_field" : "currency"}'/>
576 <field name="balance_end_real" widget="monetary" options='{"currency_field" : "currency"}'/>
581 <page string="Transactions" name="statement_line_ids">
582 <field name="line_ids" context="{'date':date}">
583 <tree editable="bottom" string="Statement lines">
584 <field name="sequence" readonly="1" invisible="1"/>
588 <field name="partner_id" on_change="onchange_partner_id(partner_id)" domain="[
590 '|',('parent_id','=',False),('is_company','=',True),
591 '|',('customer','=',True),('supplier','=',True)]"/>
592 <field name="type" on_change="onchange_type(partner_id, type)"/>
593 <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]"/>
594 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
595 <field name="amount"/>
597 <form string="Statement lines" version="7.0">
602 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
603 <field name="type" on_change="onchange_type(partner_id, type)"/>
604 <field name="account_id" domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]"/>
605 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
606 <field name="amount"/>
607 <field name="sequence" readonly="0"/>
609 <separator string="Notes"/>
615 <group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total">
616 <div class="oe_subtotal_footer_separator oe_inline">
617 <label for="balance_end" />
619 <field name="balance_end" nolabel="1" class="oe_subtotal_footer_separator" widget='monetary' options="{'currency_field': 'currency_id'}"/>
621 <div class="oe_clear"/>
627 <record id="view_bank_statement_form_journal_items" model="ir.ui.view">
628 <field name="name">account.bank.statement.journal.items.form.inherit</field>
629 <field name="model">account.bank.statement</field>
630 <field name="inherit_id" ref="view_bank_statement_form"/>
631 <field name="arch" type="xml">
632 <xpath expr="//div[@name='import_buttons']" position="inside">
633 <button name="button_journal_entries"
634 string="Journal Items" type="object"
635 attrs="{'invisible':[('state','!=','confirm')]}"/>
640 <record id="action_bank_statement_tree" model="ir.actions.act_window">
641 <field name="name">Bank Statements</field>
642 <field name="res_model">account.bank.statement</field>
643 <field name="view_type">form</field>
644 <field name="view_mode">tree,form,graph</field>
645 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
646 <field name="context">{'journal_type':'bank'}</field>
647 <field name="search_view_id" ref="view_bank_statement_search"/>
648 <field name="help" type="html">
649 <p class="oe_view_nocontent_create">
650 Click to register a bank statement.
652 A bank statement is a summary of all financial transactions
653 occurring over a given period of time on a bank account. You
654 should receive this periodicaly from your bank.
656 OpenERP allows you to reconcile a statement line directly with
657 the related sale or puchase invoices.
661 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
662 <field name="sequence" eval="1"/>
663 <field name="view_mode">tree</field>
664 <field name="view_id" ref="view_bank_statement_tree"/>
665 <field name="act_window_id" ref="action_bank_statement_tree"/>
667 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
668 <field name="sequence" eval="1"/>
669 <field name="view_mode">form</field>
670 <field name="view_id" ref="view_bank_statement_form"/>
671 <field name="act_window_id" ref="action_bank_statement_tree"/>
674 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
676 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
677 <field name="name">Draft statements</field>
678 <field name="res_model">account.bank.statement</field>
679 <field name="view_type">form</field>
680 <field name="view_mode">tree,form</field>
681 <field name="domain">[('state','=','draft')]</field>
682 <field name="filter" eval="True"/>
685 <!-- Account Types -->
686 <record id="view_account_type_search" model="ir.ui.view">
687 <field name="name">account.account.type.search</field>
688 <field name="model">account.account.type</field>
689 <field name="arch" type="xml">
690 <search string="Account Type">
691 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Type"/>
695 <record id="view_account_type_tree" model="ir.ui.view">
696 <field name="name">account.account.type.tree</field>
697 <field name="model">account.account.type</field>
698 <field name="arch" type="xml">
699 <tree string="Account Type">
705 <record id="view_account_type_form" model="ir.ui.view">
706 <field name="name">account.account.type.form</field>
707 <field name="model">account.account.type</field>
708 <field name="arch" type="xml">
709 <form string="Account Type" version="7.0">
716 <field name="report_type"/>
717 <field name="close_method"/>
720 <separator string="Description"/>
725 <record id="action_account_type_form" model="ir.actions.act_window">
726 <field name="name">Account Types</field>
727 <field name="res_model">account.account.type</field>
728 <field name="view_type">form</field>
729 <field name="view_mode">tree,form</field>
730 <field name="search_view_id" ref="view_account_type_search"/>
731 <field name="help" type="html">
732 <p class="oe_view_nocontent_create">
733 Click to define a new account type.
735 An account type is used to determine how an account is used in
736 each journal. The deferral method of an account type determines
737 the process for the annual closing. Reports such as the Balance
738 Sheet and the Profit and Loss report use the category
739 (profit/loss or balance sheet).
743 <menuitem action="action_account_type_form" sequence="20" id="menu_action_account_type_form" parent="account_account_menu" groups="base.group_no_one"/>
746 <record id="view_account_move_tree" model="ir.ui.view">
747 <field name="name">account.move.tree</field>
748 <field name="model">account.move</field>
749 <field name="arch" type="xml">
750 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
754 <field name="period_id"/>
755 <field name="journal_id"/>
756 <field name="partner_id"/>
757 <field name="amount" sum="Total Amount"/>
758 <field name="state"/>
764 <record id="view_move_reconcile_form" model="ir.ui.view">
765 <field name="name">account.move.reconcile.form</field>
766 <field name="model">account.move.reconcile</field>
767 <field name="arch" type="xml">
768 <form string="Journal Entry Reconcile" version="7.0">
771 <field name="create_date"/>
774 <separator string="Reconcile Entries"/>
775 <field name="line_id"/>
776 <separator string="Partial Reconcile Entries"/>
777 <field name="line_partial_ids"/>
783 <record id="view_tax_code_search" model="ir.ui.view">
784 <field name="name">account.tax.code.search</field>
785 <field name="model">account.tax.code</field>
786 <field name="arch" type="xml">
787 <search string="Account Tax Code">
788 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Code"/>
789 <field name="parent_id"/>
790 <field name="company_id" groups="base.group_multi_company"/>
794 <record id="view_tax_code_tree" model="ir.ui.view">
795 <field name="name">account.tax.code.tree</field>
796 <field name="model">account.tax.code</field>
797 <field name="field_parent">child_ids</field>
798 <field name="priority">100</field>
799 <field name="arch" type="xml">
800 <tree string="Account Tax Code" toolbar="1">
803 <field name="sum_period"/>
805 <field name="company_id" groups="base.group_multi_company"/>
809 <record id="view_tax_code_form" model="ir.ui.view">
810 <field name="name">account.tax.code.form</field>
811 <field name="model">account.tax.code</field>
812 <field name="arch" type="xml">
813 <form string="Account Tax Code" version="7.0">
815 <group col="4" colspan="2">
818 <field name="parent_id"/>
819 <field name="company_id" groups="base.group_multi_company"/>
821 <group string="Reporting Configuration">
822 <field name="notprintable"/>
825 <group string="Statistics">
826 <field name="sum_period"/>
830 <separator string="Description"/>
835 <record id="action_tax_code_list" model="ir.actions.act_window">
836 <field name="name">Tax codes</field>
837 <field name="res_model">account.tax.code</field>
838 <field name="view_type">form</field>
839 <field name="view_mode">tree,form</field>
840 <field name="view_id" ref="view_tax_code_tree"/>
841 <field name="search_view_id" ref="view_tax_code_search"/>
842 <field name="help" type="html">
843 <p class="oe_view_nocontent_create">
844 Click to define a new tax code.
846 Depending on the country, a tax code is usually a cell to fill
847 in your legal tax statement. OpenERP allows you to define the
848 tax structure and each tax computation will be registered in
849 one or several tax code.
853 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
854 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
857 id="action_tax_code_line_open"
859 domain="[('tax_code_id','child_of',active_id),('state','<>','draft')]"
860 res_model="account.move.line"
861 src_model="account.tax.code"/>
863 <!-- Enable drill-down from Chart Of Taxes tree view -->
865 id="action_tax_code_items"
867 domain="[('tax_code_id','child_of',active_id),('state','!=','draft')]"
868 res_model="account.move.line"
869 src_model="account.tax.code"
870 key2="tree_but_open"/>
874 <record id="view_tax_tree" model="ir.ui.view">
875 <field name="name">account.tax.tree</field>
876 <field name="model">account.tax</field>
877 <field name="field_parent">child_ids</field>
878 <field name="arch" type="xml">
879 <tree string="Account Tax">
881 <field name="price_include"/>
882 <field name="description"/>
883 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
887 <record id="view_account_tax_search" model="ir.ui.view">
888 <field name="name">account.tax.search</field>
889 <field name="model">account.tax</field>
890 <field name="arch" type="xml">
891 <search string="Search Taxes">
892 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>
893 <field name="company_id" groups="base.group_multi_company"/>
897 <record id="view_tax_form" model="ir.ui.view">
898 <field name="name">account.tax.form</field>
899 <field name="model">account.tax</field>
900 <field name="arch" type="xml">
901 <form string="Account Tax" version="7.0">
905 <field name="description"/>
908 <field name="type_tax_use"/>
909 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
910 <field name="active"/>
914 <page string="Tax Definition">
916 <group string="Tax Computation">
920 <field name="amount" attrs="{'invisible':[('type','in',('none', 'code', 'balance'))]}"/>
922 <field name="python_compute" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
923 <field name="python_compute_inv" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
924 <field name="price_include"/>
926 <group string="Misc">
927 <field name="sequence"/>
928 <field name="include_base_amount"/>
929 <field name="child_depend"/>
931 <group string="Invoices">
932 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
933 <field name="account_analytic_collected_id" domain="[('type','<>','view'), ('company_id', '=', company_id)]" groups="analytic.group_analytic_accounting"/>
935 <field name="base_code_id"/>
936 <field name="base_sign"/>
937 <field name="tax_code_id"/>
938 <field name="tax_sign"/>
941 <group string="Refunds">
942 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
943 <field name="account_analytic_paid_id" domain="[('type','<>','view'), ('company_id', '=', company_id)]" groups="analytic.group_analytic_accounting"/>
945 <field name="ref_base_code_id"/>
946 <field name="ref_base_sign"/>
947 <field name="ref_tax_code_id"/>
948 <field name="ref_tax_sign"/>
950 <group string="Children/Sub Taxes" colspan="2">
951 <field name="child_depend" class="oe_inline"/>
952 <field name="child_ids" nolabel="1" colspan="2">
953 <tree string="Account Tax">
954 <field name="sequence"/>
956 <field name="price_include"/>
957 <field name="description"/>
963 <page string="Special Computation">
965 <separator colspan="4" string="Applicability Options"/>
966 <field name="applicable_type"/>
967 <field name="domain"/>
968 <separator colspan="4" string="Applicable Code (if type=code)"/>
969 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
976 <record id="action_tax_form" model="ir.actions.act_window">
977 <field name="name">Taxes</field>
978 <field name="res_model">account.tax</field>
979 <field name="view_type">form</field>
980 <field name="view_id" ref="view_tax_tree"/>
981 <field name="domain">[('parent_id','=',False)]</field>
983 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
985 <record id="action_tax_code_tree" model="ir.actions.act_window">
986 <field name="name">Chart of Taxes</field>
987 <field name="res_model">account.tax.code</field>
988 <field name="domain">[('parent_id','=',False)]</field>
989 <field name="view_type">tree</field>
990 <field name="view_id" ref="view_tax_code_tree"/>
993 <!-- Journal Items -->
994 <record id="view_move_line_form" model="ir.ui.view">
995 <field name="name">account.move.line.form</field>
996 <field name="model">account.move.line</field>
997 <field eval="2" name="priority"/>
998 <field name="arch" type="xml">
999 <form string="Journal Item" version="7.0">
1003 <field name="name"/>
1005 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1008 <field name="journal_id"/>
1009 <field name="period_id"/>
1010 <field name="company_id" required="1" groups="base.group_multi_company"/>
1013 <notebook colspan="4">
1014 <page string="Information">
1016 <group string="Amount">
1017 <field name="account_id" domain="[('company_id', '=', company_id), ('type','<>','view'), ('type','<>','consolidation')]"/>
1018 <field name="debit"/>
1019 <field name="credit"/>
1020 <field name="quantity"/>
1022 <group string="Accounting Documents">
1023 <field name="invoice" readonly="True"/>
1024 <field name="move_id" required="False"/>
1025 <field name="statement_id" readonly="True"/>
1027 <group string="Dates">
1028 <field name="date"/>
1029 <field name="date_maturity"/>
1030 <field name="date_created" readonly="True"/>
1032 <group string="Taxes">
1033 <field name="tax_code_id"/>
1034 <field name="tax_amount"/>
1035 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1037 <group attrs="{'readonly':[('state','=','valid')]}" string="Currency" groups="base.group_multi_currency">
1038 <field name="currency_id" invisible="1"/>
1039 <field name="amount_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1041 <group string="Reconciliation">
1042 <field name="reconcile_id"/>
1043 <field name="reconcile_partial_id"/>
1045 <group string="States">
1046 <field name="state"/>
1047 <field name="blocked"/>
1049 <group groups="analytic.group_analytic_accounting" string="Analytic">
1050 <field name="analytic_account_id" domain="[('type','in',('normal','contract'))]"/>
1053 <field name="narration" colspan="4" nolabel="1" placeholder="Add an internal note..."/>
1055 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1056 <field name="analytic_lines" context="{'default_general_account_id':account_id, 'default_name': name, 'default_date':date, 'amount': (debit or 0.0)-(credit or 0.0)}"/>
1063 <record id="view_move_line_form2" model="ir.ui.view">
1064 <field name="name">account.move.line.form2</field>
1065 <field name="model">account.move.line</field>
1066 <field eval="9" name="priority"/>
1067 <field name="arch" type="xml">
1068 <form string="Journal Item" version="7.0">
1069 <notebook colspan="4">
1070 <page string="Information">
1072 <separator colspan="4" string="General Information"/>
1073 <field name="name"/>
1074 <field name="date"/>
1075 <field name="journal_id" readonly="False"/>
1076 <field name="period_id" readonly="False"/>
1077 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1078 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1080 <field name="debit"/>
1081 <field name="credit"/>
1083 <separator colspan="4" string="Optional Information"/>
1084 <field name="currency_id" invisible="1"/>
1085 <field name="amount_currency" groups="base.group_multi_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1086 <field name="quantity"/>
1087 <field name="move_id" required="False"/>
1089 <field name="date_maturity"/>
1090 <field name="date_created"/>
1091 <field name="date_created"/>
1092 <field name="blocked"/>
1094 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1095 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1096 <separator colspan="4" string="Status"/>
1098 <field name="reconcile_id"/>
1099 <field name="reconcile_partial_id"/>
1100 <field name="state"/>
1103 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1104 <field name="analytic_lines"/>
1110 <record id="view_move_line_tree" model="ir.ui.view">
1111 <field name="name">account.move.line.tree</field>
1112 <field name="model">account.move.line</field>
1113 <field eval="1" name="priority"/>
1114 <field name="arch" type="xml">
1115 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" version="7.0" editable="top">
1116 <field name="journal_id" options='{"no_open":True}' invisible="context.get('journal_id',False)"/>
1117 <field name="period_id" options='{"no_open":True}' invisible="context.get('period_id',False)"/>
1118 <field name="date"/>
1119 <field name="name"/>
1121 <field name="statement_id" invisible="1"/>
1122 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
1123 <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]" on_change="onchange_account_id(account_id, partner_id, context)"/>
1124 <field name="account_tax_id" options='{"no_open":True}' invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund','general']"/>
1125 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('type','not in',['view','template'])]" invisible="not context.get('analytic_journal_id',False)"/>
1126 <field name="move_id" required="0"/>
1127 <field name="debit" sum="Total Debit"/>
1128 <field name="credit" sum="Total Credit"/>
1129 <field name="date_maturity" invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund']"/>
1130 <field name="reconcile"/>
1131 <field name="invoice" invisible="1"/>
1132 <field name="amount_currency" readonly="True" invisible="not context.get('currency',False)"/>
1133 <field name="currency_id" readonly="True" invisible="not context.get('currency',False)" />
1134 <field name="state" invisible="1"/>
1135 <field name="company_id" invisible="1"/>
1139 <record id="account_move_line_graph" model="ir.ui.view">
1140 <field name="name">account.move.line.graph</field>
1141 <field name="model">account.move.line</field>
1142 <field name="arch" type="xml">
1143 <graph string="Account Statistics" type="bar">
1144 <field name="account_id"/>
1145 <field name="debit" operator="+"/>
1146 <field name="credit" operator="+"/>
1150 <record id="view_account_move_line_filter" model="ir.ui.view">
1151 <field name="name">Journal Items</field>
1152 <field name="model">account.move.line</field>
1153 <field name="arch" type="xml">
1154 <search string="Search Journal Items">
1155 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1156 <field name="date"/>
1157 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1159 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1160 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1162 <filter icon="terp-dolar_ok!" string="Unreconciled" domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items" name="unreconciled"/>
1164 <filter string="Next Partner to Reconcile" help="Next Partner Entries to reconcile" name="next_partner" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="[('account_id.reconcile','=',True),('reconcile_id','=',False)]"/>
1165 <field name="move_id" string="Number (Move)"/>
1166 <field name="account_id"/>
1167 <field name="partner_id"/>
1168 <field name="journal_id" context="{'journal_id':self}" widget="selection"/> <!-- it's important to keep widget='selection' in this filter viewbecause without that the value passed in the context is not the ID but the textual value (name) of the selected journal -->
1169 <field name="period_id" context="{'period_id':self}" widget="selection"/> <!-- it's important to keep the widget='selection' in this field, for the same reason as explained above -->
1170 <group expand="0" string="Group By...">
1171 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1172 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1173 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1174 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1179 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1180 <field name="context">{'journal_type':'general'}</field>
1181 <field name="name">Journal Items</field>
1182 <field name="res_model">account.move.line</field>
1183 <field name="view_id" ref="view_move_line_tree"/>
1184 <field name="view_mode">tree_account_move_line_quickadd,form</field>
1185 <field name="help" type="html">
1186 <p class="oe_view_nocontent_create">
1187 Select the period and the journal you want to fill.
1189 This view can be used by accountants in order to quickly record
1190 entries in OpenERP. If you want to record a supplier invoice,
1191 start by recording the line of the expense account. OpenERP
1192 will propose to you automatically the Tax related to this
1193 account and the counterpart "Account Payable".
1198 action="action_account_moves_all_a"
1199 icon="STOCK_JUSTIFY_FILL"
1200 id="menu_action_account_moves_all"
1201 parent="account.menu_finance_entries"
1203 groups="group_account_user"
1205 <record id="action_account_moves_all_tree" model="ir.actions.act_window">
1206 <field name="name">Journal Items</field>
1207 <field name="res_model">account.move.line</field>
1208 <field name="context">{'search_default_partner_id': [active_id], 'default_partner_id': active_id}</field>
1209 <field name="view_id" ref="view_move_line_tree"/>
1211 <record id="view_move_line_tree_reconcile" model="ir.ui.view">
1212 <field name="model">account.move.line</field>
1213 <field eval="24" name="priority"/>
1214 <field name="type">tree</field>
1215 <field name="arch" type="xml">
1216 <tree_account_reconciliation colors="red:state == 'draft';black:state == 'valid'" string="Journal Items to Reconcile" create="false" version="7.0">
1217 <field name="date"/>
1218 <field name="move_id"/>
1220 <field name="name"/>
1221 <field name="partner_id"/>
1222 <field name="account_id"/>
1223 <field name="period_id" invisible="1"/>
1224 <field name="journal_id" invisible="1"/>
1225 <field name="reconcile_partial_id"/>
1226 <field name="state" invisible="1"/>
1227 <field name="debit" sum="Total debit"/>
1228 <field name="credit" sum="Total credit"/>
1229 </tree_account_reconciliation>
1232 <record id="action_account_manual_reconcile" model="ir.actions.act_window">
1233 <field name="context">{'search_default_unreconciled': 1,'view_mode':True}</field>
1234 <field name="name">Journal Items to Reconcile</field>
1235 <field name="res_model">account.move.line</field>
1236 <field name="view_id" ref="view_move_line_tree_reconcile"/>
1237 <field name="view_mode">tree_account_reconciliation</field>
1238 <field name="help" type="html">
1240 No journal items found.
1245 name="Manual Reconciliation"
1246 action="action_account_manual_reconcile"
1247 id="menu_manual_reconcile"
1248 parent="account.periodical_processing_reconciliation"/>
1250 <!-- Account.Entry Edition -->
1251 <record id="view_move_tree" model="ir.ui.view">
1252 <field name="name">account.move.tree</field>
1253 <field name="model">account.move</field>
1254 <field name="arch" type="xml">
1255 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1256 <field name="name"/>
1258 <field name="date"/>
1259 <field name="period_id"/>
1260 <field name="journal_id"/>
1261 <field name="partner_id"/>
1262 <field name="amount" sum="Total Amount"/>
1263 <field name="to_check"/>
1264 <field name="state"/>
1268 <record id="view_move_form" model="ir.ui.view">
1269 <field name="name">account.move.form</field>
1270 <field name="model">account.move</field>
1271 <field name="arch" type="xml">
1272 <form string="Account Entry" version="7.0">
1274 <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
1275 <button name="button_cancel" states="posted" string="Cancel Entry" type="object" groups="account.group_account_invoice"/>
1276 <field name="state" widget="statusbar"/>
1278 <sheet string="Journal Entries" >
1279 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
1281 <field name="name" readonly="True" attrs="{'invisible':[('name','=','/')]}"/>
1285 <field name="journal_id"/>
1286 <field name="period_id"/>
1287 <field name="company_id" required="1" groups="base.group_multi_company"/>
1288 <field name="partner_id" invisible="1"/>
1292 <field name="date"/>
1293 <field name="to_check"/>
1294 <field name="amount" invisible="1"/>
1298 <page string="Journal Items">
1299 <field name="line_id" widget="one2many_list"
1300 context="{'line_id': line_id , 'journal_id': journal_id }">
1301 <form string="Journal Item" version="7.0">
1302 <group col="6" colspan="4">
1303 <field name="name"/>
1305 <field name="partner_id" on_change="onchange_partner_id(False, partner_id, account_id, debit, credit, date, journal_id, context)"/>
1307 <field name="journal_id"/>
1308 <field name="period_id"/>
1309 <field name="company_id" required="1" groups="base.group_multi_company"/>
1311 <notebook colspan="4">
1312 <page string="Information">
1314 <group string="Amount">
1315 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1316 <field name="debit"/>
1317 <field name="credit"/>
1318 <field name="quantity"/>
1321 <group string="Accounting Documents">
1322 <field name="invoice"/>
1323 <field name="move_id" required="False"/>
1324 <field name="statement_id"/>
1327 <group string="Dates">
1328 <field name="date"/>
1329 <field name="date_maturity"/>
1330 <field name="date_created"/>
1333 <group string="Taxes">
1334 <field name="tax_code_id"/>
1335 <field name="tax_amount"/>
1336 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1339 <group string="Currency" groups="base.group_multi_currency">
1340 <field name="currency_id"/>
1341 <field name="amount_currency"/>
1344 <group string="Reconciliation">
1345 <field name="reconcile_id"/>
1346 <field name="reconcile_partial_id"/>
1349 <group string="States">
1350 <field name="state"/>
1351 <field name="blocked"/>
1354 <group groups="analytic.group_analytic_accounting" string="Analytic">
1355 <field name="analytic_account_id"/>
1358 <separator string="Internal Note"/>
1359 <field name="narration"/>
1361 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1362 <field colspan="4" name="analytic_lines" nolabel="1" context="{'default_general_account_id':account_id, 'default_name': name, 'default_date':date, 'amount': (debit or 0.0)-(credit or 0.0)}"/>
1366 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1367 <field name="invoice"/>
1368 <field name="name"/>
1369 <field name="partner_id" on_change="onchange_partner_id(False, partner_id, account_id, debit, credit, parent.date, parent.journal_id, context)"/>
1370 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1371 <field name="date_maturity"/>
1372 <field name="debit" sum="Total Debit"/>
1373 <field name="credit" sum="Total Credit"/>
1374 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1375 <field name="amount_currency"/>
1376 <field name="currency_id" groups="base.group_multi_currency"/>
1377 <field name="tax_code_id"/>
1378 <field name="tax_amount"/>
1379 <field name="state"/>
1380 <field name="reconcile_id"/>
1381 <field name="reconcile_partial_id"/>
1384 <field name="narration" colspan="4" placeholder="Add an internal note..." nolabel="1" height="50"/>
1391 <record id="view_account_move_filter" model="ir.ui.view">
1392 <field name="name">account.move.select</field>
1393 <field name="model">account.move</field>
1394 <field name="arch" type="xml">
1395 <search string="Search Move">
1396 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1397 <field name="date"/>
1398 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1399 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1401 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1402 <field name="partner_id"/>
1403 <field name="journal_id"/>
1404 <field name="period_id"/>
1405 <group expand="0" string="Group By...">
1406 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1407 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1408 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1409 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1410 <filter string="Entries Month" icon="terp-go-month" domain="[]" context="{'group_by':'date'}" help="Journal Entries by Month"/>
1415 <record id="action_move_journal_line" model="ir.actions.act_window">
1416 <field name="name">Journal Entries</field>
1417 <field name="res_model">account.move</field>
1418 <field name="view_type">form</field>
1419 <field name="view_mode">tree,form</field>
1420 <field name="view_id" ref="view_move_tree"/>
1421 <field name="search_view_id" ref="view_account_move_filter"/>
1422 <field name="help" type="html">
1423 <p class="oe_view_nocontent_create">
1424 Click to create a journal entry.
1426 A journal entry consists of several journal items, each of
1427 which is either a debit or a credit transaction.
1429 OpenERP automatically creates one journal entry per accounting
1430 document: invoice, refund, supplier payment, bank statements,
1431 etc. So, you should record journal entries manually only/mainly
1432 for miscellaneous operations.
1437 icon="STOCK_JUSTIFY_FILL"
1438 action="action_move_journal_line"
1439 id="menu_action_move_journal_line_form"
1440 parent="account.menu_finance_entries"
1441 groups="group_account_user"
1444 <record id="action_move_line_form" model="ir.actions.act_window">
1445 <field name="name">Entries</field>
1446 <field name="type">ir.actions.act_window</field>
1447 <field name="res_model">account.move</field>
1448 <field name="view_type">form</field>
1449 <field name="view_id" ref="view_move_tree"/>
1450 <field name="search_view_id" ref="view_account_move_filter"/>
1454 id="act_account_move_to_account_move_line_open"
1455 name="Journal Items"
1456 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
1457 res_model="account.move.line"
1458 src_model="account.move"/>
1461 domain="[('reconcile_id', '=', active_id)]"
1462 id="act_account_acount_move_line_reconcile_open"
1463 name="Reconciled entries"
1464 res_model="account.move.line"
1465 src_model="account.move.reconcile"/>
1467 <!-- TODO: Print Journal (and change state), Close Journal (and verify that there is no draft Entry Lines) -->
1468 <record id="view_journal_period_tree" model="ir.ui.view">
1469 <field name="name">account.journal.period.tree</field>
1470 <field name="model">account.journal.period</field>
1471 <field name="arch" type="xml">
1472 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1473 <field icon="icon" name="fiscalyear_id"/>
1474 <field name="period_id"/>
1475 <field name="journal_id"/>
1476 <field name="state"/>
1477 <field name="company_id" groups="base.group_multi_company"/>
1481 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1482 <field name="name">Journals</field>
1483 <field name="res_model">account.journal.period</field>
1484 <field name="view_type">tree</field>
1487 <!-- Account Models -->
1488 <record id="view_model_line_tree" model="ir.ui.view">
1489 <field name="name">account.model.line.tree</field>
1490 <field name="model">account.model.line</field>
1491 <field name="arch" type="xml">
1492 <tree string="Journal Entry Model Line" editable="bottom">
1493 <field name="sequence"/>
1494 <field name="name"/>
1495 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1496 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1497 <field name="partner_id"/>
1498 <field name="debit"/>
1499 <field name="credit"/>
1500 <field name="date_maturity"/>
1504 <record id="view_model_line_form" model="ir.ui.view">
1505 <field name="name">account.model.line.form</field>
1506 <field name="model">account.model.line</field>
1507 <field name="arch" type="xml">
1508 <form string="Journal Entry Model Line" version="7.0">
1510 <field colspan="4" name="name"/>
1511 <field name="sequence"/>
1512 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1513 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1514 <field name="partner_id"/>
1515 <field name="debit"/>
1516 <field name="credit"/>
1517 <field name="quantity"/>
1518 <field name="date_maturity"/>
1523 <record id="view_model_form" model="ir.ui.view">
1524 <field name="name">account.model.form</field>
1525 <field name="model">account.model</field>
1526 <field name="arch" type="xml">
1527 <form string="Journal Entry Model" version="7.0">
1529 <field name="name"/>
1530 <field name="journal_id" on_change="onchange_journal_id(journal_id)"/>
1531 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1534 <field name="lines_id" widget="one2many_list"/>
1535 <separator string="Legend"/>
1536 <field name="legend"/>
1537 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1541 <record id="view_model_tree" model="ir.ui.view">
1542 <field name="name">account.model.tree</field>
1543 <field name="model">account.model</field>
1544 <field name="arch" type="xml">
1545 <tree string="Journal Entry Model">
1546 <field name="name"/>
1547 <field name="journal_id"/>
1548 <field name="company_id" groups="base.group_multi_company"/>
1552 <record id="view_model_search" model="ir.ui.view">
1553 <field name="name">account.model.search</field>
1554 <field name="model">account.model</field>
1555 <field name="arch" type="xml">
1556 <search string="Journal Entry Model">
1557 <field name="name" string="Journal Entry Model"/>
1558 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1559 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1560 <field name="journal_id"/>
1561 <field name="company_id" groups="base.group_multi_company"/>
1562 <group expand="0" string="Group By...">
1563 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1569 <record id="action_model_form" model="ir.actions.act_window">
1570 <field name="name">Recurring Models</field>
1571 <field name="res_model">account.model</field>
1572 <field name="view_type">form</field>
1573 <field name="view_mode">tree,form</field>
1574 <field name="search_view_id" ref="view_model_search"/>
1577 action="action_model_form" name="Models" id="menu_action_model_form" sequence="5"
1578 parent="account.menu_finance_recurrent_entries"/>
1580 <!-- Payment Terms -->
1581 <record id="view_payment_term_line_tree" model="ir.ui.view">
1582 <field name="name">account.payment.term.line.tree</field>
1583 <field name="model">account.payment.term.line</field>
1584 <field name="arch" type="xml">
1585 <tree string="Payment Term">
1586 <field name="value"/>
1587 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1588 <field name="days"/>
1589 <field name="days2"/>
1593 <record id="view_payment_term_line_form" model="ir.ui.view">
1594 <field name="name">account.payment.term.line.form</field>
1595 <field name="model">account.payment.term.line</field>
1596 <field name="arch" type="xml">
1597 <form string="Payment Term" version="7.0">
1599 <group string="Amount Computation">
1600 <field name="value"/>
1601 <label for="value_amount" string="Amount To Pay" attrs="{'invisible':[('value','=','balance')]}"/>
1602 <div attrs="{'invisible':[('value','=','balance')]}">
1603 <field name="value_amount" class="oe_inline"/>
1604 <label string="%%" class="oe_inline" attrs="{'invisible':['!',('value','=','procent')]}" />
1607 <group string="Due Date Computation">
1608 <field name="days"/>
1609 <field name="days2"/>
1615 <record id="view_payment_term_search" model="ir.ui.view">
1616 <field name="name">account.payment.term.search</field>
1617 <field name="model">account.payment.term</field>
1618 <field name="arch" type="xml">
1619 <search string="Payment Term">
1620 <field name="name" string="Payment Term"/>
1621 <field name="active"/>
1625 <record id="view_payment_term_form" model="ir.ui.view">
1626 <field name="name">account.payment.term.form</field>
1627 <field name="model">account.payment.term</field>
1628 <field name="arch" type="xml">
1629 <form string="Payment Term" version="7.0">
1631 <field name="name"/>
1632 <field name="active"/>
1634 <field name="note" placeholder="Payment term explanation for the customer..."/>
1635 <separator string="Computation"/>
1636 <field name="line_ids"/>
1640 <record id="action_payment_term_form" model="ir.actions.act_window">
1641 <field name="name">Payment Terms</field>
1642 <field name="res_model">account.payment.term</field>
1643 <field name="view_type">form</field>
1644 <field name="view_mode">tree,form</field>
1645 <field name="search_view_id" ref="view_payment_term_search"/>
1647 <menuitem action="action_payment_term_form"
1648 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1650 <!-- Account Subscriptions -->
1651 <record id="view_subscription_line_form" model="ir.ui.view">
1652 <field name="name">account.subscription.line.form</field>
1653 <field name="model">account.subscription.line</field>
1654 <field name="arch" type="xml">
1655 <form string="Subscription lines" version="7.0">
1657 <field name="date"/>
1658 <field name="move_id"/>
1663 <record id="view_subscription_line_tree" model="ir.ui.view">
1664 <field name="name">account.subscription.line.tree</field>
1665 <field name="model">account.subscription.line</field>
1666 <field name="arch" type="xml">
1667 <tree string="Subscription lines">
1668 <field name="date"/>
1669 <field name="move_id"/>
1673 <record id="view_subscription_tree" model="ir.ui.view">
1674 <field name="name">account.subscription.tree</field>
1675 <field name="model">account.subscription</field>
1676 <field name="arch" type="xml">
1677 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1678 <field name="name"/>
1679 <field name="model_id"/>
1681 <field name="date_start"/>
1682 <field name="state"/>
1686 <record id="view_subscription_search" model="ir.ui.view">
1687 <field name="name">account.subscription.search</field>
1688 <field name="model">account.subscription</field>
1689 <field name="arch" type="xml">
1690 <search string="Entry Subscription">
1691 <field name="name" string="Account Subscription"/>
1692 <field name="date_start"/>
1693 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1694 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1695 <field name="model_id"/>
1696 <group expand="0" string="Group By...">
1697 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1698 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1703 <record id="view_subscription_form" model="ir.ui.view">
1704 <field name="name">account.subscription.form</field>
1705 <field name="model">account.subscription</field>
1706 <field name="arch" type="xml">
1707 <form string="Recurring" version="7.0">
1709 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1710 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_highlight"/>
1711 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_highlight"/>
1712 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1717 <field name="name"/>
1718 <field name="model_id"/>
1722 <field name="date_start"/>
1723 <field name="period_type"/>
1724 <field name="period_nbr"/>
1725 <field name="period_total"/>
1728 <separator string="Subscription Lines"/>
1729 <field name="lines_id" widget="one2many_list"/>
1734 <record id="action_subscription_form" model="ir.actions.act_window">
1735 <field name="name">Recurring Lines</field>
1736 <field name="res_model">account.subscription</field>
1737 <field name="view_type">form</field>
1738 <field name="view_mode">tree,form</field>
1739 <field name="search_view_id" ref="view_subscription_search"/>
1740 <field name="help" type="html">
1741 <p class="oe_view_nocontent_create">
1742 Click to define a new recurring entry.
1744 A recurring entry occurs on a recurrent basis from a specific
1745 date, i.e. corresponding to the signature of a contract or an
1746 agreement with a customer or a supplier. You can create such
1747 entries to automate the postings in the system.
1752 name="Define Recurring Entries" action="action_subscription_form"
1753 id="menu_action_subscription_form" sequence="1"
1754 parent="account.menu_finance_recurrent_entries"/>
1756 <record id="action_subscription_form_running" model="ir.actions.act_window">
1757 <field name="name">Running Subscriptions</field>
1758 <field name="res_model">account.subscription</field>
1759 <field name="view_type">form</field>
1760 <field name="view_mode">tree,form</field>
1761 <field name="domain">[('state','=','running')]</field>
1762 <field name="filter" eval="True"/>
1765 <record id="action_subscription_form_new" model="ir.actions.act_window">
1766 <field name="name">New Subscription</field>
1767 <field name="res_model">account.subscription</field>
1768 <field name="view_type">form</field>
1769 <field name="view_mode">form,tree</field>
1770 <field name="view_id" ref="view_subscription_form"/>
1773 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1774 <field name="name">account.subscription.line.form</field>
1775 <field name="model">account.subscription.line</field>
1776 <field eval="20" name="priority"/>
1777 <field name="arch" type="xml">
1778 <form string="Subscription lines" version="7.0">
1780 <field name="subscription_id"/>
1781 <field name="date"/>
1782 <field name="move_id"/>
1788 <!-- Account Templates -->
1790 id="account_template_folder"
1792 parent="account_account_menu"
1793 groups="account.group_account_manager"/>
1795 id="account_template_taxes"
1797 parent="account_template_folder"
1800 id="account_template_accounts"
1802 parent="account_template_folder"
1805 <record id="view_account_template_form" model="ir.ui.view">
1806 <field name="name">account.account.template.form</field>
1807 <field name="model">account.account.template</field>
1808 <field name="arch" type="xml">
1809 <form string="Account Template" version="7.0">
1811 <field name="name"/>
1812 <field name="code"/>
1814 <field name="parent_id"/>
1815 <field name="shortcut"/>
1816 <field name="type"/>
1817 <field name="user_type"/>
1819 <field name="currency_id" groups="base.group_multi_currency"/>
1820 <field name="reconcile"/>
1821 <field name="chart_template_id"/>
1823 <separator string="Default Taxes"/>
1824 <field name="tax_ids"/>
1825 <separator string="Notes"/>
1826 <field name="note" placeholder="Internal notes..."/>
1830 <record id="view_account_template_tree" model="ir.ui.view">
1831 <field name="name">account.account.template.tree</field>
1832 <field name="model">account.account.template</field>
1833 <field name="arch" type="xml">
1834 <tree string="Account Template">
1835 <field name="code"/>
1836 <field name="name"/>
1837 <field name="type" invisible="1"/>
1838 <field name="user_type" invisible="1"/>
1842 <record id="view_account_template_search" model="ir.ui.view">
1843 <field name="name">account.account.template.search</field>
1844 <field name="model">account.account.template</field>
1845 <field name="arch" type="xml">
1846 <search string="Search Account Templates">
1847 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Template"/>
1848 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
1849 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
1850 <field name="parent_id"/>
1851 <field name="user_type"/>
1852 <field name="type"/>
1853 <group expand="0" string="Group By...">
1854 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
1855 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
1860 <record id="action_account_template_form" model="ir.actions.act_window">
1861 <field name="name">Account Templates</field>
1862 <field name="res_model">account.account.template</field>
1863 <field name="view_type">form</field>
1864 <field name="view_mode">tree,form</field>
1865 <field name="search_view_id" ref="view_account_template_search"/>
1867 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
1869 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
1870 <field name="name">Create Account</field>
1871 <field name="model">account.addtmpl.wizard</field>
1872 <field name="arch" type="xml">
1873 <form string="Create Account" version="7.0">
1875 <button icon="gtk-ok" name="action_create" string="Add" type="object" class="oe_highlight" />
1877 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
1878 <field name="cparent_id"/>
1883 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
1884 name="Create Account"
1886 res_model="account.addtmpl.wizard"
1887 context="{'tmpl_ids': active_id}"
1888 src_model="account.account.template"
1889 view_type="form" view_mode="form"/>
1892 <!-- Chart of Accounts Templates -->
1893 <record id="view_account_chart_template_form" model="ir.ui.view">
1894 <field name="name">account.chart.template.form</field>
1895 <field name="model">account.chart.template</field>
1896 <field name="arch" type="xml">
1897 <form string="Chart of Accounts Template" version="7.0">
1899 <field name="name"/>
1900 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
1901 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
1902 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
1903 <field name="parent_id" />
1904 <!--<field name="code_digits" />-->
1905 <field name="visible" />
1906 <field name="complete_tax_set" />
1908 <separator string="Default Taxes" colspan="4"/>
1909 <field name="tax_template_ids" colspan="4" nolabel="1"/>
1910 <separator string="Properties" colspan="4"/>
1912 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
1913 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
1914 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
1915 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
1916 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
1917 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
1918 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
1919 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
1924 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
1925 <field name="name">account.chart.template.search</field>
1926 <field name="model">account.chart.template</field>
1927 <field name="arch" type="xml">
1928 <search string="Search Chart of Account Templates">
1929 <field name="name" string="Account Template"/>
1930 <field name="account_root_id"/>
1931 <field name="bank_account_view_id"/>
1932 <group expand="0" string="Group By...">
1933 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
1934 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
1935 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
1936 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
1937 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
1938 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
1943 <record id="view_account_chart_template_tree" model="ir.ui.view">
1944 <field name="name">account.chart.template.tree</field>
1945 <field name="model">account.chart.template</field>
1946 <field name="arch" type="xml">
1947 <tree string="Chart of Accounts Template">
1948 <field name="name"/>
1949 <field name="account_root_id"/>
1950 <field name="tax_code_root_id"/>
1951 <field name="bank_account_view_id"/>
1952 <field name="property_account_receivable" invisible="1"/>
1953 <field name="property_account_payable" invisible="1"/>
1954 <field name="property_account_expense_categ" invisible="1"/>
1955 <field name="property_account_income_categ" invisible="1"/>
1959 <record id="action_account_chart_template_form" model="ir.actions.act_window">
1960 <field name="name">Chart of Accounts Templates</field>
1961 <field name="res_model">account.chart.template</field>
1962 <field name="view_type">form</field>
1963 <field name="view_mode">tree,form</field>
1965 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
1967 <!-- Account Tax Templates -->
1968 <record id="view_account_tax_template_form" model="ir.ui.view">
1969 <field name="name">account.tax.template.form</field>
1970 <field name="model">account.tax.template</field>
1971 <field name="arch" type="xml">
1972 <form string="Account Tax Template" version="7.0">
1974 <field name="name"/>
1975 <field name="description"/>
1976 <field name="chart_template_id"/>
1977 <field name="type"/>
1978 <field name="type_tax_use"/>
1979 <field name="price_include"/>
1982 <page string="Tax Definition">
1984 <field name="applicable_type"/>
1985 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
1986 <field name="include_base_amount"/>
1987 <field name="domain"/>
1989 <field name="account_collected_id"/>
1990 <label colspan="2" string="Keep empty to use the income account"/>
1991 <field name="account_paid_id"/>
1992 <label colspan="2" string="Keep empty to use the expense account"/>
1993 <field name="child_depend"/>
1994 <field name="sequence"/>
1997 <page string="Tax Declaration">
1999 <separator colspan="4" string="Invoices"/>
2000 <field name="base_code_id"/>
2001 <field name="base_sign"/>
2002 <field name="tax_code_id"/>
2003 <field name="tax_sign"/>
2005 <separator colspan="4" string="Credit Notes"/>
2006 <field name="ref_base_code_id"/>
2007 <field name="ref_base_sign"/>
2008 <field name="ref_tax_code_id"/>
2009 <field name="ref_tax_sign"/>
2012 <page string="Special Computation">
2013 <separator string="Compute Code (if type=code)"/>
2014 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2015 <separator string="Compute Code for Taxes Included Prices"/>
2016 <field name="python_compute_inv"/>
2017 <separator string="Applicable Code (if type=code)"/>
2018 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2024 <record id="view_account_tax_template_tree" model="ir.ui.view">
2025 <field name="name">account.tax.template.tree</field>
2026 <field name="model">account.tax.template</field>
2027 <field name="arch" type="xml">
2028 <tree string="Account Tax Template">
2029 <field name="name" />
2030 <field name="description"/>
2034 <record id="view_account_tax_template_search" model="ir.ui.view">
2035 <field name="name">account.tax.template.search</field>
2036 <field name="model">account.tax.template</field>
2037 <field name="arch" type="xml">
2038 <search string="Search Tax Templates">
2039 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax Template"/>
2040 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2041 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2042 <field name="chart_template_id"/>
2046 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2047 <field name="name">Tax Templates</field>
2048 <field name="res_model">account.tax.template</field>
2049 <field name="view_type">form</field>
2050 <field name="view_mode">tree,form</field>
2051 <field name="search_view_id" ref="view_account_tax_template_search"/>
2053 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2055 <!-- Account Tax Code Templates -->
2056 <record id="view_tax_code_template_tree" model="ir.ui.view">
2057 <field name="name">account.tax.code.template.tree</field>
2058 <field name="model">account.tax.code.template</field>
2059 <field name="field_parent">child_ids</field>
2060 <field name="arch" type="xml">
2061 <tree string="Account Tax Code Template" toolbar="1">
2062 <field name="name"/>
2063 <field name="code"/>
2064 <field name="parent_id" invisible="1"/>
2068 <record id="view_tax_code_template_search" model="ir.ui.view">
2069 <field name="name">account.tax.code.template.search</field>
2070 <field name="model">account.tax.code.template</field>
2071 <field name="arch" type="xml">
2072 <search string="Search tax template">
2073 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Template"/>
2074 <field name="parent_id"/>
2075 <group expand="0" string="Group By...">
2076 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2081 <record id="view_tax_code_template_form" model="ir.ui.view">
2082 <field name="name">account.tax.code.template.form</field>
2083 <field name="model">account.tax.code.template</field>
2084 <field name="arch" type="xml">
2085 <form string="Account Tax Code Template" version="7.0">
2087 <field name="name"/>
2088 <field name="code"/>
2089 <field name="parent_id"/>
2090 <field name="sign"/>
2092 <separator string="Description"/>
2093 <field name="info"/>
2097 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2098 <field name="name">Tax Code Templates</field>
2099 <field name="res_model">account.tax.code.template</field>
2100 <field name="view_type">form</field>
2101 <field name="view_mode">tree,form</field>
2102 <field name="search_view_id" ref="view_tax_code_template_search"/>
2104 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2107 <!-- Wizard for Multi Charts of Accounts -->
2108 <record id="view_wizard_multi_chart" model="ir.ui.view">
2109 <field name="name">Set Your Accounting Options</field>
2110 <field name="model">wizard.multi.charts.accounts</field>
2111 <field name="inherit_id" ref="base.res_config_view_base"/>
2112 <field name="arch" type="xml">
2113 <form position="attributes" version="7.0">
2114 <attribute name="string">Accounting Application Configuration</attribute>
2116 <group string="res_config_contents" position="replace">
2117 <field name="only_one_chart_template" invisible="1"/>
2118 <field name="complete_tax_set" invisible="1"/>
2120 <group attrs="{'invisible': [('only_one_chart_template','=',True)]}">
2121 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2124 <field name="company_id" widget="selection"/> <!-- we assume that this wizard will be run only by administrators and as this field may cause problem if hidden (because of the default company of the user removed from the selection because already configured), we simply choosed to remove the group "multi company" of it -->
2125 <field name="currency_id" class="oe_inline"/>
2126 <field name="sale_tax" attrs="{'invisible': [('complete_tax_set', '!=', True)]}" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"/>
2127 <label for="sale_tax_rate" string="Sale Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2128 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2129 <field name="sale_tax_rate" class="oe_inline" on_change="onchange_tax_rate(sale_tax_rate)"/> %%
2131 <field name="purchase_tax" attrs="{'invisible': [('complete_tax_set', '!=', True)]}" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"/>
2132 <label for="purchase_tax_rate" string="Purchase Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2133 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2134 <field name="purchase_tax_rate" class="oe_inline"/> %%
2137 <group groups="account.group_account_user">
2138 <field name="code_digits"/>
2144 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2145 <field name="name">Set Your Accounting Options</field>
2146 <field name="type">ir.actions.act_window</field>
2147 <field name="res_model">wizard.multi.charts.accounts</field>
2148 <field name="view_id" ref="view_wizard_multi_chart"/>
2149 <field name="view_type">form</field>
2150 <field name="view_mode">form</field>
2151 <field name="target">new</field>
2154 <record id="account_account_graph" model="ir.ui.view">
2155 <field name="name">account.account.graph</field>
2156 <field name="model">account.account</field>
2157 <field name="arch" type="xml">
2158 <graph string="Account Statistics" type="bar">
2159 <field name="name"/>
2160 <field name="balance" operator="+"/>
2165 <!-- Fiscal Position Templates -->
2167 <record id="view_account_position_template_search" model="ir.ui.view">
2168 <field name="name">account.fiscal.position.template.search</field>
2169 <field name="model">account.fiscal.position.template</field>
2170 <field name="arch" type="xml">
2171 <search string="Fiscal Position">
2172 <field name="name" string="Fiscal Position Template"/>
2177 <record id="view_account_position_template_form" model="ir.ui.view">
2178 <field name="name">account.fiscal.position.template.form</field>
2179 <field name="model">account.fiscal.position.template</field>
2180 <field name="arch" type="xml">
2181 <form string="Fiscal Position Template" version="7.0">
2183 <field name="name"/>
2184 <field name="chart_template_id"/>
2186 <field name="tax_ids">
2187 <tree string="Taxes Mapping" editable="bottom">
2188 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2189 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2191 <form string="Taxes Mapping" version="7.0">
2192 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2193 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2196 <field name="account_ids">
2197 <tree string="Accounts Mapping" editable="bottom">
2198 <field name="account_src_id"/>
2199 <field name="account_dest_id"/>
2201 <form string="Accounts Mapping" version="7.0">
2202 <field name="account_src_id"/>
2203 <field name="account_dest_id"/>
2209 <record id="view_account_position_template_tree" model="ir.ui.view">
2210 <field name="name">account.fiscal.position.template.tree</field>
2211 <field name="model">account.fiscal.position.template</field>
2212 <field name="arch" type="xml">
2213 <tree string="Fiscal Position">
2214 <field name="name"/>
2219 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2220 <field name="name">Fiscal Position Templates</field>
2221 <field name="res_model">account.fiscal.position.template</field>
2222 <field name="view_type">form</field>
2223 <field name="view_mode">tree,form</field>
2224 <field name="search_view_id" ref="view_account_position_template_search"/>
2228 action="action_account_fiscal_position_template_form"
2229 id="menu_action_account_fiscal_position_form_template"
2230 parent="account_template_taxes" sequence="20"/>
2232 <!-- Cash Statement -->
2233 <record id="view_cash_statement_tree" model="ir.ui.view">
2234 <field name="name">account.bank.statement.tree</field>
2235 <field name="model">account.bank.statement</field>
2236 <field name="arch" type="xml">
2237 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2238 <field name="name"/>
2239 <field name="date"/>
2240 <field name="period_id"/>
2241 <field name="journal_id"/>
2242 <field name="balance_start"/>
2243 <field name="balance_end_real"/>
2244 <field name="balance_end" invisible="1" />
2245 <field name="state"/>
2249 <record id="view_bank_statement_form2" model="ir.ui.view">
2250 <field name="name">account.bank.statement.form</field>
2251 <field name="model">account.bank.statement</field>
2252 <field name="priority">2</field>
2253 <field name="arch" type="xml">
2254 <form string="Statement" version="7.0">
2256 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
2257 <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
2258 <button name="button_cancel" states="confirm,open" string="Cancel CashBox" type="object"/>
2259 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2261 <sheet string="Statement">
2262 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
2263 <h1><field name="name" class="oe_inline" attrs="{'invisible':[('name','=','/')]}"/></h1>
2266 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" />
2267 <field name="user_id" readonly="1" string="Responsible"/>
2268 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2271 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2272 <field name="closing_date" readonly="1"/>
2273 <field name="period_id" class="oe_inline"/>
2274 <field name="currency" invisible="1"/>
2275 <field name="cash_control" invisible="1"/>
2279 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2280 <field name="line_ids" context="{'date':date}">
2281 <tree editable="bottom" string="Statement lines">
2282 <field name="sequence" invisible="1"/>
2283 <field name="date"/>
2284 <field name="name"/>
2286 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2287 <field name="type" on_change="onchange_type(partner_id, type)"/>
2288 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2289 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2290 <field name="amount"/>
2292 <form string="Statement lines" version="7.0">
2294 <field name="date"/>
2295 <field name="name"/>
2297 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2298 <field name="type" on_change="onchange_type(partner_id, type)"/>
2299 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2300 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2301 <field name="amount"/>
2302 <field name="sequence"/>
2304 <separator string="Notes"/>
2305 <field name="note"/>
2309 <page string="Cash Control" attrs="{'invisible' : [('cash_control', '=', False)]}">
2310 <group col="2" expand="1">
2311 <group string="Opening Cash Control" attrs="{'invisible' : [('state', '!=', 'draft')]}">
2312 <field name="opening_details_ids" colspan="2" nolabel="1">
2313 <tree string="Opening Cashbox Lines" editable="bottom">
2314 <field name="pieces"/>
2315 <field name="number_opening" on_change="on_change_sub_opening(pieces, number_opening)" />
2316 <field name="subtotal_opening" string="Opening Subtotal" sum="Total"/>
2321 <group string="Opening Cash Control" attrs="{'invisible' : [('state', '=', 'draft')]}">
2322 <field name="details_ids" colspan="2" nolabel="1" attrs="{'readonly' : [('state', '!=', 'draft')]}">
2323 <tree string="Opening Cashbox Lines" editable="bottom">
2324 <field name="pieces"/>
2325 <field name="number_opening" on_change="on_change_sub_opening(pieces, number_opening)"/>
2326 <field name="subtotal_opening" string="Opening Subtotal" sum="Total"/>
2330 <group string="Closing Cash Control" attrs="{'invisible' : [('state', '=', 'draft')]}">
2331 <field name="closing_details_ids" colspan="2" nolabel="1" attrs="{'readonly' : [('state', '=', 'confirm')]}">
2332 <tree string="Closing Cashbox Lines" editable="bottom">
2333 <field name="pieces" readonly="1" />
2334 <field name="number_closing" on_change="on_change_sub_closing(pieces, number_closing)"/>
2335 <field name="subtotal_closing" string="Closing Subtotal" sum="Total"/>
2342 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2343 <field name="move_line_ids" string="Journal Entries"/>
2347 <group class="oe_subtotal_footer oe_right">
2348 <label for="balance_start" class="oe_subtotal_footer_separator oe_open_balance" string="Opening Balance" style="padding-right: 23px !important; padding-top: 6px !important;"/>
2349 <field name="balance_start" attrs="{'readonly' : ['|', ('cash_control', '=', True), ('state', '=', 'confirm')]}" nolabel="1" widget="monetary" class="oe_subtotal_footer_separator oe_open_balance" options="{'currency_field': 'currency'}" help="Total of opening cash control lines"/>
2350 <label for="total_entry_encoding" string="+ Transactions" class="oe_force_bold oe_mini_subtotal_footer_separator" style="padding-right: 20px !important;"/>
2351 <field name="total_entry_encoding" nolabel="1" class="oe_bold oe_account_total" widget="monetary" options="{'currency_field': 'currency'}"/>
2352 <label for="balance_end" string="= Theoretical Closing Balance" class="oe_force_bold oe_mini_subtotal_footer_separator" style="padding-right: 20px !important;" help="Sum of opening balance and transactions."/>
2353 <field name="balance_end" nolabel="1" class="oe_bold oe_account_total" widget="monetary" options="{'currency_field': 'currency'}"/>
2356 <group class="oe_subtotal_footer oe_right" attrs="{'invisible': [('state', '=', 'draft')]}">
2357 <label for="balance_end_real" class="oe_subtotal_footer_separator oe_real_closing_balance" string="Real Closing Balance" style="padding-right: 23px !important; padding-top: 6px !important;"/>
2358 <field name="balance_end_real" attrs="{'readonly' : ['|', ('cash_control', '=', True), ('state', '=', 'confirm')]}" nolabel="1" class="oe_subtotal_footer_separator oe_real_closing_balance" widget="monetary" options="{'currency_field': 'currency'}" help="Total of closing cash control lines."/>
2362 <group class="oe_subtotal_footer oe_right" attrs="{'invisible': [('state', '=', 'draft')]}">
2363 <label for="difference" string="Difference" class="oe_subtotal_footer_separator oe_difference" style="padding-right: 20px !important;"/>
2364 <field name="difference" nolabel="1" class="oe_subtotal_footer_separator oe_difference" widget="monetary" options="{'currency_field': 'currency'}"/>
2372 <record id="account_cash_statement_graph" model="ir.ui.view">
2373 <field name="name">account.bank.statement.graph</field>
2374 <field name="model">account.bank.statement</field>
2375 <field name="arch" type="xml">
2376 <graph string="Account Statistics" type="bar">
2377 <field name="date"/>
2378 <field name="balance_start" operator="+"/>
2379 <field name="balance_end" operator="+"/>
2383 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2384 <field name="name">Cash Registers</field>
2385 <field name="type">ir.actions.act_window</field>
2386 <field name="res_model">account.bank.statement</field>
2387 <field name="view_type">form</field>
2388 <field name="view_mode">tree,form,graph</field>
2389 <field name="view_id" ref="view_cash_statement_tree"/>
2390 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2391 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2392 <field name="context">{'journal_type':'cash'}</field>
2393 <field name="help" type="html">
2394 <p class="oe_view_nocontent_create">
2395 Click to create a new cash log.
2397 A Cash Register allows you to manage cash entries in your cash
2398 journals. This feature provides an easy way to follow up cash
2399 payments on a daily basis. You can enter the coins that are in
2400 your cash box, and then post entries when money comes in or
2401 goes out of the cash box.
2406 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2407 <field name="sequence" eval="1"/>
2408 <field name="view_mode">tree</field>
2409 <field name="view_id" ref="view_cash_statement_tree"/>
2410 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2412 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2413 <field name="sequence" eval="1"/>
2414 <field name="view_mode">form</field>
2415 <field name="view_id" ref="view_bank_statement_form2"/>
2416 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2418 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2419 <field name="sequence" eval="1"/>
2420 <field name="view_mode">graph</field>
2421 <field name="view_id" ref="account_cash_statement_graph"/>
2422 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2424 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2425 parent="menu_finance_bank_and_cash"/>
2427 <menuitem id="menu_account_customer" name="Customers"
2428 parent="menu_finance_receivables"
2429 action="base.action_partner_customer_form" sequence="100"/>
2431 <menuitem id="menu_account_supplier" name="Suppliers"
2432 parent="menu_finance_payables"
2433 action="base.action_partner_supplier_form" sequence="100"/>
2435 <!-- Account Reports -->
2436 <record id="view_account_financial_report_form" model="ir.ui.view">
2437 <field name="name">account.financial.report.form</field>
2438 <field name="model">account.financial.report</field>
2439 <field name="arch" type="xml">
2440 <form string="Account Report" version="7.0">
2442 <field name="name"/>
2443 <field name="parent_id"/>
2444 <field name="sequence"/>
2445 <field name="type"/>
2446 <field name="sign"/>
2447 <field name="style_overwrite"/>
2450 <page string="Report">
2452 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2453 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2455 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2456 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2462 <record id="view_account_financial_report_tree" model="ir.ui.view">
2463 <field name="name">account.financial.report.tree</field>
2464 <field name="model">account.financial.report</field>
2465 <field name="arch" type="xml">
2466 <tree string="Account Report">
2467 <field name="name"/>
2468 <field name="parent_id" invisible="1"/>
2469 <field name="type"/>
2470 <field name="account_report_id"/>
2474 <record id="view_account_financial_report_search" model="ir.ui.view">
2475 <field name="name">account.financial.report.search</field>
2476 <field name="model">account.financial.report</field>
2477 <field name="arch" type="xml">
2478 <search string="Account Report">
2479 <field name="name" string="Account Report"/>
2480 <field name="type"/>
2481 <field name="account_report_id"/>
2482 <group expand="0" string="Group By...">
2483 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2484 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2489 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2490 <field name="name">Financial Reports</field>
2491 <field name="type">ir.actions.act_window</field>
2492 <field name="res_model">account.financial.report</field>
2493 <field name="view_type">form</field>
2494 <field name="view_mode">tree,form</field>
2495 <field name="search_view_id" ref="view_account_financial_report_search"/>
2496 <field name="view_id" ref="view_account_financial_report_tree"/>
2498 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2500 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2501 <field name="name">account.report.hierarchy</field>
2502 <field name="model">account.financial.report</field>
2503 <field name="field_parent">children_ids</field>
2504 <field name="arch" type="xml">
2505 <tree string="Account Reports Hierarchy">
2506 <field name="name"/>
2507 <field name="type"/>
2508 <field name="parent_id" invisible="1"/>
2509 <field name="account_report_id"/>
2513 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2514 <field name="name">Financial Reports Hierarchy</field>
2515 <field name="res_model">account.financial.report</field>
2516 <field name="view_type">tree</field>
2517 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2518 <field name="domain">[('parent_id','=',False)]</field>
2520 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2521 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>