1 <?xml version="1.0" encoding="utf-8"?>
9 <record id="view_account_fiscalyear_form" model="ir.ui.view">
10 <field name="name">account.fiscalyear.form</field>
11 <field name="model">account.fiscalyear</field>
12 <field name="arch" type="xml">
13 <form string="Fiscal year" version="7.0">
15 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
16 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
17 <field name="state" widget="statusbar" nolabel="1" />
23 <field name="company_id" groups="base.group_multi_company"/>
24 <field name="end_journal_period_id"/>
27 <field name="date_start"/>
28 <field name="date_stop"/>
31 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
32 <form string="Period" version="7.0">
36 <field name="date_start"/>
37 <field name="date_stop"/>
38 <field name="special"/>
39 <field name="state" invisible="1"/>
46 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
47 <field name="name">account.fiscalyear.tree</field>
48 <field name="model">account.fiscalyear</field>
49 <field name="arch" type="xml">
50 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Fiscalyear">
53 <field name="company_id" groups="base.group_multi_company"/>
58 <record id="view_account_fiscalyear_search" model="ir.ui.view">
59 <field name="name">account.fiscalyear.search</field>
60 <field name="model">account.fiscalyear</field>
61 <field name="arch" type="xml">
62 <search string="Search Fiscalyear">
63 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Fiscal Year"/>
64 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
65 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
67 <group expand="0" string="Group By...">
68 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
73 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
74 <field name="name">Fiscal Years</field>
75 <field name="res_model">account.fiscalyear</field>
76 <field name="view_type">form</field>
77 <field name="view_mode">tree,form</field>
78 <field name="help" type="html">
79 <p class="oe_view_nocontent_create">
80 Click to start a new fiscal year.
82 Define your company's financial year according to your needs. A
83 financial year is a period at the end of which a company's
84 accounts are made up (usually 12 months). The financial year is
85 usually referred to by the date in which it ends. For example,
86 if a company's financial year ends November 30, 2011, then
87 everything between December 1, 2010 and November 30, 2011
88 would be referred to as FY 2011.
92 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
93 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
99 <record id="view_account_period_form" model="ir.ui.view">
100 <field name="name">account.period.form</field>
101 <field name="model">account.period</field>
102 <field name="arch" type="xml">
103 <form string="Account Period" version="7.0">
105 <button string="Close Period" name="%(account.action_account_period_close)d" type="action" class="oe_highlight" states="draft"/>
106 <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
107 <field name="state" widget="statusbar" nolabel="1"/>
113 <field name="fiscalyear_id" widget="selection"/>
114 <label for="date_start" string="Duration"/>
116 <field name="date_start" class="oe_inline" nolabel="1"/> -
117 <field name="date_stop" nolabel="1" class="oe_inline"/>
122 <field name="special"/>
123 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
130 <record id="view_account_period_tree" model="ir.ui.view">
131 <field name="name">account.period.tree</field>
132 <field name="model">account.period</field>
133 <field name="arch" type="xml">
134 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
137 <field name="date_start"/>
138 <field name="date_stop"/>
139 <field name="special"/>
140 <field name="company_id" groups="base.group_multi_company"/>
141 <field name="state"/>
146 <record id="view_account_period_search" model="ir.ui.view">
147 <field name="name">account.period.search</field>
148 <field name="model">account.period</field>
149 <field name="arch" type="xml">
150 <search string="Search Period">
151 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Period"/>
152 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
157 <record id="action_account_period_form" model="ir.actions.act_window">
158 <field name="name">Periods</field>
159 <field name="res_model">account.period</field>
160 <field name="view_type">form</field>
161 <field name="view_mode">tree,form</field>
162 <field name="context">{'search_default_draft': 1}</field>
163 <field name="help" type="html">
164 <p class="oe_view_nocontent_create">
165 Click to add a fiscal period.
167 An accounting period typically is a month or a quarter. It
168 usually corresponds to the periods of the tax declaration.
172 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23" groups="base.group_no_one"/>
178 <record id="view_account_form" model="ir.ui.view">
179 <field name="name">account.account.form</field>
180 <field name="model">account.account</field>
181 <field name="arch" type="xml">
182 <form string="Account" version="7.0">
183 <label for="code" class="oe_edit_only" string="Account Code and Name"/>
185 <field name="code" class="oe_inline" placeholder="Account code" style="width: 6em"/> -
186 <field name="name" class="oe_inline" placeholder="Account name"/>
190 <field name="parent_id"/>
192 <field name="user_type"/>
193 <field name="active"/>
194 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
197 <field name="debit" attrs="{'readonly':[('type','=','view')]}"/>
198 <field name="credit" attrs="{'readonly':[('type','=','view')]}"/>
199 <field name="balance"/>
202 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
203 <field name="reconcile"/>
204 <field name="child_consol_ids"
205 attrs="{'invisible':[('type','!=','consolidation')]}"
206 widget="many2many_tags"/>
208 <group groups="base.group_multi_currency">
209 <field name="currency_id"/>
210 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
219 <record id="view_account_search" model="ir.ui.view">
220 <field name="name">account.account.search</field>
221 <field name="model">account.account</field>
222 <field name="arch" type="xml">
223 <search string="Accounts">
224 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account"/>
225 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
226 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
227 <field name="user_type"/>
228 <group expand="0" string="Group By...">
229 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
230 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
231 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
237 <record id="view_account_list" model="ir.ui.view">
238 <field name="name">account.account.list</field>
239 <field name="model">account.account</field>
240 <field name="field_parent">child_id</field>
241 <field name="arch" type="xml">
242 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
245 <field name="parent_id" invisible="1"/>
246 <field name="user_type" invisible="1"/>
247 <field name="debit"/>
248 <field name="credit"/>
249 <field name="balance"/>
251 <field name="company_id" groups="base.group_multi_company"/>
252 <field name="company_currency_id"/>
256 <record id="action_account_form" model="ir.actions.act_window">
257 <field name="name">Accounts</field>
258 <field name="res_model">account.account</field>
259 <field name="view_type">form</field>
260 <field name="view_mode">tree,form,graph</field>
261 <field name="search_view_id" ref="view_account_search"/>
262 <field name="view_id" ref="view_account_list"/>
263 <field name="help" type="html">
264 <p class="oe_view_nocontent_create">
265 Click to add an account.
267 An account is part of a ledger allowing your company
268 to register all kinds of debit and credit transactions.
269 Companies present their annual accounts in two main parts: the
270 balance sheet and the income statement (profit and loss
271 account). The annual accounts of a company are required by law
272 to disclose a certain amount of information.
276 <menuitem id="account_account_menu" name="Accounts" parent="account.menu_finance_configuration" sequence="15"/>
277 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
279 <record id="view_account_tree" model="ir.ui.view">
280 <field name="name">account.account.tree</field>
281 <field name="model">account.account</field>
282 <field name="field_parent">child_id</field>
283 <field name="arch" type="xml">
284 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
287 <field name="debit"/>
288 <field name="credit"/>
289 <field name="balance"/>
290 <field name="company_currency_id"/>
291 <field name="company_id" groups="base.group_multi_company"/>
293 <field name="parent_id" invisible="1"/>
297 <record id="action_account_tree" model="ir.actions.act_window">
298 <field name="name">Chart of Accounts</field>
299 <field name="res_model">account.account</field>
300 <field name="view_type">tree</field>
301 <field name="view_id" ref="view_account_tree"/>
302 <field name="domain">[('parent_id','=',False)]</field>
305 <record id="view_account_gain_loss_tree" model="ir.ui.view">
306 <field name="name">Unrealized Gain or Loss</field>
307 <field name="model">account.account</field>
308 <field name="arch" type="xml">
309 <tree string="Unrealized Gains and losses" create="false">
312 <field name="parent_id" invisible="1"/>
313 <field name="user_type" invisible="1"/>
314 <field name="type" invisible="1"/>
315 <field name="currency_id"/>
316 <field name="exchange_rate"/>
317 <field name="foreign_balance"/>
318 <field name="adjusted_balance"/>
319 <field name="balance"/>
320 <field name="unrealized_gain_loss"/>
325 <record id="action_account_gain_loss" model="ir.actions.act_window">
326 <field name="name">Unrealized Gain or Loss</field>
327 <field name="res_model">account.account</field>
328 <field name="view_type">form</field>
329 <field name="view_mode">tree</field>
330 <field name="view_id" ref="view_account_gain_loss_tree"/>
331 <field name="domain">[('currency_id','!=',False)]</field>
332 <field name="help" type="html">
333 <p class="oe_view_nocontent_create">
334 Click to add an account.
336 When doing multi-currency transactions, you may loose or gain
337 some amount due to changes of exchange rate. This menu gives
338 you a forecast of the Gain or Loss you'd realized if those
339 transactions were ended today. Only for accounts having a
340 secondary currency set.
346 name="Unrealized Gain or Loss"
347 action="action_account_gain_loss"
348 groups="account.group_account_user"
349 id="menu_unrealized_gains_losses"
350 parent="account.menu_multi_currency"/>
356 <record id="view_account_journal_tree" model="ir.ui.view">
357 <field name="name">account.journal.tree</field>
358 <field name="model">account.journal</field>
359 <field name="arch" type="xml">
360 <tree string="Account Journal">
364 <field name="user_id"/>
365 <field name="company_id" groups="base.group_multi_company"/>
369 <record id="view_account_journal_search" model="ir.ui.view">
370 <field name="name">account.journal.search</field>
371 <field name="model">account.journal</field>
372 <field name="arch" type="xml">
373 <search string="Search Account Journal">
374 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Journal"/>
375 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
376 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
377 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
378 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
379 <field name="user_id"/>
380 <group expand="0" string="Group By...">
381 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
382 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
388 <record id="view_account_journal_form" model="ir.ui.view">
389 <field name="name">account.journal.form</field>
390 <field name="model">account.journal</field>
391 <field name="arch" type="xml">
392 <form string="Account Journal" version="7.0">
393 <div class="oe_title">
394 <label for="name" class="oe_edit_only"/>
395 <h1><field name="name"/></h1>
403 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
404 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
405 <field name="currency" groups="base.group_multi_currency"/>
406 <field name="company_id" groups="base.group_multi_company"/>
410 <page string="Advanced Settings">
413 <field name="user_id"/>
414 <field name="sequence_id" required="0"/>
417 <field name="centralisation"/>
418 <field name="entry_posted"/>
419 <field name="allow_date"/>
420 <field name="group_invoice_lines"/>
424 <page string="Entry Controls">
425 <separator colspan="4" string="Accounts Type Allowed (empty for no control)"/>
426 <field colspan="4" name="type_control_ids" nolabel="1"/>
427 <separator colspan="4" string="Accounts Allowed (empty for no control)"/>
428 <field colspan="4" name="account_control_ids" nolabel="1"/>
430 <page string="Cash Registers">
432 <group string="Accounts">
433 <field name="profit_account_id" domain="[('type','!=','view')]"/>
434 <field name="loss_account_id" domain="[('type','!=','view')]"/>
435 <field name="internal_account_id"/>
437 <group string="Miscellaneous">
438 <field name="with_last_closing_balance"/>
439 <field name="cash_control"/>
442 <separator string="Available Coins" colspan="4" attrs="{'invisible' : [('cash_control', '=', False)] }"/>
443 <field name="cashbox_line_ids" nolabel="1" string="Unit Of Currency Definition" colspan="4" attrs="{'invisible' : [('cash_control', '=', False)]}">
444 <tree string="CashBox Lines" editable="bottom">
445 <field name="pieces" />
454 <record id="action_account_journal_form" model="ir.actions.act_window">
455 <field name="name">Journals</field>
456 <field name="res_model">account.journal</field>
457 <field name="view_type">form</field>
458 <field name="view_mode">tree,form</field>
459 <field name="help" type="html">
460 <p class="oe_view_nocontent_create">
461 Click to add a journal.
463 A journal is used to record transactions of all accounting data
464 related to the day-to-day business.
466 A typical company may use one journal per payment method (cash,
467 bank accounts, checks), one purchase journal, one sale journal
468 and one for miscellaneous information.
472 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
474 <record id="view_account_bank_statement_filter" model="ir.ui.view">
475 <field name="name">account.cash.statement.select</field>
476 <field name="model">account.bank.statement</field>
477 <field name="arch" type="xml">
478 <search string="Search Bank Statements">
479 <field name="name" string="Bank Statement"/>
481 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
482 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
483 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
484 <field name="journal_id" domain="[('type', '=', 'cash')]" />
485 <group expand="0" string="Group By...">
486 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
487 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
488 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
494 <record id="view_bank_statement_tree" model="ir.ui.view">
495 <field name="name">account.bank.statement.tree</field>
496 <field name="model">account.bank.statement</field>
497 <field name="arch" type="xml">
498 <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">
501 <field name="period_id"/>
502 <field name="journal_id"/>
503 <field name="balance_start"/>
504 <field name="balance_end_real"/>
505 <field name="balance_end" invisible="1"/>
506 <field name="state"/>
510 <record id="view_bank_statement_search" model="ir.ui.view">
511 <field name="name">account.bank.statement.search</field>
512 <field name="model">account.bank.statement</field>
513 <field name="arch" type="xml">
514 <search string="Search Bank Statements">
515 <field name="name" string="Bank Statement"/>
517 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
518 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
519 <field name="period_id"/>
520 <field name="journal_id" domain="[('type', '=', 'bank')]" />
521 <group expand="0" string="Group By...">
522 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
523 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
524 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
529 <record id="view_bank_statement_form" model="ir.ui.view">
530 <field name="name">account.bank.statement.form</field>
531 <field name="model">account.bank.statement</field>
532 <field name="arch" type="xml">
533 <form string="Bank Statement" version="7.0">
535 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_highlight"/>
536 <button name="button_dummy" states="draft" string="Compute" type="object" class="oe_highlight"/>
537 <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
538 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
541 <div class="oe_right oe_button_box" name="import_buttons">
542 <!-- Put here related buttons -->
544 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
546 <field name="name" attrs="{'invisible':[('name','=','/')]}"/>
550 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
551 <label for="date" string="Date / Period"/>
553 <field name="date" on_change="onchange_date(date, company_id)" class="oe_inline"/>
554 <field name="period_id" class="oe_inline"/>
556 <field name='company_id' widget="selection" groups="base.group_multi_company" />
557 <field name="currency" invisible="1"/>
559 <field name="balance_start" widget="monetary" options='{"currency_field" : "currency"}'/>
560 <field name="balance_end_real" widget="monetary" options='{"currency_field" : "currency"}'/>
565 <page string="Transactions" name="statement_line_ids">
566 <field name="line_ids" context="{'date':date}">
567 <tree editable="bottom" string="Statement lines">
568 <field name="sequence" readonly="1" invisible="1"/>
572 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
573 <field name="type" on_change="onchange_type(partner_id, type)"/>
574 <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]"/>
575 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
576 <field name="amount"/>
578 <form string="Statement lines" version="7.0">
583 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
584 <field name="type" on_change="onchange_type(partner_id, type)"/>
585 <field name="account_id" domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]"/>
586 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
587 <field name="amount"/>
588 <field name="sequence" readonly="0"/>
590 <separator string="Notes"/>
601 <record id="view_bank_statement_form_journal_items" model="ir.ui.view">
602 <field name="name">account.bank.statement.journal.items.form.inherit</field>
603 <field name="model">account.bank.statement</field>
604 <field name="inherit_id" ref="view_bank_statement_form"/>
605 <field name="arch" type="xml">
606 <xpath expr="//div[@name='import_buttons']" position="inside">
607 <button name="button_journal_entries"
608 string="Journal Items" type="object"
609 attrs="{'invisible':[('state','!=','confirm')]}"/>
614 <record id="action_bank_statement_tree" model="ir.actions.act_window">
615 <field name="name">Bank Statements</field>
616 <field name="res_model">account.bank.statement</field>
617 <field name="view_type">form</field>
618 <field name="view_mode">tree,form,graph</field>
619 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
620 <field name="context">{'journal_type':'bank'}</field>
621 <field name="search_view_id" ref="view_bank_statement_search"/>
622 <field name="help" type="html">
623 <p class="oe_view_nocontent_create">
624 Click to register a bank statement.
626 A bank statement is a summary of all financial transactions
627 occurring over a given period of time on a bank account. You
628 should receive this periodicaly from your bank.
630 OpenERP allows you to reconcile a statement line directly with
631 the related sale or puchase invoices.
635 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
636 <field name="sequence" eval="1"/>
637 <field name="view_mode">tree</field>
638 <field name="view_id" ref="view_bank_statement_tree"/>
639 <field name="act_window_id" ref="action_bank_statement_tree"/>
641 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
642 <field name="sequence" eval="1"/>
643 <field name="view_mode">form</field>
644 <field name="view_id" ref="view_bank_statement_form"/>
645 <field name="act_window_id" ref="action_bank_statement_tree"/>
648 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
650 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
651 <field name="name">Draft statements</field>
652 <field name="res_model">account.bank.statement</field>
653 <field name="view_type">form</field>
654 <field name="view_mode">tree,form</field>
655 <field name="domain">[('state','=','draft')]</field>
656 <field name="filter" eval="True"/>
662 <record id="view_account_type_search" model="ir.ui.view">
663 <field name="name">account.account.type.search</field>
664 <field name="model">account.account.type</field>
665 <field name="arch" type="xml">
666 <search string="Account Type">
667 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Type"/>
672 <record id="view_account_type_tree" model="ir.ui.view">
673 <field name="name">account.account.type.tree</field>
674 <field name="model">account.account.type</field>
675 <field name="arch" type="xml">
676 <tree string="Account Type">
683 <record id="view_account_type_form" model="ir.ui.view">
684 <field name="name">account.account.type.form</field>
685 <field name="model">account.account.type</field>
686 <field name="arch" type="xml">
687 <form string="Account Type" version="7.0">
694 <field name="report_type"/>
695 <field name="close_method"/>
698 <separator string="Description"/>
703 <record id="action_account_type_form" model="ir.actions.act_window">
704 <field name="name">Account Types</field>
705 <field name="res_model">account.account.type</field>
706 <field name="view_type">form</field>
707 <field name="view_mode">tree,form</field>
708 <field name="search_view_id" ref="view_account_type_search"/>
709 <field name="help" type="html">
710 <p class="oe_view_nocontent_create">
711 Click to define a new account type.
713 An account type is used to determine how an account is used in
714 each journal. The deferral method of an account type determines
715 the process for the annual closing. Reports such as the Balance
716 Sheet and the Profit and Loss report use the category
717 (profit/loss or balance sheet).
721 <menuitem action="action_account_type_form" sequence="20" id="menu_action_account_type_form" parent="account_account_menu" groups="base.group_no_one"/>
725 <record id="view_account_move_tree" model="ir.ui.view">
726 <field name="name">account.move.tree</field>
727 <field name="model">account.move</field>
728 <field name="arch" type="xml">
729 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
733 <field name="period_id"/>
734 <field name="journal_id"/>
735 <field name="partner_id"/>
736 <field name="amount" sum="Total Amount"/>
737 <field name="state"/>
746 <record id="view_move_reconcile_form" model="ir.ui.view">
747 <field name="name">account.move.reconcile.form</field>
748 <field name="model">account.move.reconcile</field>
749 <field name="arch" type="xml">
750 <form string="Journal Entry Reconcile" version="7.0">
753 <field name="create_date"/>
756 <separator string="Reconcile Entries"/>
757 <field name="line_id"/>
758 <separator string="Partial Reconcile Entries"/>
759 <field name="line_partial_ids"/>
767 <record id="view_tax_code_search" model="ir.ui.view">
768 <field name="name">account.tax.code.search</field>
769 <field name="model">account.tax.code</field>
770 <field name="arch" type="xml">
771 <search string="Account Tax Code">
772 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Code"/>
773 <field name="parent_id"/>
774 <field name="company_id" groups="base.group_multi_company"/>
778 <record id="view_tax_code_tree" model="ir.ui.view">
779 <field name="name">account.tax.code.tree</field>
780 <field name="model">account.tax.code</field>
781 <field name="field_parent">child_ids</field>
782 <field name="priority">100</field>
783 <field name="arch" type="xml">
784 <tree string="Account Tax Code" toolbar="1">
787 <field name="sum_period"/>
789 <field name="company_id" groups="base.group_multi_company"/>
793 <record id="view_tax_code_form" model="ir.ui.view">
794 <field name="name">account.tax.code.form</field>
795 <field name="model">account.tax.code</field>
796 <field name="arch" type="xml">
797 <form string="Account Tax Code" version="7.0">
799 <group col="4" colspan="2">
802 <field name="parent_id"/>
803 <field name="company_id" groups="base.group_multi_company"/>
805 <group string="Reporting Configuration">
806 <field name="notprintable"/>
809 <group string="Statistics">
810 <field name="sum_period"/>
814 <separator string="Description"/>
819 <record id="action_tax_code_list" model="ir.actions.act_window">
820 <field name="name">Tax codes</field>
821 <field name="res_model">account.tax.code</field>
822 <field name="view_type">form</field>
823 <field name="view_mode">tree,form</field>
824 <field name="view_id" ref="view_tax_code_tree"/>
825 <field name="search_view_id" ref="view_tax_code_search"/>
826 <field name="help" type="html">
827 <p class="oe_view_nocontent_create">
828 Click to define a new tax code.
830 Depending on the country, a tax code is usually a cell to fill
831 in your legal tax statement. OpenERP allows you to define the
832 tax structure and each tax computation will be registered in
833 one or several tax code.
837 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
838 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
844 <record id="view_tax_tree" model="ir.ui.view">
845 <field name="name">account.tax.tree</field>
846 <field name="model">account.tax</field>
847 <field name="field_parent">child_ids</field>
848 <field name="arch" type="xml">
849 <tree string="Account Tax">
851 <field name="price_include"/>
852 <field name="description"/>
853 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
857 <record id="view_account_tax_search" model="ir.ui.view">
858 <field name="name">account.tax.search</field>
859 <field name="model">account.tax</field>
860 <field name="arch" type="xml">
861 <search string="Search Taxes">
862 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>
863 <field name="company_id" groups="base.group_multi_company"/>
867 <record id="view_tax_form" model="ir.ui.view">
868 <field name="name">account.tax.form</field>
869 <field name="model">account.tax</field>
870 <field name="arch" type="xml">
871 <form string="Account Tax" version="7.0">
875 <field name="description"/>
878 <field name="type_tax_use"/>
879 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
880 <field name="active"/>
884 <page string="Tax Definition">
886 <group string="Tax Computation">
890 <field name="amount" class="oe_inline"
891 attrs="{'invisible':[('type','in',('none', 'code', 'balance'))]}"/>
892 <label string="%%" attrs="{'invisible':[('type','<>','percent')]}"/>
894 <field name="python_compute" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
895 <field name="python_compute_inv" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
896 <field name="price_include"/>
898 <group string="Misc">
899 <field name="sequence"/>
900 <field name="include_base_amount"/>
901 <field name="child_depend"/>
903 <group string="Invoices">
904 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
905 <field name="account_analytic_collected_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
907 <field name="base_code_id"/>
908 <field name="base_sign"/>
909 <field name="tax_code_id"/>
910 <field name="tax_sign"/>
913 <group string="Refunds">
914 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
915 <field name="account_analytic_paid_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
917 <field name="ref_base_code_id"/>
918 <field name="ref_base_sign"/>
919 <field name="ref_tax_code_id"/>
920 <field name="ref_tax_sign"/>
922 <group string="Children/Sub Taxes" colspan="2">
923 <field name="child_depend" class="oe_inline"/>
924 <field name="child_ids" nolabel="1" colspan="2">
925 <tree string="Account Tax">
926 <field name="sequence"/>
928 <field name="price_include"/>
929 <field name="description"/>
935 <page string="Special Computation">
937 <separator colspan="4" string="Applicability Options"/>
938 <field name="applicable_type"/>
939 <field name="domain"/>
940 <separator colspan="4" string="Applicable Code (if type=code)"/>
941 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
948 <record id="action_tax_form" model="ir.actions.act_window">
949 <field name="name">Taxes</field>
950 <field name="res_model">account.tax</field>
951 <field name="view_type">form</field>
952 <field name="view_id" ref="view_tax_tree"/>
953 <field name="domain">[('parent_id','=',False)]</field>
955 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
957 <record id="action_tax_code_tree" model="ir.actions.act_window">
958 <field name="name">Chart of Taxes</field>
959 <field name="res_model">account.tax.code</field>
960 <field name="domain">[('parent_id','=',False)]</field>
961 <field name="view_type">tree</field>
962 <field name="view_id" ref="view_tax_code_tree"/>
969 <record id="view_move_line_tree_reconcile" model="ir.ui.view">
970 <field name="model">account.move.line</field>
971 <field eval="24" name="priority"/>
972 <field name="arch" type="xml">
973 <tree_account_reconciliation colors="red:state == 'draft';black:state == 'valid'" string="Journal Items to Reconcile" create="false" version="7.0">
975 <field name="move_id"/>
978 <field name="partner_id"/>
979 <field name="account_id"/>
980 <field name="reconcile_partial_id"/>
981 <field name="state" invisible="1"/>
982 <field name="debit" sum="Total debit"/>
983 <field name="credit" sum="Total credit"/>
984 </tree_account_reconciliation>
988 <record id="view_move_line_tree" model="ir.ui.view">
989 <field name="name">account.move.line.tree</field>
990 <field name="model">account.move.line</field>
991 <field eval="4" name="priority"/>
992 <field name="arch" type="xml">
993 <tree_account_move_line_quickadd colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" version="7.0" editable="top">
994 <field name="journal_id" options='{"no_open":True}' invisible="context.get('journal_id',False)"/>
995 <field name="period_id" options='{"no_open":True}' invisible="context.get('period_id',False)"/>
999 <field name="statement_id" invisible="1"/>
1000 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
1001 <field name="account_id" options='{"no_open":True}' domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]" on_change="onchange_account_id(account_id)"/>
1002 <field name="date_maturity" invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund']"/>
1003 <field name="account_tax_id" options='{"no_open":True}' invisible="context.get('journal_type', False) not in ['sale','sale_refund','purchase','purchase_refund','general']"/>
1004 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('type','not in',['view','template'])]" invisible="not context.get('analytic_journal_id',False)"/>
1005 <field name="move_id" required="0"/>
1006 <field name="debit" sum="Total Debit"/>
1007 <field name="credit" sum="Total Credit"/>
1008 <field name="reconcile"/>
1009 <field name="invoice" invisible="1"/>
1010 <field name="amount_currency" readonly="True" invisible="not context.get('currency',False)"/>
1011 <field name="currency_id" readonly="True" invisible="not context.get('currency',False)" />
1012 <field name="state" />
1013 <field name="company_id" invisible="1"/>
1014 </tree_account_move_line_quickadd>
1018 <record id="view_move_line_form" model="ir.ui.view">
1019 <field name="name">account.move.line.form</field>
1020 <field name="model">account.move.line</field>
1021 <field eval="2" name="priority"/>
1022 <field name="arch" type="xml">
1023 <form string="Journal Item" version="7.0">
1027 <field name="name"/>
1029 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1032 <field name="journal_id"/>
1033 <field name="period_id"/>
1034 <field name="company_id" required="1" groups="base.group_multi_company"/>
1037 <notebook colspan="4">
1038 <page string="Information">
1040 <group string="Amount">
1041 <field name="account_id" domain="[('company_id', '=', company_id), ('type','<>','view'), ('type','<>','consolidation')]"/>
1042 <field name="debit"/>
1043 <field name="credit"/>
1044 <field name="quantity"/>
1046 <group string="Accounting Documents">
1047 <field name="invoice" readonly="True"/>
1048 <field name="move_id" required="False"/>
1049 <field name="statement_id" readonly="True"/>
1051 <group string="Dates">
1052 <field name="date"/>
1053 <field name="date_maturity"/>
1054 <field name="date_created" readonly="True"/>
1056 <group string="Taxes">
1057 <field name="tax_code_id"/>
1058 <field name="tax_amount"/>
1059 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1061 <group attrs="{'readonly':[('state','=','valid')]}" string="Currency" groups="base.group_multi_currency">
1062 <field name="currency_id" invisible="1"/>
1063 <field name="amount_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1065 <group string="Reconciliation">
1066 <field name="reconcile_id"/>
1067 <field name="reconcile_partial_id"/>
1069 <group string="States">
1070 <field name="state"/>
1071 <field name="blocked"/>
1073 <group groups="analytic.group_analytic_accounting" string="Analytic">
1074 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1077 <field name="narration" colspan="4" nolabel="1" placeholder="Add an internal note..."/>
1079 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1080 <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)}"/>
1088 <record id="view_move_line_form2" model="ir.ui.view">
1089 <field name="name">account.move.line.form2</field>
1090 <field name="model">account.move.line</field>
1091 <field eval="9" name="priority"/>
1092 <field name="arch" type="xml">
1093 <form string="Journal Item" version="7.0">
1094 <notebook colspan="4">
1095 <page string="Information">
1097 <separator colspan="4" string="General Information"/>
1098 <field name="name"/>
1099 <field name="date"/>
1100 <field name="journal_id" readonly="False"/>
1101 <field name="period_id" readonly="False"/>
1102 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1103 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1105 <field name="debit"/>
1106 <field name="credit"/>
1108 <separator colspan="4" string="Optional Information"/>
1109 <field name="currency_id" invisible="1"/>
1110 <field name="amount_currency" groups="base.group_multi_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1111 <field name="quantity"/>
1112 <field name="move_id" required="False"/>
1114 <field name="date_maturity"/>
1115 <field name="date_created"/>
1116 <field name="date_created"/>
1117 <field name="blocked"/>
1119 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1120 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1121 <separator colspan="4" string="Status"/>
1123 <field name="reconcile_id"/>
1124 <field name="reconcile_partial_id"/>
1125 <field name="state"/>
1128 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1129 <field name="analytic_lines"/>
1136 <record id="account_move_line_graph" model="ir.ui.view">
1137 <field name="name">account.move.line.graph</field>
1138 <field name="model">account.move.line</field>
1139 <field name="arch" type="xml">
1140 <graph string="Account Statistics" type="bar">
1141 <field name="account_id"/>
1142 <field name="debit" operator="+"/>
1143 <field name="credit" operator="+"/>
1148 <record id="view_account_move_line_filter" model="ir.ui.view">
1149 <field name="name">Journal Items</field>
1150 <field name="model">account.move.line</field>
1151 <field name="arch" type="xml">
1152 <search string="Search Journal Items">
1153 <field name="date"/>
1154 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1156 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1157 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1159 <filter icon="terp-dolar_ok!" string="Unreconciled" domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items" name="unreconciled"/>
1161 <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)]"/>
1162 <field name="move_id" string="Number (Move)"/>
1163 <field name="account_id"/>
1164 <field name="partner_id"/>
1165 <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 -->
1166 <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 -->
1167 <group expand="0" string="Group By...">
1168 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1169 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1170 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1171 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1177 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1178 <field name="context">{'journal_type':'general'}</field>
1179 <field name="name">Journal Items</field>
1180 <field name="res_model">account.move.line</field>
1181 <field name="view_id" ref="view_move_line_tree"/>
1182 <field name="view_mode">tree_account_move_line_quickadd</field>
1183 <field name="search_view_id" ref="view_account_move_line_filter"/>
1184 <field name="help" type="html">
1185 <p class="oe_view_nocontent_create">
1186 Select the period and the journal you want to fill.
1188 This view can be used by accountants in order to quickly record
1189 entries in OpenERP. If you want to record a supplier invoice,
1190 start by recording the line of the expense account. OpenERP
1191 will propose to you automatically the Tax related to this
1192 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"
1206 <record id="action_view_move_line" model="ir.actions.act_window">
1207 <field name="name">Lines to reconcile</field>
1208 <field name="res_model">account.move.line</field>
1209 <field name="view_type">form</field>
1210 <field name="view_mode">tree,form</field>
1211 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1212 <field eval="False" name="view_id"/>
1213 <field eval="True" name="filter"/>
1214 <field name="search_view_id" ref="view_account_move_line_filter"/>
1217 <record id="action_move_line_select" model="ir.actions.act_window">
1218 <field name="name">Journal Items</field>
1219 <field name="res_model">account.move.line</field>
1220 <field name="view_type">form</field>
1221 <field name="view_mode">tree,form</field>
1222 <field name="view_id" ref="view_move_line_tree"/>
1223 <field name="search_view_id" ref="view_account_move_line_filter"/>
1224 <field name="context">{'search_default_account_id': [active_id]}</field>
1227 <record id="ir_account_move_line_select" model="ir.values">
1228 <field name="key2">tree_but_open</field>
1229 <field name="model">account.account</field>
1230 <field name="name">Open Journal Items</field>
1231 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1234 Account.Entry Edition
1237 <record id="view_move_tree" model="ir.ui.view">
1238 <field name="name">account.move.tree</field>
1239 <field name="model">account.move</field>
1240 <field name="arch" type="xml">
1241 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1242 <field name="name"/>
1244 <field name="date"/>
1245 <field name="period_id"/>
1246 <field name="journal_id"/>
1247 <field name="partner_id"/>
1248 <field name="amount" sum="Total Amount"/>
1249 <field name="to_check"/>
1250 <field name="state"/>
1254 <record id="view_move_form" model="ir.ui.view">
1255 <field name="name">account.move.form</field>
1256 <field name="model">account.move</field>
1257 <field name="arch" type="xml">
1258 <form string="Account Entry" version="7.0">
1260 <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
1261 <button name="button_cancel" states="posted" string="Cancel" type="object" groups="account.group_account_invoice"/>
1262 <field name="state" widget="statusbar"/>
1264 <sheet string="Journal Entries" >
1265 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
1267 <field name="name" readonly="True" attrs="{'invisible':[('name','=','/')]}"/>
1271 <field name="journal_id"/>
1272 <field name="period_id"/>
1273 <field name="company_id" required="1" groups="base.group_multi_company"/>
1274 <field name="partner_id" invisible="1"/>
1278 <field name="date"/>
1279 <field name="to_check"/>
1280 <field name="amount" invisible="1"/>
1284 <page string="Journal Items">
1285 <field name="line_id" widget="one2many_list"
1286 context="{'line_id': line_id , 'journal_id': journal_id }">
1287 <form string="Journal Item" version="7.0">
1288 <group col="6" colspan="4">
1289 <field name="name"/>
1291 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1293 <field name="journal_id"/>
1294 <field name="period_id"/>
1295 <field name="company_id" required="1" groups="base.group_multi_company"/>
1297 <notebook colspan="4">
1298 <page string="Information">
1300 <group string="Amount">
1301 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1302 <field name="debit"/>
1303 <field name="credit"/>
1304 <field name="quantity"/>
1307 <group string="Accounting Documents">
1308 <field name="invoice"/>
1309 <field name="move_id" required="False"/>
1310 <field name="statement_id"/>
1313 <group string="Dates">
1314 <field name="date"/>
1315 <field name="date_maturity"/>
1316 <field name="date_created"/>
1319 <group string="Taxes">
1320 <field name="tax_code_id"/>
1321 <field name="tax_amount"/>
1322 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1325 <group string="Currency" groups="base.group_multi_currency">
1326 <field name="currency_id"/>
1327 <field name="amount_currency"/>
1330 <group string="Reconciliation">
1331 <field name="reconcile_id"/>
1332 <field name="reconcile_partial_id"/>
1335 <group string="States">
1336 <field name="state"/>
1337 <field name="blocked"/>
1340 <group groups="analytic.group_analytic_accounting" string="Analytic">
1341 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1344 <separator string="Internal Note"/>
1345 <field name="narration"/>
1347 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1348 <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)}"/>
1352 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1353 <field name="invoice"/>
1354 <field name="name"/>
1355 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1356 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1357 <field name="date_maturity"/>
1358 <field name="debit" sum="Total Debit"/>
1359 <field name="credit" sum="Total Credit"/>
1360 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1361 <field name="amount_currency"/>
1362 <field name="currency_id" groups="base.group_multi_currency"/>
1363 <field name="tax_code_id"/>
1364 <field name="tax_amount"/>
1365 <field name="state"/>
1366 <field name="reconcile_id"/>
1367 <field name="reconcile_partial_id"/>
1370 <field name="narration" colspan="4" placeholder="Add an internal note..." nolabel="1" height="50"/>
1378 <record id="view_account_move_filter" model="ir.ui.view">
1379 <field name="name">account.move.select</field>
1380 <field name="model">account.move</field>
1381 <field name="arch" type="xml">
1382 <search string="Search Move">
1383 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1384 <field name="date"/>
1385 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1386 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1388 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1389 <field name="partner_id"/>
1390 <field name="journal_id"/>
1391 <field name="period_id"/>
1392 <group expand="0" string="Group By...">
1393 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1394 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1395 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1396 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1397 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1403 <record id="action_move_journal_line" model="ir.actions.act_window">
1404 <field name="name">Journal Entries</field>
1405 <field name="res_model">account.move</field>
1406 <field name="view_type">form</field>
1407 <field name="view_mode">tree,form</field>
1408 <field name="view_id" ref="view_move_tree"/>
1409 <field name="search_view_id" ref="view_account_move_filter"/>
1410 <field name="help" type="html">
1411 <p class="oe_view_nocontent_create">
1412 Click to create a journal entry.
1414 A journal entry consists of several journal items, each of
1415 which is either a debit or a credit transaction.
1417 OpenERP automatically creates one journal entry per accounting
1418 document: invoice, refund, supplier payment, bank statements,
1419 etc. So, you should record journal entries manually only/mainly
1420 for miscellaneous operations.
1426 icon="STOCK_JUSTIFY_FILL"
1427 action="action_move_journal_line"
1428 id="menu_action_move_journal_line_form"
1429 parent="account.menu_finance_entries"
1430 groups="group_account_user"
1433 <record id="action_move_line_form" model="ir.actions.act_window">
1434 <field name="name">Entries</field>
1435 <field name="type">ir.actions.act_window</field>
1436 <field name="res_model">account.move</field>
1437 <field name="view_type">form</field>
1438 <field name="view_id" ref="view_move_tree"/>
1439 <field name="search_view_id" ref="view_account_move_filter"/>
1443 id="act_account_move_to_account_move_line_open"
1444 name="Journal Items"
1445 context="{'search_default_move_id':[active_id], 'default_move_id': active_id}"
1446 res_model="account.move.line"
1447 src_model="account.move"/>
1450 <record id="action_account_manual_reconcile" model="ir.actions.act_window">
1451 <field name="context">{'search_default_unreconciled': 1,'view_mode':True}</field>
1452 <field name="name">Journal Items to Reconcile</field>
1453 <field name="res_model">account.move.line</field>
1454 <field name="view_id" ref="view_move_line_tree_reconcile"/>
1455 <field name="view_mode">tree_account_reconciliation</field>
1456 <field name="help" type="html">
1458 No journal items found.
1464 name="Journal Items to Reconcile"
1465 action="action_account_manual_reconcile"
1466 id="menu_manual_reconcile_bank"
1468 parent="account.menu_finance_bank_and_cash"/>
1471 name="Manual Reconciliation"
1472 action="action_account_manual_reconcile"
1473 id="menu_manual_reconcile"
1474 parent="account.periodical_processing_reconciliation"/>
1478 id="act_account_acount_move_line_open"
1480 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0, 'default_account_id': active_id}"
1481 res_model="account.move.line"
1482 src_model="account.account"/>
1485 id="act_account_acount_move_line_open_unreconciled"
1486 name="Unreconciled Entries"
1487 res_model="account.move.line"
1488 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
1489 src_model="account.account"/>
1492 domain="[('reconcile_id', '=', active_id)]"
1493 id="act_account_acount_move_line_reconcile_open"
1494 name="Reconciled entries"
1495 res_model="account.move.line"
1496 src_model="account.move.reconcile"/>
1501 Print Journal (and change state)
1502 Close Journal (and verify that there is no draft Entry Lines)
1505 <record id="view_journal_period_tree" model="ir.ui.view">
1506 <field name="name">account.journal.period.tree</field>
1507 <field name="model">account.journal.period</field>
1508 <field name="arch" type="xml">
1509 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1510 <field icon="icon" name="fiscalyear_id"/>
1511 <field name="period_id"/>
1512 <field name="journal_id"/>
1513 <field name="state"/>
1514 <field name="company_id" groups="base.group_multi_company"/>
1518 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1519 <field name="name">Journals</field>
1520 <field name="res_model">account.journal.period</field>
1521 <field name="view_type">tree</field>
1528 <record id="view_model_line_tree" model="ir.ui.view">
1529 <field name="name">account.model.line.tree</field>
1530 <field name="model">account.model.line</field>
1531 <field name="arch" type="xml">
1532 <tree string="Journal Entry Model Line" editable="bottom">
1533 <field name="sequence"/>
1534 <field name="name"/>
1535 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1536 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1537 <field name="partner_id"/>
1538 <field name="debit"/>
1539 <field name="credit"/>
1540 <field name="date_maturity"/>
1546 <record id="view_model_line_form" model="ir.ui.view">
1547 <field name="name">account.model.line.form</field>
1548 <field name="model">account.model.line</field>
1549 <field name="arch" type="xml">
1550 <form string="Journal Entry Model Line" version="7.0">
1552 <field colspan="4" name="name"/>
1553 <field name="sequence"/>
1554 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1555 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1556 <field name="partner_id"/>
1557 <field name="debit"/>
1558 <field name="credit"/>
1559 <field name="quantity"/>
1560 <field name="date_maturity"/>
1566 <record id="view_model_form" model="ir.ui.view">
1567 <field name="name">account.model.form</field>
1568 <field name="model">account.model</field>
1569 <field name="arch" type="xml">
1570 <form string="Journal Entry Model" version="7.0">
1572 <field name="name"/>
1573 <field name="journal_id" on_change="onchange_journal_id(journal_id)"/>
1574 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1577 <field name="lines_id" widget="one2many_list"/>
1578 <separator string="Legend"/>
1579 <field name="legend"/>
1580 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1585 <record id="view_model_tree" model="ir.ui.view">
1586 <field name="name">account.model.tree</field>
1587 <field name="model">account.model</field>
1588 <field name="arch" type="xml">
1589 <tree string="Journal Entry Model">
1590 <field name="name"/>
1591 <field name="journal_id"/>
1592 <field name="company_id" groups="base.group_multi_company"/>
1597 <record id="view_model_search" model="ir.ui.view">
1598 <field name="name">account.model.search</field>
1599 <field name="model">account.model</field>
1600 <field name="arch" type="xml">
1601 <search string="Journal Entry Model">
1602 <field name="name" string="Journal Entry Model"/>
1603 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1604 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1605 <field name="journal_id"/>
1606 <field name="company_id" groups="base.group_multi_company"/>
1607 <group expand="0" string="Group By...">
1608 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1614 <record id="action_model_form" model="ir.actions.act_window">
1615 <field name="name">Recurring Models</field>
1616 <field name="res_model">account.model</field>
1617 <field name="view_type">form</field>
1618 <field name="view_mode">tree,form</field>
1619 <field name="search_view_id" ref="view_model_search"/>
1622 action="action_model_form" id="menu_action_model_form" sequence="5"
1623 parent="account.menu_configuration_misc"/>
1629 <record id="view_payment_term_line_tree" model="ir.ui.view">
1630 <field name="name">account.payment.term.line.tree</field>
1631 <field name="model">account.payment.term.line</field>
1632 <field name="arch" type="xml">
1633 <tree string="Payment Term">
1634 <field name="sequence"/>
1635 <field name="name"/>
1636 <field name="value"/>
1637 <field name="value_amount"/>
1638 <field name="days"/>
1639 <field name="days2"/>
1645 <record id="view_payment_term_line_form" model="ir.ui.view">
1646 <field name="name">account.payment.term.line.form</field>
1647 <field name="model">account.payment.term.line</field>
1648 <field name="arch" type="xml">
1649 <form string="Payment Term" version="7.0">
1651 <field name="name"/>
1652 <field name="sequence"/>
1655 <group string="Amount Computation">
1656 <field name="value"/>
1657 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1659 <group string="Due Date Computation">
1660 <field name="days"/>
1661 <field name="days2"/>
1665 <separator string="Example"/>
1666 <label string="At 14 net days 2 percent, remaining amount at 30 days end of month."/>
1668 <label string="Line 1:" colspan="2"/>
1669 <label string=" Valuation: Percent"/>
1670 <label string=" Number of Days: 14"/>
1671 <label string=" Value amount: 0.02"/>
1672 <label string=" Day of the Month: 0"/>
1675 <label string="Line 2:" colspan="2"/>
1676 <label string=" Valuation: Balance"/>
1677 <label string=" Number of Days: 30"/>
1678 <label string=" Value amount: n.a"/>
1679 <label string=" Day of the Month= -1"/>
1685 <record id="view_payment_term_search" model="ir.ui.view">
1686 <field name="name">account.payment.term.search</field>
1687 <field name="model">account.payment.term</field>
1688 <field name="arch" type="xml">
1689 <search string="Payment Term">
1690 <field name="name" string="Payment Term"/>
1691 <field name="active"/>
1696 <record id="view_payment_term_form" model="ir.ui.view">
1697 <field name="name">account.payment.term.form</field>
1698 <field name="model">account.payment.term</field>
1699 <field name="arch" type="xml">
1700 <form string="Payment Term" version="7.0">
1702 <field name="name"/>
1703 <field name="active"/>
1705 <field name="note" placeholder="Note for the invoice..."/>
1706 <separator string="Computation"/>
1707 <field name="line_ids"/>
1712 <record id="action_payment_term_form" model="ir.actions.act_window">
1713 <field name="name">Payment Terms</field>
1714 <field name="res_model">account.payment.term</field>
1715 <field name="view_type">form</field>
1716 <field name="view_mode">tree,form</field>
1717 <field name="search_view_id" ref="view_payment_term_search"/>
1719 <menuitem action="action_payment_term_form"
1720 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1723 # Account Subscriptions
1726 <record id="view_subscription_line_form" model="ir.ui.view">
1727 <field name="name">account.subscription.line.form</field>
1728 <field name="model">account.subscription.line</field>
1729 <field name="arch" type="xml">
1730 <form string="Subscription lines" version="7.0">
1732 <field name="date"/>
1733 <field name="move_id"/>
1739 <record id="view_subscription_line_tree" model="ir.ui.view">
1740 <field name="name">account.subscription.line.tree</field>
1741 <field name="model">account.subscription.line</field>
1742 <field name="arch" type="xml">
1743 <tree string="Subscription lines">
1744 <field name="date"/>
1745 <field name="move_id"/>
1750 <record id="view_subscription_tree" model="ir.ui.view">
1751 <field name="name">account.subscription.tree</field>
1752 <field name="model">account.subscription</field>
1753 <field name="arch" type="xml">
1754 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1755 <field name="name"/>
1756 <field name="model_id"/>
1758 <field name="date_start"/>
1759 <field name="state"/>
1764 <record id="view_subscription_search" model="ir.ui.view">
1765 <field name="name">account.subscription.search</field>
1766 <field name="model">account.subscription</field>
1767 <field name="arch" type="xml">
1768 <search string="Entry Subscription">
1769 <field name="name" string="Account Subscription"/>
1770 <field name="date_start"/>
1771 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1772 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1773 <field name="model_id"/>
1774 <group expand="0" string="Group By...">
1775 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1776 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1782 <record id="view_subscription_form" model="ir.ui.view">
1783 <field name="name">account.subscription.form</field>
1784 <field name="model">account.subscription</field>
1785 <field name="arch" type="xml">
1786 <form string="Recurring" version="7.0">
1788 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1789 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_highlight"/>
1790 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_highlight"/>
1791 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1796 <field name="name"/>
1797 <field name="model_id"/>
1801 <field name="date_start"/>
1802 <field name="period_type"/>
1803 <field name="period_nbr"/>
1804 <field name="period_total"/>
1807 <separator string="Subscription Lines"/>
1808 <field name="lines_id" widget="one2many_list"/>
1813 <record id="action_subscription_form" model="ir.actions.act_window">
1814 <field name="name">Recurring Lines</field>
1815 <field name="res_model">account.subscription</field>
1816 <field name="view_type">form</field>
1817 <field name="view_mode">tree,form</field>
1818 <field name="search_view_id" ref="view_subscription_search"/>
1819 <field name="help" type="html">
1820 <p class="oe_view_nocontent_create">
1821 Click to define a new recurring entry.
1823 A recurring entry occurs on a recurrent basis from a specific
1824 date, i.e. corresponding to the signature of a contract or an
1825 agreement with a customer or a supplier. You can create such
1826 entries to automate the postings in the system.
1831 name="Define Recurring Entries" action="action_subscription_form"
1832 id="menu_action_subscription_form" sequence="1"
1833 parent="account.menu_finance_recurrent_entries"/>
1835 <record id="action_subscription_form_running" model="ir.actions.act_window">
1836 <field name="name">Running Subscriptions</field>
1837 <field name="res_model">account.subscription</field>
1838 <field name="view_type">form</field>
1839 <field name="view_mode">tree,form</field>
1840 <field name="domain">[('state','=','running')]</field>
1841 <field name="filter" eval="True"/>
1844 <record id="action_subscription_form_new" model="ir.actions.act_window">
1845 <field name="name">New Subscription</field>
1846 <field name="res_model">account.subscription</field>
1847 <field name="view_type">form</field>
1848 <field name="view_mode">form,tree</field>
1849 <field name="view_id" ref="view_subscription_form"/>
1852 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1853 <field name="name">account.subscription.line.form</field>
1854 <field name="model">account.subscription.line</field>
1855 <field eval="20" name="priority"/>
1856 <field name="arch" type="xml">
1857 <form string="Subscription lines" version="7.0">
1859 <field name="subscription_id"/>
1860 <field name="date"/>
1861 <field name="move_id"/>
1867 <record id="view_move_line_tax_tree" model="ir.ui.view">
1868 <field name="name">account.move.line.tax.tree</field>
1869 <field name="model">account.move.line</field>
1870 <field eval="4" name="priority"/>
1871 <field name="arch" type="xml">
1872 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items">
1873 <field name="date"/>
1874 <field name="move_id"/>
1875 <field name="statement_id" string="St."/>
1876 <field name="name"/>
1877 <field name="partner_id"/>
1878 <field name="account_id"/>
1879 <field name="tax_code_id"/>
1880 <field name="tax_amount"/>
1881 <field name="debit" sum="Total debit"/>
1882 <field name="credit" sum="Total credit"/>
1883 <field name="account_tax_id"/>
1884 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1885 <field name="state" invisible="1"/>
1890 <record id="action_tax_code_line_open" model="ir.actions.act_window">
1891 <field name="name">Journal Items</field>
1892 <field name="res_model">account.move.line</field>
1893 <field name="view_type">form</field>
1894 <field name="view_mode">tree,form</field>
1895 <field name="view_id" ref="view_move_line_tax_tree"/>
1896 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
1898 <record id="ir_open_tax_move_line" model="ir.values">
1899 <field name="key2">tree_but_open</field>
1900 <field name="model">account.tax.code</field>
1901 <field name="name">Tax Details</field>
1902 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
1911 id="act_account_journal_2_account_bank_statement"
1912 name="Bank statements"
1913 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
1914 res_model="account.bank.statement"
1915 src_model="account.journal"/>
1918 id="act_account_journal_2_account_move_line"
1919 name="Journal Items"
1920 context="{'search_default_journal_id':active_id, 'default_journal_id': active_id}"
1921 res_model="account.move.line"
1922 src_model="account.journal"/>
1925 context="{'search_default_unreconciled':True, 'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
1926 domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]"
1927 id="act_account_partner_account_move_all"
1928 name="Receivables & Payables"
1929 res_model="account.move.line"
1930 src_model="res.partner"/>
1932 <act_window context="{'search_default_partner_id':[active_id], 'default_partner_id': active_id}" id="act_account_partner_account_move" name="Journal Items" res_model="account.move.line" src_model="res.partner" groups="account.group_account_user"/>
1934 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
1935 <field name="name">Create Account</field>
1936 <field name="model">account.addtmpl.wizard</field>
1937 <field name="arch" type="xml">
1938 <form string="Create Account" version="7.0">
1940 <button icon="gtk-ok" name="action_create" string="Add" type="object" class="oe_highlight" />
1942 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
1943 <field name="cparent_id"/>
1948 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
1949 name="Create Account"
1951 res_model="account.addtmpl.wizard"
1952 context="{'tmpl_ids': active_id}"
1953 src_model="account.account.template"
1954 view_type="form" view_mode="form"/>
1956 <!-- Account Templates -->
1958 id="account_template_folder"
1960 parent="menu_finance_accounting"
1961 groups="account.group_account_manager"/>
1963 id="account_template_taxes"
1965 parent="account_template_folder"
1968 id="account_template_accounts"
1970 parent="account_template_folder"
1974 <record id="view_account_template_form" model="ir.ui.view">
1975 <field name="name">account.account.template.form</field>
1976 <field name="model">account.account.template</field>
1977 <field name="arch" type="xml">
1978 <form string="Account Template" version="7.0">
1980 <page string="General Information">
1982 <field name="name"/>
1983 <field name="code"/>
1985 <field name="parent_id"/>
1986 <field name="shortcut"/>
1987 <field name="type"/>
1988 <field name="user_type"/>
1990 <field name="currency_id" groups="base.group_multi_currency"/>
1991 <field name="reconcile"/>
1992 <field name="chart_template_id"/>
1994 <separator string="Default Taxes"/>
1995 <field name="tax_ids"/>
1997 <page string="Notes">
1998 <field name="note"/>
2005 <record id="view_account_template_tree" model="ir.ui.view">
2006 <field name="name">account.account.template.tree</field>
2007 <field name="model">account.account.template</field>
2008 <field name="arch" type="xml">
2009 <tree string="Account Template">
2010 <field name="code"/>
2011 <field name="name"/>
2012 <field name="type" invisible="1"/>
2013 <field name="user_type" invisible="1"/>
2018 <record id="view_account_template_search" model="ir.ui.view">
2019 <field name="name">account.account.template.search</field>
2020 <field name="model">account.account.template</field>
2021 <field name="arch" type="xml">
2022 <search string="Search Account Templates">
2023 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Template"/>
2024 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2025 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2026 <field name="parent_id"/>
2027 <field name="user_type"/>
2028 <field name="type"/>
2029 <group expand="0" string="Group By...">
2030 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2031 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2037 <record id="action_account_template_form" model="ir.actions.act_window">
2038 <field name="name">Account Templates</field>
2039 <field name="res_model">account.account.template</field>
2040 <field name="view_type">form</field>
2041 <field name="view_mode">tree,form</field>
2042 <field name="search_view_id" ref="view_account_template_search"/>
2045 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2047 <!-- Chart of Accounts Templates -->
2049 <record id="view_account_chart_template_form" model="ir.ui.view">
2050 <field name="name">account.chart.template.form</field>
2051 <field name="model">account.chart.template</field>
2052 <field name="arch" type="xml">
2053 <form string="Chart of Accounts Template" version="7.0">
2055 <field name="name"/>
2056 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2057 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2058 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2059 <field name="parent_id" />
2060 <!--<field name="code_digits" />-->
2061 <field name="visible" />
2062 <field name="complete_tax_set" />
2064 <separator string="Default Taxes" colspan="4"/>
2065 <field name="tax_template_ids" colspan="4" nolabel="1"/>
2066 <separator string="Properties" colspan="4"/>
2068 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
2069 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
2070 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
2071 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
2072 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
2073 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
2074 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2075 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2080 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2081 <field name="name">account.chart.template.search</field>
2082 <field name="model">account.chart.template</field>
2083 <field name="arch" type="xml">
2084 <search string="Search Chart of Account Templates">
2085 <field name="name" string="Account Template"/>
2086 <field name="account_root_id"/>
2087 <field name="bank_account_view_id"/>
2088 <group expand="0" string="Group By...">
2089 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2090 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2091 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2092 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2093 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2094 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2099 <record id="view_account_chart_template_tree" model="ir.ui.view">
2100 <field name="name">account.chart.template.tree</field>
2101 <field name="model">account.chart.template</field>
2102 <field name="arch" type="xml">
2103 <tree string="Chart of Accounts Template">
2104 <field name="name"/>
2105 <field name="account_root_id"/>
2106 <field name="tax_code_root_id"/>
2107 <field name="bank_account_view_id"/>
2108 <field name="property_account_receivable" invisible="1"/>
2109 <field name="property_account_payable" invisible="1"/>
2110 <field name="property_account_expense_categ" invisible="1"/>
2111 <field name="property_account_income_categ" invisible="1"/>
2115 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2116 <field name="name">Chart of Accounts Templates</field>
2117 <field name="res_model">account.chart.template</field>
2118 <field name="view_type">form</field>
2119 <field name="view_mode">tree,form</field>
2122 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2124 <!-- Account Tax Templates -->
2126 <record id="view_account_tax_template_form" model="ir.ui.view">
2127 <field name="name">account.tax.template.form</field>
2128 <field name="model">account.tax.template</field>
2129 <field name="arch" type="xml">
2130 <form string="Account Tax Template" version="7.0">
2132 <field name="name"/>
2133 <field name="description"/>
2134 <field name="chart_template_id"/>
2135 <field name="type"/>
2136 <field name="type_tax_use"/>
2137 <field name="price_include"/>
2140 <page string="Tax Definition">
2142 <field name="applicable_type"/>
2143 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2144 <field name="include_base_amount"/>
2145 <field name="domain"/>
2147 <field name="account_collected_id"/>
2148 <label colspan="2" string="Keep empty to use the income account"/>
2149 <field name="account_paid_id"/>
2150 <label colspan="2" string="Keep empty to use the expense account"/>
2151 <field name="child_depend"/>
2152 <field name="sequence"/>
2155 <page string="Tax Declaration">
2157 <separator colspan="4" string="Invoices"/>
2158 <field name="base_code_id"/>
2159 <field name="base_sign"/>
2160 <field name="tax_code_id"/>
2161 <field name="tax_sign"/>
2163 <separator colspan="4" string="Credit Notes"/>
2164 <field name="ref_base_code_id"/>
2165 <field name="ref_base_sign"/>
2166 <field name="ref_tax_code_id"/>
2167 <field name="ref_tax_sign"/>
2170 <page string="Special Computation">
2171 <separator string="Compute Code (if type=code)"/>
2172 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2173 <separator string="Compute Code for Taxes Included Prices"/>
2174 <field name="python_compute_inv"/>
2175 <separator string="Applicable Code (if type=code)"/>
2176 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2182 <record id="view_account_tax_template_tree" model="ir.ui.view">
2183 <field name="name">account.tax.template.tree</field>
2184 <field name="model">account.tax.template</field>
2185 <field name="arch" type="xml">
2186 <tree string="Account Tax Template">
2187 <field name="name" />
2188 <field name="description"/>
2192 <record id="view_account_tax_template_search" model="ir.ui.view">
2193 <field name="name">account.tax.template.search</field>
2194 <field name="model">account.tax.template</field>
2195 <field name="arch" type="xml">
2196 <search string="Search Tax Templates">
2197 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax Template"/>
2198 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2199 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2200 <field name="chart_template_id"/>
2205 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2206 <field name="name">Tax Templates</field>
2207 <field name="res_model">account.tax.template</field>
2208 <field name="view_type">form</field>
2209 <field name="view_mode">tree,form</field>
2210 <field name="search_view_id" ref="view_account_tax_template_search"/>
2213 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2215 <!-- Account Tax Code Templates -->
2216 <record id="view_tax_code_template_tree" model="ir.ui.view">
2217 <field name="name">account.tax.code.template.tree</field>
2218 <field name="model">account.tax.code.template</field>
2219 <field name="field_parent">child_ids</field>
2220 <field name="arch" type="xml">
2221 <tree string="Account Tax Code Template" toolbar="1">
2222 <field name="name"/>
2223 <field name="code"/>
2224 <field name="parent_id" invisible="1"/>
2229 <record id="view_tax_code_template_search" model="ir.ui.view">
2230 <field name="name">account.tax.code.template.search</field>
2231 <field name="model">account.tax.code.template</field>
2232 <field name="arch" type="xml">
2233 <search string="Search tax template">
2234 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Template"/>
2235 <field name="parent_id"/>
2236 <group expand="0" string="Group By...">
2237 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2243 <record id="view_tax_code_template_form" model="ir.ui.view">
2244 <field name="name">account.tax.code.template.form</field>
2245 <field name="model">account.tax.code.template</field>
2246 <field name="arch" type="xml">
2247 <form string="Account Tax Code Template" version="7.0">
2249 <field name="name"/>
2250 <field name="code"/>
2251 <field name="parent_id"/>
2252 <field name="sign"/>
2254 <separator string="Description"/>
2255 <field name="info"/>
2260 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2261 <field name="name">Tax Code Templates</field>
2262 <field name="res_model">account.tax.code.template</field>
2263 <field name="view_type">form</field>
2264 <field name="view_mode">tree,form</field>
2265 <field name="search_view_id" ref="view_tax_code_template_search"/>
2267 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2270 <!-- Wizard for Multi Charts of Accounts -->
2272 <record id="view_wizard_multi_chart" model="ir.ui.view">
2273 <field name="name">Set Your Accounting Options</field>
2274 <field name="model">wizard.multi.charts.accounts</field>
2275 <field name="inherit_id" ref="base.res_config_view_base"/>
2276 <field name="arch" type="xml">
2277 <form position="attributes" version="7.0">
2278 <attribute name="string">Accounting Application Configuration</attribute>
2280 <group string="res_config_contents" position="replace">
2281 <field name="only_one_chart_template" invisible="1"/>
2282 <field name="complete_tax_set" invisible="1"/>
2284 <group attrs="{'invisible': [('only_one_chart_template','=',True)]}">
2285 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2287 <group groups="base.group_multi_company">
2288 <field name="company_id" widget="selection" on_change="onchange_company_id(company_id)"/> <!-- 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 -->
2291 <field name="currency_id" class="oe_inline"/>
2292 <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'))]"/>
2293 <label for="sale_tax_rate" string="Sale Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2294 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2295 <field name="sale_tax_rate" class="oe_inline" on_change="onchange_tax_rate(sale_tax_rate)"/> %%
2297 <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'))]"/>
2298 <label for="purchase_tax_rate" string="Purchase Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2299 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2300 <field name="purchase_tax_rate" class="oe_inline"/> %%
2303 <group groups="account.group_account_user">
2304 <field name="code_digits"/>
2311 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2312 <field name="name">Set Your Accounting Options</field>
2313 <field name="type">ir.actions.act_window</field>
2314 <field name="res_model">wizard.multi.charts.accounts</field>
2315 <field name="view_id" ref="view_wizard_multi_chart"/>
2316 <field name="view_type">form</field>
2317 <field name="view_mode">form</field>
2318 <field name="target">new</field>
2321 <record id="account_account_graph" model="ir.ui.view">
2322 <field name="name">account.account.graph</field>
2323 <field name="model">account.account</field>
2324 <field name="arch" type="xml">
2325 <graph string="Account Statistics" type="bar">
2326 <field name="name"/>
2327 <field name="balance" operator="+"/>
2332 <!-- Fiscal Position Templates -->
2334 <record id="view_account_position_template_search" model="ir.ui.view">
2335 <field name="name">account.fiscal.position.template.search</field>
2336 <field name="model">account.fiscal.position.template</field>
2337 <field name="arch" type="xml">
2338 <search string="Fiscal Position">
2339 <field name="name" string="Fiscal Position Template"/>
2344 <record id="view_account_position_template_form" model="ir.ui.view">
2345 <field name="name">account.fiscal.position.template.form</field>
2346 <field name="model">account.fiscal.position.template</field>
2347 <field name="arch" type="xml">
2348 <form string="Fiscal Position Template" version="7.0">
2350 <field name="name"/>
2351 <field name="chart_template_id"/>
2353 <field name="tax_ids">
2354 <tree string="Taxes Mapping" editable="bottom">
2355 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2356 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2358 <form string="Taxes Mapping" version="7.0">
2359 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2360 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2363 <field name="account_ids">
2364 <tree string="Accounts Mapping" editable="bottom">
2365 <field name="account_src_id"/>
2366 <field name="account_dest_id"/>
2368 <form string="Accounts Mapping" version="7.0">
2369 <field name="account_src_id"/>
2370 <field name="account_dest_id"/>
2376 <record id="view_account_position_template_tree" model="ir.ui.view">
2377 <field name="name">account.fiscal.position.template.tree</field>
2378 <field name="model">account.fiscal.position.template</field>
2379 <field name="arch" type="xml">
2380 <tree string="Fiscal Position">
2381 <field name="name"/>
2386 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2387 <field name="name">Fiscal Position Templates</field>
2388 <field name="res_model">account.fiscal.position.template</field>
2389 <field name="view_type">form</field>
2390 <field name="view_mode">tree,form</field>
2391 <field name="search_view_id" ref="view_account_position_template_search"/>
2395 action="action_account_fiscal_position_template_form"
2396 id="menu_action_account_fiscal_position_form_template"
2397 parent="account_template_taxes" sequence="20"/>
2399 <!-- Cash Statement -->
2400 <record id="view_cash_statement_tree" model="ir.ui.view">
2401 <field name="name">account.bank.statement.tree</field>
2402 <field name="model">account.bank.statement</field>
2403 <field name="arch" type="xml">
2404 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2405 <field name="name"/>
2406 <field name="date"/>
2407 <field name="period_id"/>
2408 <field name="journal_id"/>
2409 <field name="balance_start"/>
2410 <field name="balance_end_real"/>
2411 <field name="balance_end" invisible="1" />
2412 <field name="state"/>
2417 <record id="view_bank_statement_form2" model="ir.ui.view">
2418 <field name="name">account.bank.statement.form</field>
2419 <field name="model">account.bank.statement</field>
2420 <field name="arch" type="xml">
2421 <form string="Statement" version="7.0">
2423 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
2424 <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
2425 <button name="button_cancel" states="confirm,open" string="Cancel" type="object"/>
2426 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2428 <sheet string="Statement">
2429 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
2430 <h1><field name="name" class="oe_inline" attrs="{'invisible':[('name','=','/')]}"/></h1>
2433 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" />
2434 <field name="user_id" readonly="1" string="Responsible"/>
2435 <field name="total_entry_encoding"/>
2436 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2439 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2440 <field name="closing_date" readonly="1"/>
2441 <field name="period_id" class="oe_inline"/>
2442 <field name="currency" invisible="1"/>
2446 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2447 <field name="line_ids" context="{'date':date}">
2448 <tree editable="bottom" string="Statement lines">
2449 <field name="sequence" invisible="1"/>
2450 <field name="date"/>
2451 <field name="name"/>
2453 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2454 <field name="type" on_change="onchange_type(partner_id, type)"/>
2455 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2456 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2457 <field name="amount"/>
2459 <form string="Statement lines" version="7.0">
2461 <field name="date"/>
2462 <field name="name"/>
2464 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2465 <field name="type" on_change="onchange_type(partner_id, type)"/>
2466 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2467 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2468 <field name="amount"/>
2469 <field name="sequence"/>
2471 <separator string="Notes"/>
2472 <field name="note"/>
2476 <page string="Cash Control">
2477 <group col="2" expand="1">
2478 <field name="opening_details_ids" nolabel="1" colspan="4" attrs="{'invisible' : [('state', '!=', 'draft')]}">
2479 <tree string="Opening Cashbox Lines" editable="bottom">
2480 <field name="pieces"/>
2481 <field name="number_opening" string="Opening Unit Numbers" on_change="on_change_sub_opening(pieces, number_opening, parent.balance_end)"/>
2482 <field name="subtotal_opening" string="Opening Subtotal"/>
2485 <field name="closing_details_ids" nolabel="1" colspan="4" attrs="{'invisible' : [('state', '=', 'draft')]}">
2486 <tree string="Closing Cashbox Lines" editable="bottom">
2487 <field name="pieces" readonly="1" />
2488 <field name="number_opening" string="Opening Unit Numbers" readonly="1" />
2489 <field name="subtotal_opening" string="Opening Subtotal" readonly="1" />
2491 <field name="number_closing" string="Closing Unit Numbers" on_change="on_change_sub_closing(pieces, number_closing, parent.balance_end)"/>
2492 <field name="subtotal_closing" string="Closing Subtotal"/>
2497 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2498 <field name="move_line_ids" string="Journal Entries"/>
2501 <group col="6" colspan="4">
2502 <group col="2" colspan="2">
2503 <separator string="Opening Balance" colspan="4"/>
2504 <field name="balance_start" readonly="1" string="Opening Cash Control" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2505 <field name="last_closing_balance" readonly="1" string="Last Closing Balance" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2506 <field name="total_entry_encoding" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2508 <group string="Closing Balance">
2509 <field name="balance_end" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2516 <record id="account_cash_statement_graph" model="ir.ui.view">
2517 <field name="name">account.bank.statement.graph</field>
2518 <field name="model">account.bank.statement</field>
2519 <field name="arch" type="xml">
2520 <graph string="Account Statistics" type="bar">
2521 <field name="date"/>
2522 <field name="balance_start" operator="+"/>
2523 <field name="balance_end" operator="+"/>
2527 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2528 <field name="name">Cash Registers</field>
2529 <field name="type">ir.actions.act_window</field>
2530 <field name="res_model">account.bank.statement</field>
2531 <field name="view_type">form</field>
2532 <field name="view_mode">tree,form,graph</field>
2533 <field name="view_id" ref="view_cash_statement_tree"/>
2534 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2535 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2536 <field name="context">{'journal_type':'cash'}</field>
2537 <field name="help" type="html">
2538 <p class="oe_view_nocontent_create">
2539 Click to create a new cash log.
2541 A Cash Register allows you to manage cash entries in your cash
2542 journals. This feature provides an easy way to follow up cash
2543 payments on a daily basis. You can enter the coins that are in
2544 your cash box, and then post entries when money comes in or
2545 goes out of the cash box.
2549 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2550 <field name="sequence" eval="1"/>
2551 <field name="view_mode">tree</field>
2552 <field name="view_id" ref="view_cash_statement_tree"/>
2553 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2555 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2556 <field name="sequence" eval="1"/>
2557 <field name="view_mode">form</field>
2558 <field name="view_id" ref="view_bank_statement_form2"/>
2559 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2561 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2562 <field name="sequence" eval="1"/>
2563 <field name="view_mode">graph</field>
2564 <field name="view_id" ref="account_cash_statement_graph"/>
2565 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2567 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2568 parent="menu_finance_bank_and_cash"/>
2570 <menuitem id="menu_account_customer" name="Customers"
2571 parent="menu_finance_receivables"
2572 action="base.action_partner_customer_form" sequence="100"/>
2574 <menuitem id="menu_account_supplier" name="Suppliers"
2575 parent="menu_finance_payables"
2576 action="base.action_partner_supplier_form" sequence="100"/>
2582 <record id="view_account_financial_report_form" model="ir.ui.view">
2583 <field name="name">account.financial.report.form</field>
2584 <field name="model">account.financial.report</field>
2585 <field name="arch" type="xml">
2586 <form string="Account Report" version="7.0">
2588 <field name="name"/>
2589 <field name="parent_id"/>
2590 <field name="sequence"/>
2591 <field name="type"/>
2592 <field name="sign"/>
2593 <field name="style_overwrite"/>
2596 <page string="Report">
2598 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2599 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2601 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2602 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2609 <record id="view_account_financial_report_tree" model="ir.ui.view">
2610 <field name="name">account.financial.report.tree</field>
2611 <field name="model">account.financial.report</field>
2612 <field name="arch" type="xml">
2613 <tree string="Account Report">
2614 <field name="name"/>
2615 <field name="parent_id" invisible="1"/>
2616 <field name="type"/>
2617 <field name="account_report_id"/>
2622 <record id="view_account_financial_report_search" model="ir.ui.view">
2623 <field name="name">account.financial.report.search</field>
2624 <field name="model">account.financial.report</field>
2625 <field name="arch" type="xml">
2626 <search string="Account Report">
2627 <field name="name" string="Account Report"/>
2628 <field name="type"/>
2629 <field name="account_report_id"/>
2630 <group expand="0" string="Group By...">
2631 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2632 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2638 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2639 <field name="name">Financial Reports</field>
2640 <field name="type">ir.actions.act_window</field>
2641 <field name="res_model">account.financial.report</field>
2642 <field name="view_type">form</field>
2643 <field name="view_mode">tree,form</field>
2644 <field name="search_view_id" ref="view_account_financial_report_search"/>
2645 <field name="view_id" ref="view_account_financial_report_tree"/>
2648 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2650 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2651 <field name="name">account.report.hierarchy</field>
2652 <field name="model">account.financial.report</field>
2653 <field name="field_parent">children_ids</field>
2654 <field name="arch" type="xml">
2655 <tree string="Account Reports Hierarchy">
2656 <field name="name"/>
2657 <field name="type"/>
2658 <field name="parent_id" invisible="1"/>
2659 <field name="account_report_id"/>
2663 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2664 <field name="name">Financial Reports Hierarchy</field>
2665 <field name="res_model">account.financial.report</field>
2666 <field name="view_type">tree</field>
2667 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2668 <field name="domain">[('parent_id','=',False)]</field>
2671 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2672 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>