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="type">form</field>
13 <field name="arch" type="xml">
16 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
17 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
18 <field name="state" widget="statusbar" nolabel="1" />
20 <sheet string="Fiscalyear" layout="auto">
25 <field name="company_id" groups="base.group_multi_company"/>
26 <field name="end_journal_period_id"/>
29 <field name="date_start"/>
30 <field name="date_stop"/>
33 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
34 <form string="Period" version="7.0">
38 <field name="date_start"/>
39 <field name="date_stop"/>
40 <field name="special"/>
48 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
49 <field name="name">account.fiscalyear.tree</field>
50 <field name="model">account.fiscalyear</field>
51 <field name="type">tree</field>
52 <field name="arch" type="xml">
53 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Fiscalyear">
56 <field name="company_id" groups="base.group_multi_company"/>
61 <record id="view_account_fiscalyear_search" model="ir.ui.view">
62 <field name="name">account.fiscalyear.search</field>
63 <field name="model">account.fiscalyear</field>
64 <field name="type">search</field>
65 <field name="arch" type="xml">
66 <search string="Search Fiscalyear">
68 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Fiscal Year"/>
69 <separator orientation="vertical"/>
70 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
71 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
72 <separator orientation="vertical"/>
76 <group expand="0" string="Group By...">
77 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
82 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
83 <field name="name">Fiscal Years</field>
84 <field name="res_model">account.fiscalyear</field>
85 <field name="view_type">form</field>
86 <field name="view_mode">tree,form</field>
87 <field name="help">Define your company's financial year according to your needs. A financial year is a period at the end of which a company's accounts are made up (usually 12 months). The financial year is usually referred to by the date in which it ends. For example, if a company's financial year ends November 30, 2011, then everything between December 1, 2010 and November 30, 2011 would be referred to as FY 2011. You are not obliged to follow the actual calendar year.</field>
89 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
90 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
96 <record id="view_account_period_form" model="ir.ui.view">
97 <field name="name">account.period.form</field>
98 <field name="model">account.period</field>
99 <field name="type">form</field>
100 <field name="arch" type="xml">
103 <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
104 <field name="state" widget="statusbar" nolabel="1"/>
110 <field name="date_start"/>
111 <field name="date_stop"/>
112 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
113 <field name="fiscalyear_id" widget="selection"/>
114 <field name="special"/>
120 <record id="view_account_period_tree" model="ir.ui.view">
121 <field name="name">account.period.tree</field>
122 <field name="model">account.period</field>
123 <field name="type">tree</field>
124 <field name="arch" type="xml">
125 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
128 <field name="date_start"/>
129 <field name="date_stop"/>
130 <field name="special"/>
131 <field name="company_id" groups="base.group_multi_company"/>
132 <field name="state"/>
137 <record id="view_account_period_search" model="ir.ui.view">
138 <field name="name">account.period.search</field>
139 <field name="model">account.period</field>
140 <field name="type">search</field>
141 <field name="arch" type="xml">
142 <search string="Search Period">
144 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Period"/>
145 <separator orientation="vertical"/>
146 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
152 <record id="action_account_period_form" model="ir.actions.act_window">
153 <field name="name">Periods</field>
154 <field name="res_model">account.period</field>
155 <field name="view_type">form</field>
156 <field name="view_mode">tree,form</field>
157 <field name="context">{'search_default_draft': 1}</field>
158 <field name="help">Here you can define a financial period, an interval of time in your company's financial year. An accounting period typically is a month or a quarter. It usually corresponds to the periods of the tax declaration. Create and manage periods from here and decide whether a period should be closed or left open depending on your company's activities over a specific period.</field>
160 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23" groups="base.group_no_one"/>
166 <record id="view_account_form" model="ir.ui.view">
167 <field name="name">account.account.form</field>
168 <field name="model">account.account</field>
169 <field name="type">form</field>
170 <field name="arch" type="xml">
171 <form string="Account" version="7.0">
172 <label for="name" class="oe_edit_only" string="Account Name and Code:"/>
174 <field name="name"/> -
177 <label for="company_id"/>
179 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
183 <field name="parent_id"/>
185 <field name="user_type"/>
186 <field name="active"/>
189 <field name="debit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
190 <field name="credit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
191 <field name="balance" invisible="context.get('config_invisible', True)"/>
194 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
195 <field name="child_consol_ids"
196 attrs="{'readonly':[('type','!=','consolidation')]}"
197 widget="many2many_tags"/>
199 <group string="Currency">
200 <field name="currency_id"/>
201 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
203 <group string="Reconcile">
204 <field name="reconcile"/>
212 <record id="view_account_search" model="ir.ui.view">
213 <field name="name">account.account.search</field>
214 <field name="model">account.account</field>
215 <field name="type">search</field>
216 <field name="arch" type="xml">
217 <search string="Accounts">
219 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account"/>
220 <separator orientation="vertical"/>
221 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
222 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
223 <separator orientation="vertical"/>
224 <field name="user_type"/>
227 <group expand="0" string="Group By...">
228 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
229 <separator orientation="vertical"/>
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="type">tree</field>
241 <field name="field_parent">child_id</field>
242 <field name="arch" type="xml">
243 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
246 <field name="parent_id" invisible="1"/>
247 <field name="user_type" invisible="1"/>
248 <field name="debit"/>
249 <field name="credit"/>
250 <field name="balance"/>
252 <field name="company_id" groups="base.group_multi_company"/>
253 <field name="company_currency_id"/>
257 <record id="view_treasory_graph" model="ir.ui.view">
258 <field name="name">account.treasury.graph</field>
259 <field name="model">account.account</field>
260 <field name="type">graph</field>
261 <field name="arch" type="xml">
262 <graph string="Treasury Analysis" type="bar">
264 <field name="balance" operator="+"/>
268 <record id="action_account_form" model="ir.actions.act_window">
269 <field name="name">Accounts</field>
270 <field name="res_model">account.account</field>
271 <field name="view_type">form</field>
272 <field name="view_mode">tree,form,graph</field>
273 <field name="search_view_id" ref="view_account_search"/>
274 <field name="view_id" ref="view_account_list"/>
275 <field name="help">Create and manage the accounts you need to record journal entries. An account is part of a ledger allowing your company to register all kinds of debit and credit transactions. Companies present their annual accounts in two main parts: the balance sheet and the income statement (profit and loss account). The annual accounts of a company are required by law to disclose a certain amount of information. They have to be certified by an external auditor annually.</field>
277 <menuitem id="account_account_menu" name="Accounts" parent="account.menu_finance_configuration" sequence="15"/>
278 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
280 <record id="view_account_tree" model="ir.ui.view">
281 <field name="name">account.account.tree</field>
282 <field name="model">account.account</field>
283 <field name="type">tree</field>
284 <field name="field_parent">child_id</field>
285 <field name="arch" type="xml">
286 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
289 <field name="debit"/>
290 <field name="credit"/>
291 <field name="balance"/>
292 <field name="company_currency_id"/>
293 <field name="company_id" groups="base.group_multi_company"/>
295 <field name="parent_id" invisible="1"/>
299 <record id="action_account_tree" model="ir.actions.act_window">
300 <field name="name">Chart of Accounts</field>
301 <field name="res_model">account.account</field>
302 <field name="view_type">tree</field>
303 <field name="view_id" ref="view_account_tree"/>
304 <field name="domain">[('parent_id','=',False)]</field>
307 <record id="view_account_gain_loss_tree" model="ir.ui.view">
308 <field name="name">Unrealized Gain or Loss</field>
309 <field name="model">account.account</field>
310 <field name="type">tree</field>
311 <field name="arch" type="xml">
312 <tree string="Unrealized Gains and losses">
315 <field name="parent_id" invisible="1"/>
316 <field name="user_type" invisible="1"/>
317 <field name="type" invisible="1"/>
318 <field name="currency_id"/>
319 <field name="exchange_rate"/>
320 <field name="foreign_balance"/>
321 <field name="adjusted_balance"/>
322 <field name="balance"/>
323 <field name="unrealized_gain_loss"/>
328 <record id="action_account_gain_loss" model="ir.actions.act_window">
329 <field name="name">Unrealized Gain or Loss</field>
330 <field name="res_model">account.account</field>
331 <field name="view_type">form</field>
332 <field name="view_mode">tree</field>
333 <field name="view_id" ref="view_account_gain_loss_tree"/>
334 <field name="domain">[('currency_id','!=',False)]</field>
335 <field name="help">When doing multi-currency transactions, you may loose or gain some amount due to changes of exchange rate. This menu gives you a forecast of the Gain or Loss you'd realized if those transactions were ended today. Only for accounts having a secondary currency set.</field>
339 name="Unrealized Gain or Loss"
340 action="action_account_gain_loss"
341 groups="account.group_account_user"
342 id="menu_unrealized_gains_losses"
343 parent="account.menu_multi_currency"/>
348 Account Journal Columns
351 <record id="view_journal_column_form" model="ir.ui.view">
352 <field name="name">account.journal.column.form</field>
353 <field name="model">account.journal.column</field>
354 <field name="type">form</field>
355 <field name="arch" type="xml">
356 <form string="Journal Column" version="7.0">
358 <field name="field"/>
359 <field name="sequence"/>
363 <record id="view_journal_column_tree" model="ir.ui.view">
364 <field name="name">account.journal.column.tree</field>
365 <field name="model">account.journal.column</field>
366 <field name="type">tree</field>
367 <field name="arch" type="xml">
368 <tree string="Journal Column">
369 <field name="sequence"/>
375 <record id="view_account_journal_view_search" model="ir.ui.view">
376 <field name="name">account.journal.view.search</field>
377 <field name="model">account.journal.view</field>
378 <field name="type">search</field>
379 <field name="arch" type="xml">
380 <search string="Journal View">
381 <field name="name" string="Journal View"/>
385 <record id="view_account_journal_view_tree" model="ir.ui.view">
386 <field name="name">account.journal.view.tree</field>
387 <field name="model">account.journal.view</field>
388 <field name="type">tree</field>
389 <field name="arch" type="xml">
390 <tree string="Journal View">
395 <record id="view_account_journal_view_form" model="ir.ui.view">
396 <field name="name">account.journal.view.form</field>
397 <field name="model">account.journal.view</field>
398 <field name="type">form</field>
399 <field name="arch" type="xml">
400 <form string="Journal View" version="7.0">
402 <field name="columns_id"/>
406 <record id="action_account_journal_view" model="ir.actions.act_window">
407 <field name="name">Journal Views</field>
408 <field name="res_model">account.journal.view</field>
409 <field name="view_type">form</field>
410 <field name="view_mode">tree,form</field>
411 <field name="search_view_id" ref="view_account_journal_view_search"/>
412 <field name="help">Here you can customize an existing journal view or create a new view. Journal views determine the way you can record entries in your journal. Select the fields you want to appear in a journal and determine the sequence in which they will appear. Then you can create a new journal and link your view to it.</field>
415 <menuitem action="action_account_journal_view" id="menu_action_account_journal_view" parent="account.menu_journals" sequence="20"/>
421 <record id="view_account_journal_tree" model="ir.ui.view">
422 <field name="name">account.journal.tree</field>
423 <field name="model">account.journal</field>
424 <field name="type">tree</field>
425 <field name="arch" type="xml">
426 <tree string="Account Journal">
430 <field name="user_id"/>
431 <field name="company_id" groups="base.group_multi_company"/>
435 <record id="view_account_journal_search" model="ir.ui.view">
436 <field name="name">account.journal.search</field>
437 <field name="model">account.journal</field>
438 <field name="type">search</field>
439 <field name="arch" type="xml">
440 <search string="Search Account Journal">
442 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Journal"/>
443 <separator orientation="vertical"/>
444 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
445 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
446 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
447 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
448 <separator orientation="vertical"/>
449 <field name="user_id"/>
452 <group expand="0" string="Group By...">
453 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
454 <separator orientation="vertical"/>
455 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
461 <record id="view_account_journal_form" model="ir.ui.view">
462 <field name="name">account.journal.form</field>
463 <field name="model">account.journal</field>
464 <field name="type">form</field>
465 <field name="arch" type="xml">
466 <form string="Account Journal" version="7.0">
467 <div class="oe_title">
468 <label for="name" class="oe_edit_only"/>
469 <h1><field name="name"/></h1>
470 <label for="type" class="oe_edit_only"/>
471 <h2><field name="type" on_change="onchange_type(type, currency, context)"/></h2>
474 <page string="Journal Configuration">
478 <field name="currency"/>
481 <field name="company_id" groups="base.group_multi_company"/>
482 <field name="user_id"/>
485 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
486 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
487 <field name="view_id" widget="selection"/>
488 <field name="sequence_id" required="0"/>
491 <field name="centralisation"/>
492 <field name="entry_posted"/>
493 <field name="allow_date"/>
494 <field name="group_invoice_lines"/>
497 <field name="type_control_ids" widget="many2many_tags"/>
498 <field name="account_control_ids" widget="many2many_tags"/>
507 <record id="action_account_journal_form" model="ir.actions.act_window">
508 <field name="name">Journals</field>
509 <field name="res_model">account.journal</field>
510 <field name="view_type">form</field>
511 <field name="view_mode">tree,form</field>
512 <field name="help">Create and manage your company's journals from this menu. A journal is used to record transactions of all accounting data related to the day-to-day business of your company using double-entry bookkeeping system. Depending on the nature of its activities and the number of daily transactions, a company may keep several types of specialized journals such as a cash journal, purchase journal, sales journal...</field>
514 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
516 <record id="view_account_bank_statement_filter" model="ir.ui.view">
517 <field name="name">account.cash.statement.select</field>
518 <field name="model">account.bank.statement</field>
519 <field name="type">search</field>
520 <field name="arch" type="xml">
521 <search string="Search Bank Statements">
523 <field name="name" string="Bank Statement"/>
524 <separator orientation="vertical"/>
526 <separator orientation="vertical"/>
527 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
528 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
529 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
530 <separator orientation="vertical"/>
531 <field name="journal_id" widget='selection' domain="[('type', '=', 'cash')]" />
534 <group expand="0" string="Group By...">
535 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
536 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
537 <separator orientation="vertical"/>
538 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
544 <record id="view_bank_statement_tree" model="ir.ui.view">
545 <field name="name">account.bank.statement.tree</field>
546 <field name="model">account.bank.statement</field>
547 <field name="type">tree</field>
548 <field name="arch" type="xml">
549 <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">
552 <field name="period_id"/>
553 <field name="journal_id"/>
554 <field name="balance_start"/>
555 <field name="balance_end_real"/>
556 <field name="balance_end" invisible="1"/>
557 <field name="state"/>
561 <record id="view_bank_statement_search" model="ir.ui.view">
562 <field name="name">account.bank.statement.search</field>
563 <field name="model">account.bank.statement</field>
564 <field name="type">search</field>
565 <field name="arch" type="xml">
566 <search string="Search Bank Statements">
568 <field name="name" string="Bank Statement"/>
569 <separator orientation="vertical"/>
571 <separator orientation="vertical"/>
572 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
573 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
574 <separator orientation="vertical"/>
575 <field name="period_id"/>
576 <field name="journal_id" widget="selection" domain="[('type', '=', 'bank')]" />
579 <group expand="0" string="Group By...">
580 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
581 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
582 <separator orientation="vertical"/>
583 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
588 <record id="view_bank_statement_form" model="ir.ui.view">
589 <field name="name">account.bank.statement.form</field>
590 <field name="model">account.bank.statement</field>
591 <field name="type">form</field>
592 <field name="arch" type="xml">
593 <form string="Bank Statement" version="7.0">
595 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_highlight"/>
596 <button name="button_dummy" states="draft" string="Compute" type="object" class="oe_highlight"/>
597 <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
598 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
604 <field name="date" on_change="onchange_date(date, company_id)"/>
605 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
606 <field name="period_id"/>
607 <field name='company_id' widget="selection" groups="base.group_multi_company" />
609 <field name="balance_start"/>
610 <field name="balance_end_real"/>
611 <field name="currency" invisible="1"/>
616 <page string="Transactions" name="statement_line_ids">
617 <field name="line_ids" context="{'date':date}">
618 <tree editable="bottom" string="Statement lines">
619 <field name="sequence" readonly="1" invisible="1"/>
623 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
624 <field name="type" on_change="onchange_type(partner_id, type)"/>
625 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
626 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
627 <field name="amount"/>
629 <form string="Statement lines" version="7.0">
634 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
635 <field name="type" on_change="onchange_type(partner_id, type)"/>
636 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
637 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
638 <field name="amount"/>
639 <field name="sequence" readonly="0"/>
641 <separator string="Notes"/>
646 <page string="Journal Entries" name="move_live_ids">
647 <field name="move_line_ids"/>
656 <record id="action_bank_statement_tree" model="ir.actions.act_window">
657 <field name="name">Bank Statements</field>
658 <field name="res_model">account.bank.statement</field>
659 <field name="view_type">form</field>
660 <field name="view_mode">tree,form,graph</field>
661 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
662 <field name="context">{'journal_type':'bank'}</field>
663 <field name="search_view_id" ref="view_bank_statement_search"/>
664 <field name="help">A bank statement is a summary of all financial transactions occurring over a given period of time on a deposit account, a credit card or any other type of financial account. The starting balance will be proposed automatically and the closing balance is to be found on your statement. When you are in the Payment column of a line, you can press F1 to open the reconciliation form.</field>
666 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
667 <field name="sequence" eval="1"/>
668 <field name="view_mode">tree</field>
669 <field name="view_id" ref="view_bank_statement_tree"/>
670 <field name="act_window_id" ref="action_bank_statement_tree"/>
672 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
673 <field name="sequence" eval="1"/>
674 <field name="view_mode">form</field>
675 <field name="view_id" ref="view_bank_statement_form"/>
676 <field name="act_window_id" ref="action_bank_statement_tree"/>
679 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
681 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
682 <field name="name">Draft statements</field>
683 <field name="res_model">account.bank.statement</field>
684 <field name="view_type">form</field>
685 <field name="view_mode">tree,form</field>
686 <field name="domain">[('state','=','draft')]</field>
687 <field name="filter" eval="True"/>
693 <record id="view_account_type_search" model="ir.ui.view">
694 <field name="name">account.account.type.search</field>
695 <field name="model">account.account.type</field>
696 <field name="type">search</field>
697 <field name="arch" type="xml">
698 <search string="Account Type">
699 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Type"/>
704 <record id="view_account_type_tree" model="ir.ui.view">
705 <field name="name">account.account.type.tree</field>
706 <field name="model">account.account.type</field>
707 <field name="type">tree</field>
708 <field name="arch" type="xml">
709 <tree string="Account Type">
716 <record id="view_account_type_form" model="ir.ui.view">
717 <field name="name">account.account.type.form</field>
718 <field name="model">account.account.type</field>
719 <field name="type">form</field>
720 <field name="arch" type="xml">
721 <form string="Account Type" version="7.0">
728 <field name="report_type"/>
729 <field name="close_method"/>
732 <separator string="Description"/>
737 <record id="action_account_type_form" model="ir.actions.act_window">
738 <field name="name">Account Types</field>
739 <field name="res_model">account.account.type</field>
740 <field name="view_type">form</field>
741 <field name="view_mode">tree,form</field>
742 <field name="search_view_id" ref="view_account_type_search"/>
743 <field name="help">An account type is used to determine how an account is used in each journal. The deferral method of an account type determines the process for the annual closing. Reports such as the Balance Sheet and the Profit and Loss report use the category (profit/loss or balance sheet). For example, the account type could be linked to an asset account, expense account or payable account. From this view, you can create and manage the account types you need for your company.</field>
745 <menuitem action="action_account_type_form" sequence="20" id="menu_action_account_type_form" parent="account_account_menu" groups="base.group_no_one"/>
749 <record id="view_account_move_tree" model="ir.ui.view">
750 <field name="name">account.move.tree</field>
751 <field name="model">account.move</field>
752 <field name="type">tree</field>
753 <field name="arch" type="xml">
754 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
758 <field name="period_id"/>
759 <field name="journal_id"/>
760 <field name="partner_id"/>
761 <field name="amount" sum="Total Amount"/>
762 <field name="state"/>
771 <record id="view_move_reconcile_form" model="ir.ui.view">
772 <field name="name">account.move.reconcile.form</field>
773 <field name="model">account.move.reconcile</field>
774 <field name="type">form</field>
775 <field name="arch" type="xml">
776 <form string="Journal Entry Reconcile" version="7.0">
779 <field name="create_date"/>
782 <separator string="Reconcile Entries"/>
783 <field name="line_id"/>
784 <separator string="Partial Reconcile Entries"/>
785 <field name="line_partial_ids"/>
793 <record id="view_tax_code_search" model="ir.ui.view">
794 <field name="name">account.tax.code.search</field>
795 <field name="model">account.tax.code</field>
796 <field name="type">search</field>
797 <field name="arch" type="xml">
798 <search string="Account Tax Code">
799 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Code"/>
800 <field name="parent_id"/>
801 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
805 <record id="view_tax_code_tree" model="ir.ui.view">
806 <field name="name">account.tax.code.tree</field>
807 <field name="model">account.tax.code</field>
808 <field name="type">tree</field>
809 <field name="field_parent">child_ids</field>
810 <field name="priority">100</field>
811 <field name="arch" type="xml">
812 <tree string="Account Tax Code" toolbar="1">
815 <field name="sum_period"/>
817 <field name="company_id" groups="base.group_multi_company"/>
821 <record id="view_tax_code_form" model="ir.ui.view">
822 <field name="name">account.tax.code.form</field>
823 <field name="model">account.tax.code</field>
824 <field name="type">form</field>
825 <field name="arch" type="xml">
826 <form string="Account Tax Code" version="7.0">
828 <group col="4" colspan="2">
831 <field name="parent_id"/>
832 <field name="company_id" groups="base.group_multi_company"/>
834 <group string="Reporting Configuration">
835 <field name="notprintable"/>
838 <group string="Statistics">
839 <field name="sum_period"/>
843 <separator string="Description"/>
848 <record id="action_tax_code_list" model="ir.actions.act_window">
849 <field name="name">Tax codes</field>
850 <field name="res_model">account.tax.code</field>
851 <field name="view_type">form</field>
852 <field name="view_mode">tree,form</field>
853 <field name="view_id" ref="view_tax_code_tree"/>
854 <field name="search_view_id" ref="view_tax_code_search"/>
855 <field name="help">The tax code definition depends on the tax declaration of your country. OpenERP allows you to define the tax structure and manage it from this menu. You can define both numeric and alphanumeric tax codes.</field>
857 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
858 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
864 <record id="view_tax_tree" model="ir.ui.view">
865 <field name="name">account.tax.tree</field>
866 <field name="model">account.tax</field>
867 <field name="type">tree</field>
868 <field name="field_parent">child_ids</field>
869 <field name="arch" type="xml">
870 <tree string="Account Tax">
872 <field name="price_include"/>
873 <field name="description"/>
874 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
878 <record id="view_account_tax_search" model="ir.ui.view">
879 <field name="name">account.tax.search</field>
880 <field name="model">account.tax</field>
881 <field name="type">search</field>
882 <field name="arch" type="xml">
883 <search string="Search Taxes">
885 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>
886 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
891 <record id="view_tax_form" model="ir.ui.view">
892 <field name="name">account.tax.form</field>
893 <field name="model">account.tax</field>
894 <field name="type">form</field>
895 <field name="arch" type="xml">
896 <form string="Account Tax" version="7.0">
899 <field name="description"/>
900 <field name="type_tax_use"/>
901 <field name="price_include"/>
902 <field name="active"/>
903 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
906 <page string="Tax Definition">
909 <field name="amount" attrs="{'readonly':[('type','in',('none', 'code', 'balance'))]}"/>
910 <separator colspan="4" string="Accounting Information"/>
911 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
912 <label colspan="2" nolabel="1" string="Keep empty to use the income account"/>
913 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
914 <label colspan="2" nolabel="1" string="Keep empty to use the expense account"/>
915 <separator colspan="4" string="Tax Declaration: Invoices"/>
916 <field name="base_code_id"/>
917 <field name="base_sign"/>
918 <field name="tax_code_id"/>
919 <field name="tax_sign"/>
920 <separator colspan="4" string="Tax Declaration: Credit Notes"/>
921 <field name="ref_base_code_id"/>
922 <field name="ref_base_sign"/>
923 <field name="ref_tax_code_id"/>
924 <field name="ref_tax_sign"/>
925 <separator colspan="4" string="Children Definition"/>
926 <field name="child_depend"/>
927 <field name="sequence"/>
928 <field name="include_base_amount"/>
929 <field colspan="4" name="child_ids">
930 <tree string="Account Tax">
931 <field name="sequence"/>
933 <field name="price_include"/>
934 <field name="description"/>
939 <page string="Special Computation">
941 <separator colspan="4" string="Applicability Options"/>
942 <field name="applicable_type"/>
943 <field name="domain"/>
944 <separator colspan="4" string="Applicable Code (if type=code)"/>
945 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
946 <separator colspan="2" string="Compute Code"/>
947 <separator colspan="2" string="Reverse Compute Code"/>
948 <field colspan="2" name="python_compute" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
949 <field colspan="2" name="python_compute_inv" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
956 <record id="action_tax_form" model="ir.actions.act_window">
957 <field name="name">Taxes</field>
958 <field name="res_model">account.tax</field>
959 <field name="view_type">form</field>
960 <field name="view_id" ref="view_tax_tree"/>
961 <field name="domain">[('parent_id','=',False)]</field>
963 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
965 <record id="action_tax_code_tree" model="ir.actions.act_window">
966 <field name="name">Chart of Taxes</field>
967 <field name="res_model">account.tax.code</field>
968 <field name="domain">[('parent_id','=',False)]</field>
969 <field name="view_type">tree</field>
970 <field name="view_id" ref="view_tax_code_tree"/>
971 <field name="help">The chart of taxes is used to generate your periodical tax statement. You will see the taxes with codes related to your legal statement according to your country.</field>
978 <record id="view_move_line_tree" model="ir.ui.view">
979 <field name="name">account.move.line.tree</field>
980 <field name="model">account.move.line</field>
981 <field name="type">tree</field>
982 <field eval="4" name="priority"/>
983 <field name="arch" type="xml">
984 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" editable="top" on_write="on_create_write">
986 <field name="period_id"/>
987 <field name="move_id"/>
989 <field name="invoice"/>
991 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
992 <field name="account_id" domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]"/>
993 <field name="journal_id"/>
994 <field name="debit" sum="Total debit"/>
995 <field name="credit" sum="Total credit"/>
996 <field name="account_tax_id"/>
997 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
998 <field name="amount_currency" attrs="{'readonly':[('state','=','valid')]}"/>
999 <field name="currency_id" attrs="{'readonly':[('state','=','valid')]}"/>
1000 <field name="reconcile_partial_id"/>
1001 <field name="reconcile_id"/>
1002 <field name="state"/>
1007 <record id="view_move_line_form" model="ir.ui.view">
1008 <field name="name">account.move.line.form</field>
1009 <field name="model">account.move.line</field>
1010 <field name="type">form</field>
1011 <field eval="2" name="priority"/>
1012 <field name="arch" type="xml">
1013 <form string="Journal Item" version="7.0">
1015 <field name="name"/>
1017 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1019 <field name="journal_id"/>
1020 <field name="period_id"/>
1021 <field name="company_id" required="1" groups="base.group_multi_company"/>
1023 <notebook colspan="4">
1024 <page string="Information">
1026 <group string="Amount">
1027 <field name="account_id" domain="[('company_id', '=', company_id), ('type','<>','view'), ('type','<>','consolidation')]"/>
1028 <field name="debit"/>
1029 <field name="credit"/>
1030 <field name="quantity"/>
1033 <group string="Accounting Documents">
1034 <field name="invoice" readonly="True"/>
1035 <field name="move_id" required="False"/>
1036 <field name="statement_id" readonly="True"/>
1039 <group string="Dates">
1040 <field name="date"/>
1041 <field name="date_maturity"/>
1042 <field name="date_created" readonly="True"/>
1045 <group string="Taxes">
1046 <field name="tax_code_id"/>
1047 <field name="tax_amount"/>
1048 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1051 <group attrs="{'readonly':[('state','=','valid')]}" string="Currency">
1052 <field name="currency_id"/>
1053 <field name="amount_currency"/>
1056 <group string="Reconciliation">
1057 <field name="reconcile_id"/>
1058 <field name="reconcile_partial_id"/>
1061 <group string="States">
1062 <field name="state"/>
1063 <field name="blocked"/>
1066 <group groups="analytic.group_analytic_accounting" string="Analytic">
1067 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1070 <separator string="Internal Note" colspan="4"/>
1071 <field name="narration" colspan="4" nolabel="1"/>
1073 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1074 <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)}"/>
1081 <record id="view_move_line_form2" model="ir.ui.view">
1082 <field name="name">account.move.line.form2</field>
1083 <field name="model">account.move.line</field>
1084 <field name="type">form</field>
1085 <field eval="9" name="priority"/>
1086 <field name="arch" type="xml">
1087 <form string="Journal Item" version="7.0">
1088 <notebook colspan="4">
1089 <page string="Information">
1091 <separator colspan="4" string="General Information"/>
1092 <field name="name"/>
1093 <field name="date"/>
1094 <field name="journal_id" readonly="False"/>
1095 <field name="period_id" readonly="False"/>
1096 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1097 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1099 <field name="debit"/>
1100 <field name="credit"/>
1102 <separator colspan="4" string="Optional Information"/>
1103 <field name="currency_id"/>
1104 <field name="amount_currency"/>
1105 <field name="quantity"/>
1106 <field name="move_id" required="False"/>
1108 <field name="date_maturity"/>
1109 <field name="date_created"/>
1110 <field name="date_created"/>
1111 <field name="blocked"/>
1113 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1114 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1115 <separator colspan="4" string="Status"/>
1117 <field name="reconcile_id"/>
1118 <field name="reconcile_partial_id"/>
1119 <field name="state"/>
1122 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1123 <field name="analytic_lines"/>
1130 <record id="account_move_line_graph" model="ir.ui.view">
1131 <field name="name">account.move.line.graph</field>
1132 <field name="model">account.move.line</field>
1133 <field name="type">graph</field>
1134 <field name="arch" type="xml">
1135 <graph string="Account Statistics" type="bar">
1136 <field name="account_id"/>
1137 <field name="debit" operator="+"/>
1138 <field name="credit" operator="+"/>
1143 <record id="view_account_move_line_filter" model="ir.ui.view">
1144 <field name="name">Journal Items</field>
1145 <field name="model">account.move.line</field>
1146 <field name="type">search</field>
1147 <field name="arch" type="xml">
1148 <search string="Search Journal Items">
1150 <field name="date"/>
1151 <separator orientation="vertical"/>
1152 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1153 <separator orientation="vertical"/>
1154 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1155 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1156 <separator orientation="vertical"/>
1158 icon="terp-dolar_ok!"
1159 string="Unreconciled"
1160 domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
1161 name="unreconciled"/>
1162 <separator orientation="vertical"/>
1163 <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)]"/>
1164 <separator orientation="vertical"/>
1165 <field name="move_id" string="Number (Move)"/>
1166 <field name="account_id"/>
1167 <field name="partner_id"/>
1168 <field name="journal_id" widget="selection" context="{'journal_id':self}"/>
1169 <field name="period_id" context="{'period_id':self}"/>
1172 <group expand="0" string="Group By...">
1173 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1174 <separator orientation="vertical"/>
1175 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1176 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1177 <separator orientation="vertical"/>
1178 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1185 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1186 <field name="name">Journal Items</field>
1187 <field name="res_model">account.move.line</field>
1188 <field name="view_type">form</field>
1189 <field name="view_mode">tree,form</field>
1190 <field name="context">{}</field>
1191 <field name="search_view_id" ref="view_account_move_line_filter"/>
1192 <field name="help">This view can be used by accountants in order to quickly record entries in OpenERP. If you want to record a supplier invoice, start by recording the line of the expense account. OpenERP will propose to you automatically the Tax related to this account and the counterpart "Account Payable".</field>
1196 action="action_account_moves_all_a"
1197 icon="STOCK_JUSTIFY_FILL"
1198 id="menu_action_account_moves_all"
1199 parent="account.menu_finance_entries"
1201 groups="group_account_user"
1204 <record id="action_view_move_line" model="ir.actions.act_window">
1205 <field name="name">Lines to reconcile</field>
1206 <field name="res_model">account.move.line</field>
1207 <field name="view_type">form</field>
1208 <field name="view_mode">tree,form</field>
1209 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1210 <field eval="False" name="view_id"/>
1211 <field eval="True" name="filter"/>
1212 <field name="search_view_id" ref="view_account_move_line_filter"/>
1215 <record id="action_move_line_select" model="ir.actions.act_window">
1216 <field name="name">Journal Items</field>
1217 <field name="res_model">account.move.line</field>
1218 <field name="view_type">form</field>
1219 <field name="view_mode">tree,form</field>
1220 <field name="view_id" ref="view_move_line_tree"/>
1221 <field name="search_view_id" ref="view_account_move_line_filter"/>
1222 <field name="context">{'search_default_account_id': [active_id]}</field>
1225 <record id="ir_account_move_line_select" model="ir.values">
1226 <field name="key2">tree_but_open</field>
1227 <field name="model">account.account</field>
1228 <field name="name">Open Journal Items</field>
1229 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1232 Account.Entry Edition
1235 <record id="account_move_graph" model="ir.ui.view">
1236 <field name="name">account.move.graph</field>
1237 <field name="model">account.move</field>
1238 <field name="type">graph</field>
1239 <field name="arch" type="xml">
1240 <graph string="Account Statistics" type="bar">
1241 <field name="period_id"/>
1242 <field name="amount" operator="+"/>
1246 <record id="view_move_tree" model="ir.ui.view">
1247 <field name="name">account.move.tree</field>
1248 <field name="model">account.move</field>
1249 <field name="type">tree</field>
1250 <field name="arch" type="xml">
1251 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1252 <field name="name"/>
1254 <field name="date"/>
1255 <field name="period_id"/>
1256 <field name="journal_id"/>
1257 <field name="partner_id"/>
1258 <field name="amount" sum="Total Amount"/>
1259 <field name="to_check"/>
1260 <field name="state"/>
1264 <record id="view_move_form" model="ir.ui.view">
1265 <field name="name">account.move.form</field>
1266 <field name="model">account.move</field>
1267 <field name="type">form</field>
1268 <field name="arch" type="xml">
1269 <form version="7.0">
1271 <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight"/>
1272 <button name="button_cancel" states="posted" string="Cancel" type="object"/>
1273 <field name="state" widget="statusbar"/>
1275 <sheet string="Journal Entries" layout="auto">
1277 <field name="name" readonly="True"/>
1279 <field name="journal_id"/>
1280 <field name="period_id"/>
1281 <field name="to_check"/>
1282 <field name="date"/>
1283 <field name="company_id" required="1" groups="base.group_multi_company"/>
1284 <field name="partner_id" invisible="1"/>
1285 <field name="amount" invisible="1"/>
1287 <notebook colspan="4">
1288 <page string="Journal Items">
1289 <field name="balance" invisible="1"/>
1290 <field colspan="4" name="line_id" widget="one2many_list"
1291 on_change="onchange_line_id(line_id)"
1292 context="{'balance': balance , 'journal': journal_id }">
1293 <form string="Journal Item" version="7.0">
1294 <group col="6" colspan="4">
1295 <field name="name"/>
1297 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1299 <field name="journal_id"/>
1300 <field name="period_id"/>
1301 <field name="company_id" required="1" groups="base.group_multi_company"/>
1303 <notebook colspan="4">
1304 <page string="Information">
1306 <group string="Amount">
1307 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1308 <field name="debit"/>
1309 <field name="credit"/>
1310 <field name="quantity"/>
1313 <group string="Accounting Documents">
1314 <field name="invoice"/>
1315 <field name="move_id" required="False"/>
1316 <field name="statement_id"/>
1319 <group string="Dates">
1320 <field name="date"/>
1321 <field name="date_maturity"/>
1322 <field name="date_created"/>
1325 <group string="Taxes">
1326 <field name="tax_code_id"/>
1327 <field name="tax_amount"/>
1328 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1331 <group string="Currency">
1332 <field name="currency_id"/>
1333 <field name="amount_currency"/>
1336 <group string="Reconciliation">
1337 <field name="reconcile_id"/>
1338 <field name="reconcile_partial_id"/>
1341 <group string="States">
1342 <field name="state"/>
1343 <field name="blocked"/>
1346 <group groups="analytic.group_analytic_accounting" string="Analytic">
1347 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1350 <separator string="Internal Note"/>
1351 <field name="narration"/>
1353 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1354 <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)}"/>
1358 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1360 <field name="invoice"/>
1361 <field name="name"/>
1362 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1363 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1364 <field name="date_maturity"/>
1365 <field name="debit" sum="Total Debit"/>
1366 <field name="credit" sum="Total Credit"/>
1367 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1368 <field name="amount_currency"/>
1369 <field name="currency_id"/>
1370 <field name="tax_code_id"/>
1371 <field name="tax_amount"/>
1372 <field name="state"/>
1373 <field name="reconcile_id"/>
1374 <field name="reconcile_partial_id"/>
1377 <separator string="Internal Note"/>
1378 <field name="narration" colspan="4" nolabel="1" height="50"/>
1386 <record id="view_account_move_filter" model="ir.ui.view">
1387 <field name="name">account.move.select</field>
1388 <field name="model">account.move</field>
1389 <field name="type">search</field>
1390 <field name="arch" type="xml">
1391 <search string="Search Move">
1393 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1394 <separator orientation="vertical"/>
1395 <field name="date"/>
1396 <separator orientation="vertical"/>
1397 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1398 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1399 <separator orientation="vertical"/>
1400 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1401 <separator orientation="vertical"/>
1402 <field name="partner_id"/>
1403 <field name="journal_id" widget="selection"/>
1404 <field name="period_id"/>
1407 <group expand="0" string="Group By...">
1408 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1409 <separator orientation="vertical"/>
1410 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1411 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1412 <separator orientation="vertical"/>
1413 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1414 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1420 <record id="action_move_journal_line" model="ir.actions.act_window">
1421 <field name="name">Journal Entries</field>
1422 <field name="res_model">account.move</field>
1423 <field name="view_type">form</field>
1424 <field name="view_mode">tree,form,graph</field>
1425 <field name="view_id" ref="view_move_tree"/>
1426 <field name="search_view_id" ref="view_account_move_filter"/>
1427 <field name="help">A journal entry consists of several journal items, each of which is either a debit or a credit transaction. OpenERP automatically creates one journal entry per accounting document: invoice, refund, supplier payment, bank statements, etc.</field>
1431 icon="STOCK_JUSTIFY_FILL"
1432 action="action_move_journal_line"
1433 id="menu_action_move_journal_line_form"
1434 parent="account.menu_finance_entries"
1435 groups="group_account_user"
1438 <record id="action_move_line_form" model="ir.actions.act_window">
1439 <field name="name">Entries</field>
1440 <field name="type">ir.actions.act_window</field>
1441 <field name="res_model">account.move</field>
1442 <field name="view_type">form</field>
1443 <field name="view_id" ref="view_move_tree"/>
1444 <field name="search_view_id" ref="view_account_move_filter"/>
1448 id="act_account_move_to_account_move_line_open"
1449 name="Journal Items"
1450 context="{'search_default_move_id':[active_id], 'default_move_id': active_id}"
1451 res_model="account.move.line"
1452 src_model="account.move"/>
1454 <record id="action_move_line_search" model="ir.actions.act_window">
1455 <field name="name">Journal Items</field>
1456 <field name="type">ir.actions.act_window</field>
1457 <field name="res_model">account.move.line</field>
1458 <field name="view_type">form</field>
1459 <field name="view_mode">tree,form</field>
1460 <field name="view_id" ref="view_move_line_tree"/>
1461 <field name="search_view_id" ref="view_account_move_line_filter"/>
1463 <record id="action_move_line_search_view1" model="ir.actions.act_window.view">
1464 <field eval="10" name="sequence"/>
1465 <field name="view_mode">tree</field>
1466 <field name="view_id" ref="view_move_line_tree"/>
1467 <field name="act_window_id" ref="action_move_line_search"/>
1469 <record id="action_move_line_search_view2" model="ir.actions.act_window.view">
1470 <field eval="11" name="sequence"/>
1471 <field name="view_mode">form</field>
1472 <field name="act_window_id" ref="action_move_line_search"/>
1476 context="{'search_default_next_partner':1,'view_mode':True}"
1477 id="action_account_manual_reconcile" name="Journal Items"
1478 res_model="account.move.line"
1479 view_id="view_move_line_tree"/>
1483 name="Manual Reconciliation" icon="STOCK_EXECUTE"
1484 action="action_account_manual_reconcile"
1485 id="menu_manual_reconcile"
1486 parent="account.periodical_processing_reconciliation"/>
1490 id="act_account_acount_move_line_open"
1492 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0, 'default_account_id': active_id}"
1493 res_model="account.move.line"
1494 src_model="account.account"/>
1497 id="act_account_acount_move_line_open_unreconciled"
1498 name="Unreconciled Entries"
1499 res_model="account.move.line"
1500 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
1501 src_model="account.account"/>
1504 domain="[('reconcile_id', '=', active_id)]"
1505 id="act_account_acount_move_line_reconcile_open"
1506 name="Reconciled entries"
1507 res_model="account.move.line"
1508 src_model="account.move.reconcile"/>
1513 Print Journal (and change state)
1514 Close Journal (and verify that there is no draft Entry Lines)
1517 <record id="view_journal_period_tree" model="ir.ui.view">
1518 <field name="name">account.journal.period.tree</field>
1519 <field name="model">account.journal.period</field>
1520 <field name="type">tree</field>
1521 <field name="arch" type="xml">
1522 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1523 <field icon="icon" name="fiscalyear_id"/>
1524 <field name="period_id"/>
1525 <field name="journal_id"/>
1526 <field name="state"/>
1527 <field name="company_id" groups="base.group_multi_company"/>
1531 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1532 <field name="name">Journals</field>
1533 <field name="res_model">account.journal.period</field>
1534 <field name="view_type">tree</field>
1535 <field name="help">You can search for individual account entries through useful information. To search for account entries, open a journal, then select a record line.</field>
1542 <record id="view_model_line_tree" model="ir.ui.view">
1543 <field name="name">account.model.line.tree</field>
1544 <field name="model">account.model.line</field>
1545 <field name="type">tree</field>
1546 <field name="arch" type="xml">
1547 <tree string="Journal Entry Model Line" editable="bottom">
1548 <field name="sequence"/>
1549 <field name="name"/>
1550 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1551 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1552 <field name="partner_id"/>
1553 <field name="debit"/>
1554 <field name="credit"/>
1555 <field name="date_maturity"/>
1561 <record id="view_model_line_form" model="ir.ui.view">
1562 <field name="name">account.model.line.form</field>
1563 <field name="model">account.model.line</field>
1564 <field name="type">form</field>
1565 <field name="arch" type="xml">
1566 <form string="Journal Entry Model Line" version="7.0">
1568 <field colspan="4" name="name"/>
1569 <field name="sequence"/>
1570 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1571 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1572 <field name="partner_id"/>
1573 <field name="debit"/>
1574 <field name="credit"/>
1575 <field name="quantity"/>
1576 <field name="date_maturity"/>
1582 <record id="view_model_form" model="ir.ui.view">
1583 <field name="name">account.model.form</field>
1584 <field name="model">account.model</field>
1585 <field name="type">form</field>
1586 <field name="arch" type="xml">
1587 <form string="Journal Entry Model" version="7.0">
1589 <field name="name"/>
1590 <field name="journal_id"/>
1591 <field name="company_id" widget='selection' groups="base.group_multi_company"/>
1594 <field name="lines_id" widget="one2many_list"/>
1595 <separator string="Legend"/>
1596 <field name="legend"/>
1597 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1602 <record id="view_model_tree" model="ir.ui.view">
1603 <field name="name">account.model.tree</field>
1604 <field name="model">account.model</field>
1605 <field name="type">tree</field>
1606 <field name="arch" type="xml">
1607 <tree string="Journal Entry Model">
1608 <field name="name"/>
1609 <field name="journal_id"/>
1610 <field name="company_id" groups="base.group_multi_company"/>
1615 <record id="view_model_search" model="ir.ui.view">
1616 <field name="name">account.model.search</field>
1617 <field name="model">account.model</field>
1618 <field name="type">search</field>
1619 <field name="arch" type="xml">
1620 <search string="Journal Entry Model">
1622 <field name="name" string="Journal Entry Model"/>
1623 <separator orientation="vertical"/>
1624 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1625 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1626 <separator orientation="vertical"/>
1627 <field name="journal_id" widget="selection"/>
1628 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1631 <group expand="0" string="Group By...">
1632 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1638 <record id="action_model_form" model="ir.actions.act_window">
1639 <field name="name">Recurring Models</field>
1640 <field name="res_model">account.model</field>
1641 <field name="view_type">form</field>
1642 <field name="view_mode">tree,form</field>
1643 <field name="search_view_id" ref="view_model_search"/>
1646 action="action_model_form" id="menu_action_model_form" sequence="5"
1647 parent="account.menu_configuration_misc"/>
1653 <record id="view_payment_term_line_tree" model="ir.ui.view">
1654 <field name="name">account.payment.term.line.tree</field>
1655 <field name="model">account.payment.term.line</field>
1656 <field name="type">tree</field>
1657 <field name="arch" type="xml">
1658 <tree string="Payment Term">
1659 <field name="sequence"/>
1660 <field name="name"/>
1661 <field name="value"/>
1662 <field name="value_amount"/>
1663 <field name="days"/>
1664 <field name="days2"/>
1670 <record id="view_payment_term_line_form" model="ir.ui.view">
1671 <field name="name">account.payment.term.line.form</field>
1672 <field name="model">account.payment.term.line</field>
1673 <field name="type">form</field>
1674 <field name="arch" type="xml">
1675 <form string="Payment Term" version="7.0">
1676 <field name="name"/>
1677 <field name="sequence"/>
1679 <group string="Amount Computation">
1680 <field name="value"/>
1681 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1683 <group string="Due Date Computation">
1684 <field name="days"/>
1685 <field name="days2"/>
1689 <separator string="Example"/>
1690 <label string="At 14 net days 2 percent, remaining amount at 30 days end of month."/>
1692 <label string="Line 1:" colspan="2"/>
1693 <label string=" Valuation: Percent"/>
1694 <label string=" Number of Days: 14"/>
1695 <label string=" Value amount: 0.02"/>
1696 <label string=" Day of the Month: 0"/>
1699 <label string="Line 2:" colspan="2"/>
1700 <label string=" Valuation: Balance"/>
1701 <label string=" Number of Days: 30"/>
1702 <label string=" Value amount: n.a"/>
1703 <label string=" Day of the Month= -1"/>
1709 <record id="view_payment_term_search" model="ir.ui.view">
1710 <field name="name">account.payment.term.search</field>
1711 <field name="model">account.payment.term</field>
1712 <field name="type">search</field>
1713 <field name="arch" type="xml">
1714 <search string="Payment Term">
1715 <field name="name" string="Payment Term"/>
1716 <field name="active"/>
1721 <record id="view_payment_term_form" model="ir.ui.view">
1722 <field name="name">account.payment.term.form</field>
1723 <field name="model">account.payment.term</field>
1724 <field name="type">form</field>
1725 <field name="arch" type="xml">
1726 <form string="Payment Term" version="7.0">
1728 <field name="name"/>
1729 <field name="active"/>
1731 <separator string="Description on Invoices"/>
1732 <field name="note"/>
1733 <separator string="Computation"/>
1734 <field name="line_ids"/>
1739 <record id="action_payment_term_form" model="ir.actions.act_window">
1740 <field name="name">Payment Terms</field>
1741 <field name="res_model">account.payment.term</field>
1742 <field name="view_type">form</field>
1743 <field name="view_mode">tree,form</field>
1744 <field name="search_view_id" ref="view_payment_term_search"/>
1746 <menuitem action="action_payment_term_form"
1747 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1750 # Account Subscriptions
1753 <record id="view_subscription_line_form" model="ir.ui.view">
1754 <field name="name">account.subscription.line.form</field>
1755 <field name="model">account.subscription.line</field>
1756 <field name="type">form</field>
1757 <field name="arch" type="xml">
1758 <form string="Subscription lines" version="7.0">
1760 <field name="date"/>
1761 <field name="move_id"/>
1767 <record id="view_subscription_line_tree" model="ir.ui.view">
1768 <field name="name">account.subscription.line.tree</field>
1769 <field name="model">account.subscription.line</field>
1770 <field name="type">tree</field>
1771 <field name="arch" type="xml">
1772 <tree string="Subscription lines">
1773 <field name="date"/>
1774 <field name="move_id"/>
1779 <record id="view_subscription_tree" model="ir.ui.view">
1780 <field name="name">account.subscription.tree</field>
1781 <field name="model">account.subscription</field>
1782 <field name="type">tree</field>
1783 <field name="arch" type="xml">
1784 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1785 <field name="name"/>
1786 <field name="model_id"/>
1788 <field name="date_start"/>
1789 <field name="state"/>
1794 <record id="view_subscription_search" model="ir.ui.view">
1795 <field name="name">account.subscription.search</field>
1796 <field name="model">account.subscription</field>
1797 <field name="type">search</field>
1798 <field name="arch" type="xml">
1799 <search string="Entry Subscription">
1801 <field name="name" string="Account Subscription"/>
1802 <separator orientation="vertical"/>
1803 <field name="date_start"/>
1804 <separator orientation="vertical"/>
1805 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1806 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1807 <separator orientation="vertical"/>
1808 <field name="model_id"/>
1811 <group expand="0" string="Group By...">
1812 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1813 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1819 <record id="view_subscription_form" model="ir.ui.view">
1820 <field name="name">account.subscription.form</field>
1821 <field name="model">account.subscription</field>
1822 <field name="type">form</field>
1823 <field name="arch" type="xml">
1824 <form string="Recurring" version="7.0">
1826 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1827 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_highlight"/>
1828 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_highlight"/>
1829 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1834 <field name="name"/>
1835 <field name="model_id"/>
1840 <group string="Starts on">
1841 <field name="date_start"/>
1842 <field name="period_total"/>
1845 <group string="Valid Up to">
1846 <field name="period_nbr"/>
1847 <field name="period_type"/>
1850 <separator string="Subscription Lines"/>
1851 <field name="lines_id" widget="one2many_list"/>
1856 <record id="action_subscription_form" model="ir.actions.act_window">
1857 <field name="name">Recurring Lines</field>
1858 <field name="res_model">account.subscription</field>
1859 <field name="view_type">form</field>
1860 <field name="view_mode">tree,form</field>
1861 <field name="search_view_id" ref="view_subscription_search"/>
1862 <field name="help">A recurring entry is a miscellaneous entry that occurs on a recurrent basis from a specific date, i.e. corresponding to the signature of a contract or an agreement with a customer or a supplier. With Define Recurring Entries, you can create such entries to automate the postings in the system.</field>
1865 name="Define Recurring Entries" action="action_subscription_form"
1866 id="menu_action_subscription_form" sequence="1"
1867 parent="account.menu_finance_recurrent_entries"/>
1869 <record id="action_subscription_form_running" model="ir.actions.act_window">
1870 <field name="name">Running Subscriptions</field>
1871 <field name="res_model">account.subscription</field>
1872 <field name="view_type">form</field>
1873 <field name="view_mode">tree,form</field>
1874 <field name="domain">[('state','=','running')]</field>
1875 <field name="filter" eval="True"/>
1878 <record id="action_subscription_form_new" model="ir.actions.act_window">
1879 <field name="name">New Subscription</field>
1880 <field name="res_model">account.subscription</field>
1881 <field name="view_type">form</field>
1882 <field name="view_mode">form,tree</field>
1883 <field name="view_id" ref="view_subscription_form"/>
1886 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1887 <field name="name">account.subscription.line.form</field>
1888 <field name="model">account.subscription.line</field>
1889 <field name="type">form</field>
1890 <field eval="20" name="priority"/>
1891 <field name="arch" type="xml">
1892 <form string="Subscription lines" version="7.0">
1894 <field name="subscription_id"/>
1895 <field name="date"/>
1896 <field name="move_id"/>
1902 <record id="action_move_line_tree1" model="ir.actions.act_window">
1903 <field name="name">Journal Items</field>
1904 <field name="res_model">account.move.line</field>
1905 <field name="view_type">form</field>
1906 <field name="view_mode">tree,form</field>
1907 <field name="domain">[('account_id','child_of', [active_id]),('state','<>','draft')]</field>
1908 <field name="context">{'account_id':active_id}</field>
1911 <record id="view_move_line_tax_tree" model="ir.ui.view">
1912 <field name="name">account.move.line.tax.tree</field>
1913 <field name="model">account.move.line</field>
1914 <field name="type">tree</field>
1915 <field eval="4" name="priority"/>
1916 <field name="arch" type="xml">
1917 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items">
1918 <field name="date"/>
1919 <field name="move_id"/>
1920 <field name="statement_id" string="St."/>
1921 <field name="name"/>
1922 <field name="partner_id"/>
1923 <field name="account_id"/>
1924 <field name="tax_code_id"/>
1925 <field name="tax_amount"/>
1926 <field name="debit" sum="Total debit"/>
1927 <field name="credit" sum="Total credit"/>
1928 <field name="account_tax_id"/>
1929 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1930 <field name="state"/>
1935 <record id="action_tax_code_line_open" model="ir.actions.act_window">
1936 <field name="name">Journal Items</field>
1937 <field name="res_model">account.move.line</field>
1938 <field name="view_type">form</field>
1939 <field name="view_mode">tree,form</field>
1940 <field name="view_id" ref="view_move_line_tax_tree"/>
1941 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
1943 <record id="ir_open_tax_move_line" model="ir.values">
1944 <field name="key2">tree_but_open</field>
1945 <field name="model">account.tax.code</field>
1946 <field name="name">Tax Details</field>
1947 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
1956 id="act_account_journal_2_account_bank_statement"
1957 name="Bank statements"
1958 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
1959 res_model="account.bank.statement"
1960 src_model="account.journal"/>
1963 id="act_account_journal_2_account_move_line"
1964 name="Journal Items"
1965 context="{'search_default_journal_id':active_id, 'default_journal_id': active_id}"
1966 res_model="account.move.line"
1967 src_model="account.journal"/>
1970 context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
1971 domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]"
1972 id="act_account_partner_account_move_all"
1973 name="Receivables & Payables"
1974 res_model="account.move.line"
1975 src_model="res.partner"/>
1977 <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"/>
1979 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
1980 <field name="name">Create Account</field>
1981 <field name="model">account.addtmpl.wizard</field>
1982 <field name="type">form</field>
1983 <field name="arch" type="xml">
1984 <form string="Create Account" version="7.0">
1986 <button icon="gtk-ok" name="action_create" string="Add" type="object" class="oe_highlight_on_dirty" />
1988 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
1989 <field name="cparent_id"/>
1994 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
1995 name="Create Account"
1997 res_model="account.addtmpl.wizard"
1998 context="{'tmpl_ids': active_id}"
1999 src_model="account.account.template"
2000 view_type="form" view_mode="form"/>
2002 <!-- Account Templates -->
2004 id="account_template_folder"
2006 parent="menu_finance_accounting"
2007 groups="base.group_multi_company"/>
2009 id="account_template_taxes"
2011 parent="account_template_folder"
2014 id="account_template_accounts"
2016 parent="account_template_folder"
2020 <record id="view_account_template_form" model="ir.ui.view">
2021 <field name="name">account.account.template.form</field>
2022 <field name="model">account.account.template</field>
2023 <field name="type">form</field>
2024 <field name="arch" type="xml">
2025 <form string="Account Template" version="7.0">
2027 <page string="General Information">
2029 <field name="name"/>
2030 <field name="code"/>
2032 <field name="parent_id"/>
2033 <field name="shortcut"/>
2034 <field name="type"/>
2035 <field name="user_type"/>
2037 <field name="currency_id"/>
2038 <field name="reconcile"/>
2039 <field name="chart_template_id"/>
2041 <separator string="Default Taxes"/>
2042 <field name="tax_ids"/>
2044 <page string="Notes">
2045 <field name="note"/>
2052 <record id="view_account_template_tree" model="ir.ui.view">
2053 <field name="name">account.account.template.tree</field>
2054 <field name="model">account.account.template</field>
2055 <field name="type">tree</field>
2056 <field name="arch" type="xml">
2057 <tree string="Account Template">
2058 <field name="code"/>
2059 <field name="name"/>
2060 <field name="type" invisible="1"/>
2061 <field name="user_type" invisible="1"/>
2066 <record id="view_account_template_search" model="ir.ui.view">
2067 <field name="name">account.account.template.search</field>
2068 <field name="model">account.account.template</field>
2069 <field name="type">search</field>
2070 <field name="arch" type="xml">
2071 <search string="Search Account Templates">
2073 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Template"/>
2074 <separator orientation="vertical"/>
2075 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2076 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2077 <separator orientation="vertical"/>
2078 <field name="parent_id"/>
2079 <field name="user_type"/>
2080 <field name="type"/>
2083 <group expand="0" string="Group By...">
2084 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2085 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2091 <record id="action_account_template_form" model="ir.actions.act_window">
2092 <field name="name">Account Templates</field>
2093 <field name="res_model">account.account.template</field>
2094 <field name="view_type">form</field>
2095 <field name="view_mode">tree,form</field>
2096 <field name="search_view_id" ref="view_account_template_search"/>
2099 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2101 <!-- Chart of Accounts Templates -->
2103 <record id="view_account_chart_template_form" model="ir.ui.view">
2104 <field name="name">account.chart.template.form</field>
2105 <field name="model">account.chart.template</field>
2106 <field name="type">form</field>
2107 <field name="arch" type="xml">
2108 <form string="Chart of Accounts Template" version="7.0">
2110 <field name="name"/>
2111 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2112 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2113 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2114 <field name="parent_id" />
2115 <!--<field name="code_digits" />-->
2116 <field name="visible" />
2117 <field name="complete_tax_set" />
2119 <field name="tax_template_ids" colspan="4" readonly="1" nolabel="1"/>
2120 <separator string="Properties" colspan="4"/>
2122 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
2123 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
2124 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
2125 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
2126 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
2127 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
2128 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2129 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2130 <field name="property_reserve_and_surplus_account" />
2135 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2136 <field name="name">account.chart.template.search</field>
2137 <field name="model">account.chart.template</field>
2138 <field name="type">search</field>
2139 <field name="arch" type="xml">
2140 <search string="Search Chart of Account Templates">
2142 <field name="name" string="Account Template"/>
2143 <separator orientation="vertical"/>
2144 <field name="account_root_id"/>
2145 <field name="bank_account_view_id"/>
2148 <group expand="0" string="Group By...">
2149 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2150 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2151 <separator orientation="vertical"/>
2152 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2153 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2154 <separator orientation="vertical"/>
2155 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2156 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2161 <record id="view_account_chart_template_tree" model="ir.ui.view">
2162 <field name="name">account.chart.template.tree</field>
2163 <field name="model">account.chart.template</field>
2164 <field name="type">tree</field>
2165 <field name="arch" type="xml">
2166 <tree string="Chart of Accounts Template">
2167 <field name="name"/>
2168 <field name="account_root_id"/>
2169 <field name="tax_code_root_id"/>
2170 <field name="bank_account_view_id"/>
2171 <field name="property_account_receivable" invisible="1"/>
2172 <field name="property_account_payable" invisible="1"/>
2173 <field name="property_account_expense_categ" invisible="1"/>
2174 <field name="property_account_income_categ" invisible="1"/>
2178 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2179 <field name="name">Chart of Accounts Templates</field>
2180 <field name="res_model">account.chart.template</field>
2181 <field name="view_type">form</field>
2182 <field name="view_mode">tree,form</field>
2185 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2187 <!-- Account Tax Templates -->
2189 <record id="view_account_tax_template_form" model="ir.ui.view">
2190 <field name="name">account.tax.template.form</field>
2191 <field name="model">account.tax.template</field>
2192 <field name="type">form</field>
2193 <field name="arch" type="xml">
2194 <form string="Account Tax Template" version="7.0">
2196 <field name="name"/>
2197 <field name="description"/>
2198 <field name="chart_template_id"/>
2199 <field name="type"/>
2200 <field name="type_tax_use"/>
2201 <field name="price_include"/>
2204 <page string="Tax Definition">
2206 <field name="applicable_type"/>
2207 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2208 <field name="include_base_amount"/>
2209 <field name="domain"/>
2211 <field name="account_collected_id"/>
2212 <label colspan="2" string="Keep empty to use the income account"/>
2213 <field name="account_paid_id"/>
2214 <label colspan="2" string="Keep empty to use the expense account"/>
2215 <field name="child_depend"/>
2216 <field name="sequence"/>
2219 <page string="Tax Declaration">
2221 <separator colspan="4" string="Invoices"/>
2222 <field name="base_code_id"/>
2223 <field name="base_sign"/>
2224 <field name="tax_code_id"/>
2225 <field name="tax_sign"/>
2227 <separator colspan="4" string="Credit Notes"/>
2228 <field name="ref_base_code_id"/>
2229 <field name="ref_base_sign"/>
2230 <field name="ref_tax_code_id"/>
2231 <field name="ref_tax_sign"/>
2234 <page string="Special Computation">
2235 <separator string="Compute Code (if type=code)"/>
2236 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2237 <separator string="Compute Code for Taxes Included Prices"/>
2238 <field name="python_compute_inv"/>
2239 <separator string="Applicable Code (if type=code)"/>
2240 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2246 <record id="view_account_tax_template_tree" model="ir.ui.view">
2247 <field name="name">account.tax.template.tree</field>
2248 <field name="model">account.tax.template</field>
2249 <field name="type">tree</field>
2250 <field name="arch" type="xml">
2251 <tree string="Account Tax Template">
2252 <field name="name" />
2253 <field name="description"/>
2257 <record id="view_account_tax_template_search" model="ir.ui.view">
2258 <field name="name">account.tax.template.search</field>
2259 <field name="model">account.tax.template</field>
2260 <field name="type">search</field>
2261 <field name="arch" type="xml">
2262 <search string="Search Tax Templates">
2264 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax Template"/>
2265 <separator orientation="vertical"/>
2266 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2267 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2268 <separator orientation="vertical"/>
2269 <field name="chart_template_id"/>
2275 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2276 <field name="name">Tax Templates</field>
2277 <field name="res_model">account.tax.template</field>
2278 <field name="view_type">form</field>
2279 <field name="view_mode">tree,form</field>
2280 <field name="search_view_id" ref="view_account_tax_template_search"/>
2283 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2285 <!-- Account Tax Code Templates -->
2286 <record id="view_tax_code_template_tree" model="ir.ui.view">
2287 <field name="name">account.tax.code.template.tree</field>
2288 <field name="model">account.tax.code.template</field>
2289 <field name="type">tree</field>
2290 <field name="field_parent">child_ids</field>
2291 <field name="arch" type="xml">
2292 <tree string="Account Tax Code Template" toolbar="1">
2293 <field name="name"/>
2294 <field name="code"/>
2295 <field name="parent_id" invisible="1"/>
2300 <record id="view_tax_code_template_search" model="ir.ui.view">
2301 <field name="name">account.tax.code.template.search</field>
2302 <field name="model">account.tax.code.template</field>
2303 <field name="type">search</field>
2304 <field name="arch" type="xml">
2305 <search string="Search tax template">
2307 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Template"/>
2308 <field name="parent_id"/>
2311 <group expand="0" string="Group By...">
2312 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2318 <record id="view_tax_code_template_form" model="ir.ui.view">
2319 <field name="name">account.tax.code.template.form</field>
2320 <field name="model">account.tax.code.template</field>
2321 <field name="type">form</field>
2322 <field name="arch" type="xml">
2323 <form string="Account Tax Code Template" version="7.0">
2325 <field name="name"/>
2326 <field name="code"/>
2327 <field name="parent_id"/>
2328 <field name="sign"/>
2330 <separator string="Description"/>
2331 <field name="info"/>
2336 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2337 <field name="name">Tax Code Templates</field>
2338 <field name="res_model">account.tax.code.template</field>
2339 <field name="view_type">form</field>
2340 <field name="view_mode">tree,form</field>
2341 <field name="search_view_id" ref="view_tax_code_template_search"/>
2343 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2346 <!-- Wizard for Multi Charts of Accounts -->
2348 <record id="view_wizard_multi_chart" model="ir.ui.view">
2349 <field name="name">Set Your Accounting Options</field>
2350 <field name="model">wizard.multi.charts.accounts</field>
2351 <field name="type">form</field>
2352 <field name="inherit_id" ref="base.res_config_view_base"/>
2353 <field name="arch" type="xml">
2354 <form position="attributes" version="7.0">
2355 <attribute name="string">Accounting Application Configuration</attribute>
2357 <group string="res_config_contents" position="replace">
2358 <field name="only_one_chart_template" invisible="1"/>
2359 <field name="complete_tax_set" invisible="1"/>
2360 <p>This will automatically configure your chart of accounts, bank accounts, taxes and journals according to the selected template.</p>
2361 <div groups="base.group_multi_company">
2362 <label for="company_id"/>
2363 <field name="company_id" widget="selection"/> <!-- we assume that this wizard will be run only by administrators and as this field may cause problem if hidden (because of the default company of the user removed from the selection because already configured), we simply choosed to remove the group "multi company" of it -->
2365 <group string="Set Your Accounting Options">
2366 <div attrs="{'invisible': [('only_one_chart_template','=',True)]}">
2367 <label for="chart_template_id"/>
2368 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2371 <group groups="account.group_account_user">
2372 <field name="code_digits"/>
2375 <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'))]"/>
2376 <label for="sale_tax_rate" string="Sale Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2377 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2378 <field name="sale_tax_rate" class="oe_inline" on_change="onchange_tax_rate(sale_tax_rate)"/> %%
2380 <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'))]"/>
2381 <label for="purchase_tax_rate" string="Purchase Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2382 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2383 <field name="purchase_tax_rate" class="oe_inline"/> %%
2387 <div groups="account.group_account_user">
2388 <label for="bank_accounts_id" string="Bank Information"/>
2389 <field name="bank_accounts_id">
2390 <tree editable="bottom">
2391 <field name="acc_name"/>
2392 <field name="account_type"/>
2393 <field name="currency_id" widget="selection"/>
2401 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2402 <field name="name">Set Your Accounting Options</field>
2403 <field name="type">ir.actions.act_window</field>
2404 <field name="res_model">wizard.multi.charts.accounts</field>
2405 <field name="view_id" ref="view_wizard_multi_chart"/>
2406 <field name="view_type">form</field>
2407 <field name="view_mode">form</field>
2408 <field name="target">new</field>
2410 <record id="ir_actions_server_action_wizard_multi_chart" model="ir.actions.server">
2411 <field name="type">ir.actions.server</field>
2412 <field name="condition">True</field>
2413 <field name="state">code</field>
2414 <field name="model_id" ref="base.model_ir_actions_todo"/>
2415 <field eval="5" name="sequence"/>
2417 # check for unconfigured companies
2418 account_installer_obj = self.pool.get('account.installer')
2419 account_installer_obj.check_unconfigured_cmp(cr, uid, context=context)
2421 # fetch the act_window actions related to chart of account configuration
2422 # we use ir.actions.todo to enable the possibility for other modules to insert their own
2423 # wizards during the configuration process
2424 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_wizard_multi_chart')
2426 action_ids += [ref[1]]
2427 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_account_configuration_installer')
2429 action_ids += [ref[1]]
2430 todo_ids = pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', action_ids)], context=context)
2431 pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context)
2432 action = pool.get('res.config').next(cr, uid, [], context)
2434 <field name="name">New Company Financial Setting</field>
2437 <record id="account_account_graph" model="ir.ui.view">
2438 <field name="name">account.account.graph</field>
2439 <field name="model">account.account</field>
2440 <field name="type">graph</field>
2441 <field name="arch" type="xml">
2442 <graph string="Account Statistics" type="bar">
2443 <field name="name"/>
2444 <field name="balance" operator="+"/>
2449 <!-- Fiscal Position Templates -->
2451 <record id="view_account_position_template_search" model="ir.ui.view">
2452 <field name="name">account.fiscal.position.template.search</field>
2453 <field name="model">account.fiscal.position.template</field>
2454 <field name="type">search</field>
2455 <field name="arch" type="xml">
2456 <search string="Fiscal Position">
2457 <field name="name" string="Fiscal Position Template"/>
2462 <record id="view_account_position_template_form" model="ir.ui.view">
2463 <field name="name">account.fiscal.position.template.form</field>
2464 <field name="model">account.fiscal.position.template</field>
2465 <field name="type">form</field>
2466 <field name="arch" type="xml">
2467 <form string="Fiscal Position Template" version="7.0">
2469 <field name="name"/>
2470 <field name="chart_template_id"/>
2472 <field name="tax_ids">
2473 <tree string="Taxes Mapping" editable="bottom">
2474 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2475 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2477 <form string="Taxes Mapping" version="7.0">
2478 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2479 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2482 <field name="account_ids">
2483 <tree string="Accounts Mapping" editable="bottom">
2484 <field name="account_src_id"/>
2485 <field name="account_dest_id"/>
2487 <form string="Accounts Mapping" version="7.0">
2488 <field name="account_src_id"/>
2489 <field name="account_dest_id"/>
2495 <record id="view_account_position_template_tree" model="ir.ui.view">
2496 <field name="name">account.fiscal.position.template.tree</field>
2497 <field name="model">account.fiscal.position.template</field>
2498 <field name="type">tree</field>
2499 <field name="arch" type="xml">
2500 <tree string="Fiscal Position">
2501 <field name="name"/>
2506 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2507 <field name="name">Fiscal Position Templates</field>
2508 <field name="res_model">account.fiscal.position.template</field>
2509 <field name="view_type">form</field>
2510 <field name="view_mode">tree,form</field>
2511 <field name="search_view_id" ref="view_account_position_template_search"/>
2515 action="action_account_fiscal_position_template_form"
2516 id="menu_action_account_fiscal_position_form_template"
2517 parent="account_template_taxes" sequence="20"/>
2519 <!-- Cash Statement -->
2520 <record id="view_cash_statement_tree" model="ir.ui.view">
2521 <field name="name">account.bank.statement.tree</field>
2522 <field name="model">account.bank.statement</field>
2523 <field name="type">tree</field>
2524 <field name="arch" type="xml">
2525 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2526 <field name="name"/>
2527 <field name="date"/>
2528 <field name="period_id"/>
2529 <field name="journal_id"/>
2530 <field name="balance_start"/>
2531 <field name="balance_end_real"/>
2532 <field name="balance_end"/>
2533 <field name="state"/>
2538 <record id="view_bank_statement_form2" model="ir.ui.view">
2539 <field name="name">account.bank.statement.form</field>
2540 <field name="model">account.bank.statement</field>
2541 <field name="type">form</field>
2542 <field name="arch" type="xml">
2543 <form version="7.0">
2545 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
2546 <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
2547 <button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
2548 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2550 <sheet string="Statement">
2552 <field name="name"/>
2553 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2554 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
2555 <field name="user_id" readonly="1"/>
2556 <field name="period_id"/>
2557 <field name="currency" invisible="1"/>
2561 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2562 <field name="line_ids" context="{'date':date}">
2563 <tree editable="bottom" string="Statement lines">
2564 <field name="sequence" invisible="1"/>
2565 <field name="date"/>
2566 <field name="name"/>
2568 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2569 <field name="type" on_change="onchange_type(partner_id, type)"/>
2570 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2571 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2572 <field name="amount"/>
2574 <form string="Statement lines" version="7.0">
2576 <field name="date"/>
2577 <field name="name"/>
2579 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2580 <field name="type" on_change="onchange_type(partner_id, type)"/>
2581 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2582 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2583 <field name="amount"/>
2584 <field name="sequence"/>
2586 <separator string="Notes"/>
2587 <field name="note"/>
2591 <page string="CashBox">
2593 <field name="starting_details_ids" attrs="{'readonly':[('state','!=','draft')]}" nolabel="1">
2594 <tree string = "Opening Balance" editable="bottom">
2595 <field name="pieces"/>
2596 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2597 <field name="subtotal" sum="Total"/>
2599 <form string = "Opening Balance" version="7.0">
2600 <field name="pieces"/>
2601 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2602 <field name="subtotal"/>
2605 <field name="ending_details_ids" attrs="{'readonly':[('state','!=','open')]}" nolabel="1">
2606 <tree string = "Closing Balance" editable="bottom">
2607 <field name="pieces"/>
2608 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2609 <field name="subtotal" sum="Total"/>
2611 <form string = "Closing Balance" version="7.0">
2612 <field name="pieces"/>
2613 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2614 <field name="subtotal"/>
2619 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2620 <field name="move_line_ids" string="Journal Entries"/>
2624 <group string="Dates">
2625 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2626 <field name="closing_date" readonly="1"/>
2628 <group string="Opening Balance">
2629 <field name="balance_start" readonly="1" string="Opening Balance"/>
2630 <field name="total_entry_encoding"/>
2632 <group string="Closing Balance">
2633 <field name="balance_end"/>
2634 <field name="balance_end_cash"/>
2641 <record id="account_cash_statement_graph" model="ir.ui.view">
2642 <field name="name">account.bank.statement.graph</field>
2643 <field name="model">account.bank.statement</field>
2644 <field name="type">graph</field>
2645 <field name="arch" type="xml">
2646 <graph string="Account Statistics" type="bar">
2647 <field name="date"/>
2648 <field name="balance_start" operator="+"/>
2649 <field name="balance_end" operator="+"/>
2653 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2654 <field name="name">Cash Registers</field>
2655 <field name="type">ir.actions.act_window</field>
2656 <field name="res_model">account.bank.statement</field>
2657 <field name="view_type">form</field>
2658 <field name="view_mode">tree,form,graph</field>
2659 <field name="view_id" ref="view_cash_statement_tree"/>
2660 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2661 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2662 <field name="context">{'journal_type':'cash'}</field>
2663 <field name="help">A Cash Register allows you to manage cash entries in your cash journals. This feature provides an easy way to follow up cash payments on a daily basis. You can enter the coins that are in your cash box, and then post entries when money comes in or goes out of the cash box.</field>
2665 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2666 <field name="sequence" eval="1"/>
2667 <field name="view_mode">tree</field>
2668 <field name="view_id" ref="view_cash_statement_tree"/>
2669 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2671 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2672 <field name="sequence" eval="1"/>
2673 <field name="view_mode">form</field>
2674 <field name="view_id" ref="view_bank_statement_form2"/>
2675 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2677 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2678 <field name="sequence" eval="1"/>
2679 <field name="view_mode">graph</field>
2680 <field name="view_id" ref="account_cash_statement_graph"/>
2681 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2683 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2684 parent="menu_finance_bank_and_cash"/>
2686 <menuitem id="menu_account_customer" name="Customers"
2687 parent="menu_finance_receivables"
2688 action="base.action_partner_customer_form" sequence="100"/>
2690 <menuitem id="menu_account_supplier" name="Suppliers"
2691 parent="menu_finance_payables"
2692 action="base.action_partner_supplier_form" sequence="100"/>
2698 <record id="view_account_financial_report_form" model="ir.ui.view">
2699 <field name="name">account.financial.report.form</field>
2700 <field name="model">account.financial.report</field>
2701 <field name="type">form</field>
2702 <field name="arch" type="xml">
2703 <form string="Account Report" version="7.0">
2705 <field name="name"/>
2706 <field name="parent_id"/>
2707 <field name="sequence"/>
2708 <field name="type"/>
2709 <field name="sign"/>
2710 <field name="style_overwrite"/>
2713 <page string="Report">
2715 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2716 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2718 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2719 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2726 <record id="view_account_financial_report_tree" model="ir.ui.view">
2727 <field name="name">account.financial.report.tree</field>
2728 <field name="model">account.financial.report</field>
2729 <field name="type">tree</field>
2730 <field name="arch" type="xml">
2731 <tree string="Account Report">
2732 <field name="name"/>
2733 <field name="parent_id" invisible="1"/>
2734 <field name="type"/>
2735 <field name="account_report_id"/>
2740 <record id="view_account_financial_report_search" model="ir.ui.view">
2741 <field name="name">account.financial.report.search</field>
2742 <field name="model">account.financial.report</field>
2743 <field name="type">search</field>
2744 <field name="arch" type="xml">
2745 <search string="Account Report">
2747 <field name="name" string="Account Report"/>
2748 <separator orientation="vertical"/>
2749 <field name="account_report_id"/>
2750 <field name="type"/>
2753 <group expand="0" string="Group By...">
2754 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2755 <separator orientation="vertical"/>
2756 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2762 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2763 <field name="name">Financial Reports</field>
2764 <field name="type">ir.actions.act_window</field>
2765 <field name="res_model">account.financial.report</field>
2766 <field name="view_type">form</field>
2767 <field name="view_mode">tree,form</field>
2768 <field name="search_view_id" ref="view_account_financial_report_search"/>
2769 <field name="view_id" ref="view_account_financial_report_tree"/>
2770 <field name="help">Makes a generic system to draw financial reports easily.</field>
2773 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2775 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2776 <field name="name">account.report.hierarchy</field>
2777 <field name="model">account.financial.report</field>
2778 <field name="type">tree</field>
2779 <field name="field_parent">children_ids</field>
2780 <field name="arch" type="xml">
2781 <tree string="Account Reports Hierarchy">
2782 <field name="name"/>
2783 <field name="type"/>
2784 <field name="parent_id" invisible="1"/>
2785 <field name="account_report_id"/>
2789 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2790 <field name="name">Financial Reports Hierarchy</field>
2791 <field name="res_model">account.financial.report</field>
2792 <field name="view_type">tree</field>
2793 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2794 <field name="domain">[('parent_id','=',False)]</field>
2797 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2798 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>