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"/>
17 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object"/>
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">
69 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
70 string="Fiscal Year"/>
71 <separator orientation="vertical"/>
72 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
73 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
74 <separator orientation="vertical"/>
78 <group expand="0" string="Group By...">
79 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
84 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
85 <field name="name">Fiscal Years</field>
86 <field name="res_model">account.fiscalyear</field>
87 <field name="view_type">form</field>
88 <field name="view_mode">tree,form</field>
89 <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>
91 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
92 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
98 <record id="view_account_period_form" model="ir.ui.view">
99 <field name="name">account.period.form</field>
100 <field name="model">account.period</field>
101 <field name="type">form</field>
102 <field name="arch" type="xml">
105 <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
106 <field name="state" widget="statusbar" nolabel="1"/>
112 <field name="date_start"/>
113 <field name="date_stop"/>
114 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
115 <field name="fiscalyear_id" widget="selection"/>
116 <field name="special"/>
122 <record id="view_account_period_tree" model="ir.ui.view">
123 <field name="name">account.period.tree</field>
124 <field name="model">account.period</field>
125 <field name="type">tree</field>
126 <field name="arch" type="xml">
127 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
130 <field name="date_start"/>
131 <field name="date_stop"/>
132 <field name="special"/>
133 <field name="company_id" groups="base.group_multi_company"/>
134 <field name="state"/>
139 <record id="view_account_period_search" model="ir.ui.view">
140 <field name="name">account.period.search</field>
141 <field name="model">account.period</field>
142 <field name="type">search</field>
143 <field name="arch" type="xml">
144 <search string="Search Period">
147 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
149 <separator orientation="vertical"/>
150 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
156 <record id="action_account_period_form" model="ir.actions.act_window">
157 <field name="name">Periods</field>
158 <field name="res_model">account.period</field>
159 <field name="view_type">form</field>
160 <field name="view_mode">tree,form</field>
161 <field name="context">{'search_default_draft': 1}</field>
162 <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>
164 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23" groups="base.group_no_one"/>
170 <record id="view_account_form" model="ir.ui.view">
171 <field name="name">account.account.form</field>
172 <field name="model">account.account</field>
173 <field name="type">form</field>
174 <field name="arch" type="xml">
175 <form string="Account" version="7.0">
176 <label for="name" class="oe_form_readonly_hidden" string="Account Name and Code:"/>
178 <field name="name"/> -
181 <label for="company_id"/>
183 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
187 <field name="parent_id"/>
189 <field name="user_type"/>
190 <field name="active"/>
193 <field name="debit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
194 <field name="credit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
195 <field name="balance" invisible="context.get('config_invisible', True)"/>
198 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
199 <field name="child_consol_ids"
200 attrs="{'readonly':[('type','!=','consolidation')]}"
201 widget="many2many_tags"/>
203 <group string="Currency">
204 <field name="currency_id"/>
205 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
207 <group string="Reconcile">
208 <field name="reconcile"/>
216 <record id="view_account_search" model="ir.ui.view">
217 <field name="name">account.account.search</field>
218 <field name="model">account.account</field>
219 <field name="type">search</field>
220 <field name="arch" type="xml">
221 <search string="Accounts">
224 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
226 <separator orientation="vertical"/>
227 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
228 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
229 <separator orientation="vertical"/>
230 <field name="user_type"/>
233 <group expand="0" string="Group By...">
234 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
235 <separator orientation="vertical"/>
236 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
237 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
243 <record id="view_account_list" model="ir.ui.view">
244 <field name="name">account.account.list</field>
245 <field name="model">account.account</field>
246 <field name="type">tree</field>
247 <field name="field_parent">child_id</field>
248 <field name="arch" type="xml">
249 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
252 <field name="parent_id" invisible="1"/>
253 <field name="user_type" invisible="1"/>
254 <field name="debit"/>
255 <field name="credit"/>
256 <field name="balance"/>
258 <field name="company_id" groups="base.group_multi_company"/>
259 <field name="company_currency_id"/>
263 <record id="view_treasory_graph" model="ir.ui.view">
264 <field name="name">account.treasury.graph</field>
265 <field name="model">account.account</field>
266 <field name="type">graph</field>
267 <field name="arch" type="xml">
268 <graph string="Treasury Analysis" type="bar">
270 <field name="balance" operator="+"/>
274 <record id="action_account_form" model="ir.actions.act_window">
275 <field name="name">Accounts</field>
276 <field name="res_model">account.account</field>
277 <field name="view_type">form</field>
278 <field name="view_mode">tree,form,graph</field>
279 <field name="search_view_id" ref="view_account_search"/>
280 <field name="view_id" ref="view_account_list"/>
281 <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>
283 <menuitem id="account_account_menu" name="Accounts" parent="account.menu_finance_configuration" sequence="15"/>
284 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
286 <record id="view_account_tree" model="ir.ui.view">
287 <field name="name">account.account.tree</field>
288 <field name="model">account.account</field>
289 <field name="type">tree</field>
290 <field name="field_parent">child_id</field>
291 <field name="arch" type="xml">
292 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
295 <field name="debit"/>
296 <field name="credit"/>
297 <field name="balance"/>
298 <field name="company_currency_id"/>
299 <field name="company_id" groups="base.group_multi_company"/>
301 <field name="parent_id" invisible="1"/>
305 <record id="action_account_tree" model="ir.actions.act_window">
306 <field name="name">Chart of Accounts</field>
307 <field name="res_model">account.account</field>
308 <field name="view_type">tree</field>
309 <field name="view_id" ref="view_account_tree"/>
310 <field name="domain">[('parent_id','=',False)]</field>
313 <record id="view_account_gain_loss_tree" model="ir.ui.view">
314 <field name="name">Unrealized Gain or Loss</field>
315 <field name="model">account.account</field>
316 <field name="type">tree</field>
317 <field name="arch" type="xml">
318 <tree string="Unrealized Gains and losses">
321 <field name="parent_id" invisible="1"/>
322 <field name="user_type" invisible="1"/>
323 <field name="type" invisible="1"/>
324 <field name="currency_id"/>
325 <field name="exchange_rate"/>
326 <field name="foreign_balance"/>
327 <field name="adjusted_balance"/>
328 <field name="balance"/>
329 <field name="unrealized_gain_loss"/>
334 <record id="action_account_gain_loss" model="ir.actions.act_window">
335 <field name="name">Unrealized Gain or Loss</field>
336 <field name="res_model">account.account</field>
337 <field name="view_type">form</field>
338 <field name="view_mode">tree</field>
339 <field name="view_id" ref="view_account_gain_loss_tree"/>
340 <field name="domain">[('currency_id','!=',False)]</field>
341 <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>
345 name="Unrealized Gain or Loss"
346 action="action_account_gain_loss"
347 groups="account.group_account_user"
348 id="menu_unrealized_gains_losses"
349 parent="account.menu_multi_currency"/>
354 Account Journal Columns
357 <record id="view_journal_column_form" model="ir.ui.view">
358 <field name="name">account.journal.column.form</field>
359 <field name="model">account.journal.column</field>
360 <field name="type">form</field>
361 <field name="arch" type="xml">
362 <form string="Journal Column" version="7.0">
364 <field name="field"/>
365 <field name="sequence"/>
369 <record id="view_journal_column_tree" model="ir.ui.view">
370 <field name="name">account.journal.column.tree</field>
371 <field name="model">account.journal.column</field>
372 <field name="type">tree</field>
373 <field name="arch" type="xml">
374 <tree string="Journal Column">
375 <field name="sequence"/>
381 <record id="view_account_journal_view_search" model="ir.ui.view">
382 <field name="name">account.journal.view.search</field>
383 <field name="model">account.journal.view</field>
384 <field name="type">search</field>
385 <field name="arch" type="xml">
386 <search string="Journal View">
388 filter_domain="[('name','ilike',self)]"
389 string="Journal View"/>
393 <record id="view_account_journal_view_tree" model="ir.ui.view">
394 <field name="name">account.journal.view.tree</field>
395 <field name="model">account.journal.view</field>
396 <field name="type">tree</field>
397 <field name="arch" type="xml">
398 <tree string="Journal View">
403 <record id="view_account_journal_view_form" model="ir.ui.view">
404 <field name="name">account.journal.view.form</field>
405 <field name="model">account.journal.view</field>
406 <field name="type">form</field>
407 <field name="arch" type="xml">
408 <form string="Journal View" version="7.0">
410 <field name="columns_id"/>
414 <record id="action_account_journal_view" model="ir.actions.act_window">
415 <field name="name">Journal Views</field>
416 <field name="res_model">account.journal.view</field>
417 <field name="view_type">form</field>
418 <field name="view_mode">tree,form</field>
419 <field name="search_view_id" ref="view_account_journal_view_search"/>
420 <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>
423 <menuitem action="action_account_journal_view" id="menu_action_account_journal_view" parent="account.menu_journals" sequence="20"/>
429 <record id="view_account_journal_tree" model="ir.ui.view">
430 <field name="name">account.journal.tree</field>
431 <field name="model">account.journal</field>
432 <field name="type">tree</field>
433 <field name="arch" type="xml">
434 <tree string="Account Journal">
438 <field name="user_id"/>
439 <field name="company_id" groups="base.group_multi_company"/>
443 <record id="view_account_journal_search" model="ir.ui.view">
444 <field name="name">account.journal.search</field>
445 <field name="model">account.journal</field>
446 <field name="type">search</field>
447 <field name="arch" type="xml">
448 <search string="Search Account Journal">
451 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
453 <separator orientation="vertical"/>
454 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
455 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
456 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
457 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
458 <separator orientation="vertical"/>
459 <field name="user_id"/>
462 <group expand="0" string="Group By...">
463 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
464 <separator orientation="vertical"/>
465 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
471 <record id="view_account_journal_form" model="ir.ui.view">
472 <field name="name">account.journal.form</field>
473 <field name="model">account.journal</field>
474 <field name="type">form</field>
475 <field name="arch" type="xml">
476 <form string="Account Journal" version="7.0">
477 <div class="oe_form_title">
478 <label for="name" class="oe_form_readonly_hidden"/>
479 <h1><field name="name"/></h1>
480 <label for="type" class="oe_form_readonly_hidden"/>
481 <h2><field name="type" on_change="onchange_type(type, currency, context)"/></h2>
484 <page string="Journal Configuration">
488 <field name="currency"/>
491 <field name="company_id" groups="base.group_multi_company"/>
492 <field name="user_id"/>
495 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
496 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
497 <field name="view_id" widget="selection"/>
498 <field name="sequence_id" required="0"/>
501 <field name="centralisation"/>
502 <field name="entry_posted"/>
503 <field name="allow_date"/>
504 <field name="group_invoice_lines"/>
507 <field name="type_control_ids" widget="many2many_tags"/>
508 <field name="account_control_ids" widget="many2many_tags"/>
517 <record id="action_account_journal_form" model="ir.actions.act_window">
518 <field name="name">Journals</field>
519 <field name="res_model">account.journal</field>
520 <field name="view_type">form</field>
521 <field name="view_mode">tree,form</field>
522 <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>
524 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
526 <record id="view_account_bank_statement_filter" model="ir.ui.view">
527 <field name="name">account.cash.statement.select</field>
528 <field name="model">account.bank.statement</field>
529 <field name="type">search</field>
530 <field name="arch" type="xml">
531 <search string="Search Bank Statements">
534 filter_domain="[('name','ilike',self)]"
535 string="Bank Statement"/>
537 <separator orientation="vertical"/>
538 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
539 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
540 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
541 <separator orientation="vertical"/>
542 <field name="journal_id" widget='selection' domain="[('type', '=', 'cash')]" />
545 <group expand="0" string="Group By...">
546 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
547 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
548 <separator orientation="vertical"/>
549 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
555 <record id="view_bank_statement_tree" model="ir.ui.view">
556 <field name="name">account.bank.statement.tree</field>
557 <field name="model">account.bank.statement</field>
558 <field name="type">tree</field>
559 <field name="arch" type="xml">
560 <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">
563 <field name="period_id"/>
564 <field name="journal_id"/>
565 <field name="balance_start"/>
566 <field name="balance_end_real"/>
567 <field name="balance_end" invisible="1"/>
568 <field name="state"/>
572 <record id="view_bank_statement_search" model="ir.ui.view">
573 <field name="name">account.bank.statement.search</field>
574 <field name="model">account.bank.statement</field>
575 <field name="type">search</field>
576 <field name="arch" type="xml">
577 <search string="Search Bank Statements">
580 filter_domain="[('name','ilike',self)]"
581 string="Bank Statement"/>
583 <separator orientation="vertical"/>
584 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
585 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
586 <separator orientation="vertical"/>
587 <field name="period_id"/>
588 <field name="journal_id" widget="selection" domain="[('type', '=', 'bank')]" />
591 <group expand="0" string="Group By...">
592 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
593 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
594 <separator orientation="vertical"/>
595 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
600 <record id="view_bank_statement_form" model="ir.ui.view">
601 <field name="name">account.bank.statement.form</field>
602 <field name="model">account.bank.statement</field>
603 <field name="type">form</field>
604 <field name="arch" type="xml">
605 <form string="Bank Statement" version="7.0">
607 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" />
608 <button name="button_dummy" states="draft" string="Compute" type="object"/>
609 <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
610 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
616 <field name="date" on_change="onchange_date(date, company_id)"/>
617 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
618 <field name="period_id"/>
619 <field name='company_id' widget="selection" groups="base.group_multi_company" />
621 <field name="balance_start"/>
622 <field name="balance_end_real"/>
623 <field name="currency" invisible="1"/>
628 <page string="Transactions" name="statement_line_ids">
629 <field name="line_ids" context="{'date':date}">
630 <tree editable="bottom" string="Statement lines">
631 <field name="sequence" readonly="1" invisible="1"/>
635 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
636 <field name="type" on_change="onchange_type(partner_id, type)"/>
637 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
638 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
639 <field name="amount"/>
641 <form string="Statement lines" version="7.0">
646 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
647 <field name="type" on_change="onchange_type(partner_id, type)"/>
648 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
649 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
650 <field name="amount"/>
651 <field name="sequence" readonly="0"/>
653 <separator string="Notes"/>
658 <page string="Journal Entries" name="move_live_ids">
659 <field name="move_line_ids"/>
668 <record id="action_bank_statement_tree" model="ir.actions.act_window">
669 <field name="name">Bank Statements</field>
670 <field name="res_model">account.bank.statement</field>
671 <field name="view_type">form</field>
672 <field name="view_mode">tree,form,graph</field>
673 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
674 <field name="context">{'journal_type':'bank'}</field>
675 <field name="search_view_id" ref="view_bank_statement_search"/>
676 <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>
678 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
679 <field name="sequence" eval="1"/>
680 <field name="view_mode">tree</field>
681 <field name="view_id" ref="view_bank_statement_tree"/>
682 <field name="act_window_id" ref="action_bank_statement_tree"/>
684 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
685 <field name="sequence" eval="1"/>
686 <field name="view_mode">form</field>
687 <field name="view_id" ref="view_bank_statement_form"/>
688 <field name="act_window_id" ref="action_bank_statement_tree"/>
691 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
693 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
694 <field name="name">Draft statements</field>
695 <field name="res_model">account.bank.statement</field>
696 <field name="view_type">form</field>
697 <field name="view_mode">tree,form</field>
698 <field name="domain">[('state','=','draft')]</field>
699 <field name="filter" eval="True"/>
705 <record id="view_account_type_search" model="ir.ui.view">
706 <field name="name">account.account.type.search</field>
707 <field name="model">account.account.type</field>
708 <field name="type">search</field>
709 <field name="arch" type="xml">
710 <search string="Account Type">
712 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
713 string="Account Type"/>
718 <record id="view_account_type_tree" model="ir.ui.view">
719 <field name="name">account.account.type.tree</field>
720 <field name="model">account.account.type</field>
721 <field name="type">tree</field>
722 <field name="arch" type="xml">
723 <tree string="Account Type">
730 <record id="view_account_type_form" model="ir.ui.view">
731 <field name="name">account.account.type.form</field>
732 <field name="model">account.account.type</field>
733 <field name="type">form</field>
734 <field name="arch" type="xml">
735 <form string="Account Type" version="7.0">
742 <field name="report_type"/>
743 <field name="close_method"/>
746 <separator string="Description"/>
751 <record id="action_account_type_form" model="ir.actions.act_window">
752 <field name="name">Account Types</field>
753 <field name="res_model">account.account.type</field>
754 <field name="view_type">form</field>
755 <field name="view_mode">tree,form</field>
756 <field name="search_view_id" ref="view_account_type_search"/>
757 <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>
759 <menuitem action="action_account_type_form" sequence="20" id="menu_action_account_type_form" parent="account_account_menu" groups="base.group_no_one"/>
763 <record id="view_account_move_tree" model="ir.ui.view">
764 <field name="name">account.move.tree</field>
765 <field name="model">account.move</field>
766 <field name="type">tree</field>
767 <field name="arch" type="xml">
768 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
772 <field name="period_id"/>
773 <field name="journal_id"/>
774 <field name="partner_id"/>
775 <field name="amount" sum="Total Amount"/>
776 <field name="state"/>
785 <record id="view_move_reconcile_form" model="ir.ui.view">
786 <field name="name">account.move.reconcile.form</field>
787 <field name="model">account.move.reconcile</field>
788 <field name="type">form</field>
789 <field name="arch" type="xml">
790 <form string="Journal Entry Reconcile" version="7.0">
793 <field name="create_date"/>
796 <separator string="Reconcile Entries"/>
797 <field name="line_id"/>
798 <separator string="Partial Reconcile Entries"/>
799 <field name="line_partial_ids"/>
807 <record id="view_tax_code_search" model="ir.ui.view">
808 <field name="name">account.tax.code.search</field>
809 <field name="model">account.tax.code</field>
810 <field name="type">search</field>
811 <field name="arch" type="xml">
812 <search string="Account Tax Code">
814 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
816 <field name="parent_id"/>
817 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
821 <record id="view_tax_code_tree" model="ir.ui.view">
822 <field name="name">account.tax.code.tree</field>
823 <field name="model">account.tax.code</field>
824 <field name="type">tree</field>
825 <field name="field_parent">child_ids</field>
826 <field name="priority">100</field>
827 <field name="arch" type="xml">
828 <tree string="Account Tax Code" toolbar="1">
831 <field name="sum_period"/>
833 <field name="company_id" groups="base.group_multi_company"/>
837 <record id="view_tax_code_form" model="ir.ui.view">
838 <field name="name">account.tax.code.form</field>
839 <field name="model">account.tax.code</field>
840 <field name="type">form</field>
841 <field name="arch" type="xml">
842 <form string="Account Tax Code" version="7.0">
844 <group col="4" colspan="2">
847 <field name="parent_id"/>
848 <field name="company_id" groups="base.group_multi_company"/>
850 <group string="Reporting Configuration">
851 <field name="notprintable"/>
854 <group string="Statistics">
855 <field name="sum_period"/>
859 <separator string="Description"/>
864 <record id="action_tax_code_list" model="ir.actions.act_window">
865 <field name="name">Tax codes</field>
866 <field name="res_model">account.tax.code</field>
867 <field name="view_type">form</field>
868 <field name="view_mode">tree,form</field>
869 <field name="view_id" ref="view_tax_code_tree"/>
870 <field name="search_view_id" ref="view_tax_code_search"/>
871 <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>
873 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
874 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
880 <record id="view_tax_tree" model="ir.ui.view">
881 <field name="name">account.tax.tree</field>
882 <field name="model">account.tax</field>
883 <field name="type">tree</field>
884 <field name="field_parent">child_ids</field>
885 <field name="arch" type="xml">
886 <tree string="Account Tax">
888 <field name="price_include"/>
889 <field name="description"/>
890 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
894 <record id="view_account_tax_search" model="ir.ui.view">
895 <field name="name">account.tax.search</field>
896 <field name="model">account.tax</field>
897 <field name="type">search</field>
898 <field name="arch" type="xml">
899 <search string="Search Taxes">
902 filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]"
904 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
909 <record id="view_tax_form" model="ir.ui.view">
910 <field name="name">account.tax.form</field>
911 <field name="model">account.tax</field>
912 <field name="type">form</field>
913 <field name="arch" type="xml">
914 <form string="Account Tax" version="7.0">
917 <field name="description"/>
918 <field name="type_tax_use"/>
919 <field name="price_include"/>
920 <field name="active"/>
921 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
924 <page string="Tax Definition">
927 <field name="amount" attrs="{'readonly':[('type','in',('none', 'code', 'balance'))]}"/>
928 <separator colspan="4" string="Accounting Information"/>
929 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
930 <label colspan="2" nolabel="1" string="Keep empty to use the income account"/>
931 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
932 <label colspan="2" nolabel="1" string="Keep empty to use the expense account"/>
933 <separator colspan="4" string="Tax Declaration: Invoices"/>
934 <field name="base_code_id"/>
935 <field name="base_sign"/>
936 <field name="tax_code_id"/>
937 <field name="tax_sign"/>
938 <separator colspan="4" string="Tax Declaration: Credit Notes"/>
939 <field name="ref_base_code_id"/>
940 <field name="ref_base_sign"/>
941 <field name="ref_tax_code_id"/>
942 <field name="ref_tax_sign"/>
943 <separator colspan="4" string="Children Definition"/>
944 <field name="child_depend"/>
945 <field name="sequence"/>
946 <field name="include_base_amount"/>
947 <field colspan="4" name="child_ids">
948 <tree string="Account Tax">
949 <field name="sequence"/>
951 <field name="price_include"/>
952 <field name="description"/>
957 <page string="Special Computation">
959 <separator colspan="4" string="Applicability Options"/>
960 <field name="applicable_type"/>
961 <field name="domain"/>
962 <separator colspan="4" string="Applicable Code (if type=code)"/>
963 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
964 <separator colspan="2" string="Compute Code"/>
965 <separator colspan="2" string="Reverse Compute Code"/>
966 <field colspan="2" name="python_compute" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
967 <field colspan="2" name="python_compute_inv" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
974 <record id="action_tax_form" model="ir.actions.act_window">
975 <field name="name">Taxes</field>
976 <field name="res_model">account.tax</field>
977 <field name="view_type">form</field>
978 <field name="view_id" ref="view_tax_tree"/>
979 <field name="domain">[('parent_id','=',False)]</field>
981 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
983 <record id="action_tax_code_tree" model="ir.actions.act_window">
984 <field name="name">Chart of Taxes</field>
985 <field name="res_model">account.tax.code</field>
986 <field name="domain">[('parent_id','=',False)]</field>
987 <field name="view_type">tree</field>
988 <field name="view_id" ref="view_tax_code_tree"/>
989 <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>
996 <record id="view_move_line_tree" model="ir.ui.view">
997 <field name="name">account.move.line.tree</field>
998 <field name="model">account.move.line</field>
999 <field name="type">tree</field>
1000 <field eval="4" name="priority"/>
1001 <field name="arch" type="xml">
1002 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" editable="top" on_write="on_create_write">
1003 <field name="date"/>
1004 <field name="period_id"/>
1005 <field name="move_id"/>
1007 <field name="invoice"/>
1008 <field name="name"/>
1009 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
1010 <field name="account_id" domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]"/>
1011 <field name="journal_id"/>
1012 <field name="debit" sum="Total debit"/>
1013 <field name="credit" sum="Total credit"/>
1014 <field name="account_tax_id"/>
1015 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
1016 <field name="amount_currency" attrs="{'readonly':[('state','=','valid')]}"/>
1017 <field name="currency_id" attrs="{'readonly':[('state','=','valid')]}"/>
1018 <field name="reconcile_partial_id"/>
1019 <field name="reconcile_id"/>
1020 <field name="state"/>
1025 <record id="view_move_line_form" model="ir.ui.view">
1026 <field name="name">account.move.line.form</field>
1027 <field name="model">account.move.line</field>
1028 <field name="type">form</field>
1029 <field eval="2" name="priority"/>
1030 <field name="arch" type="xml">
1031 <form string="Journal Item" version="7.0">
1033 <field name="name"/>
1035 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1037 <field name="journal_id"/>
1038 <field name="period_id"/>
1039 <field name="company_id" required="1" groups="base.group_multi_company"/>
1041 <notebook colspan="4">
1042 <page string="Information">
1044 <group string="Amount">
1045 <field name="account_id" domain="[('company_id', '=', company_id), ('type','<>','view'), ('type','<>','consolidation')]"/>
1046 <field name="debit"/>
1047 <field name="credit"/>
1048 <field name="quantity"/>
1051 <group string="Accounting Documents">
1052 <field name="invoice" readonly="True"/>
1053 <field name="move_id" required="False"/>
1054 <field name="statement_id" readonly="True"/>
1057 <group string="Dates">
1058 <field name="date"/>
1059 <field name="date_maturity"/>
1060 <field name="date_created" readonly="True"/>
1063 <group string="Taxes">
1064 <field name="tax_code_id"/>
1065 <field name="tax_amount"/>
1066 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1069 <group attrs="{'readonly':[('state','=','valid')]}" string="Currency">
1070 <field name="currency_id"/>
1071 <field name="amount_currency"/>
1074 <group string="Reconciliation">
1075 <field name="reconcile_id"/>
1076 <field name="reconcile_partial_id"/>
1079 <group string="States">
1080 <field name="state"/>
1081 <field name="blocked"/>
1084 <group groups="analytic.group_analytic_accounting" string="Analytic">
1085 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1088 <separator string="Internal Note" colspan="4"/>
1089 <field name="narration" colspan="4" nolabel="1"/>
1091 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1092 <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)}"/>
1099 <record id="view_move_line_form2" model="ir.ui.view">
1100 <field name="name">account.move.line.form2</field>
1101 <field name="model">account.move.line</field>
1102 <field name="type">form</field>
1103 <field eval="9" name="priority"/>
1104 <field name="arch" type="xml">
1105 <form string="Journal Item" version="7.0">
1106 <notebook colspan="4">
1107 <page string="Information">
1109 <separator colspan="4" string="General Information"/>
1110 <field name="name"/>
1111 <field name="date"/>
1112 <field name="journal_id" readonly="False"/>
1113 <field name="period_id" readonly="False"/>
1114 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1115 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1117 <field name="debit"/>
1118 <field name="credit"/>
1120 <separator colspan="4" string="Optional Information"/>
1121 <field name="currency_id"/>
1122 <field name="amount_currency"/>
1123 <field name="quantity"/>
1124 <field name="move_id" required="False"/>
1126 <field name="date_maturity"/>
1127 <field name="date_created"/>
1128 <field name="date_created"/>
1129 <field name="blocked"/>
1131 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1132 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1133 <separator colspan="4" string="Status"/>
1135 <field name="reconcile_id"/>
1136 <field name="reconcile_partial_id"/>
1137 <field name="state"/>
1140 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1141 <field name="analytic_lines"/>
1148 <record id="account_move_line_graph" model="ir.ui.view">
1149 <field name="name">account.move.line.graph</field>
1150 <field name="model">account.move.line</field>
1151 <field name="type">graph</field>
1152 <field name="arch" type="xml">
1153 <graph string="Account Statistics" type="bar">
1154 <field name="account_id"/>
1155 <field name="debit" operator="+"/>
1156 <field name="credit" operator="+"/>
1161 <record id="view_account_move_line_filter" model="ir.ui.view">
1162 <field name="name">Journal Items</field>
1163 <field name="model">account.move.line</field>
1164 <field name="type">search</field>
1165 <field name="arch" type="xml">
1166 <search string="Search Journal Items">
1168 <field name="date"/>
1169 <separator orientation="vertical"/>
1170 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1171 <separator orientation="vertical"/>
1172 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1173 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1174 <separator orientation="vertical"/>
1176 icon="terp-dolar_ok!"
1177 string="Unreconciled"
1178 domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
1179 name="unreconciled"/>
1180 <separator orientation="vertical"/>
1181 <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)]"/>
1182 <separator orientation="vertical"/>
1183 <field name="move_id" string="Number (Move)"/>
1184 <field name="account_id"/>
1185 <field name="partner_id"/>
1186 <field name="journal_id" widget="selection" context="{'journal_id':self}"/>
1187 <field name="period_id" context="{'period_id':self}"/>
1190 <group expand="0" string="Group By...">
1191 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1192 <separator orientation="vertical"/>
1193 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1194 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1195 <separator orientation="vertical"/>
1196 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1203 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1204 <field name="name">Journal Items</field>
1205 <field name="res_model">account.move.line</field>
1206 <field name="view_type">form</field>
1207 <field name="view_mode">tree,form</field>
1208 <field name="context">{}</field>
1209 <field name="search_view_id" ref="view_account_move_line_filter"/>
1210 <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>
1214 action="action_account_moves_all_a"
1215 icon="STOCK_JUSTIFY_FILL"
1216 id="menu_action_account_moves_all"
1217 parent="account.menu_finance_entries"
1219 groups="group_account_user"
1222 <record id="action_view_move_line" model="ir.actions.act_window">
1223 <field name="name">Lines to reconcile</field>
1224 <field name="res_model">account.move.line</field>
1225 <field name="view_type">form</field>
1226 <field name="view_mode">tree,form</field>
1227 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1228 <field eval="False" name="view_id"/>
1229 <field eval="True" name="filter"/>
1230 <field name="search_view_id" ref="view_account_move_line_filter"/>
1233 <record id="action_move_line_select" model="ir.actions.act_window">
1234 <field name="name">Journal Items</field>
1235 <field name="res_model">account.move.line</field>
1236 <field name="view_type">form</field>
1237 <field name="view_mode">tree,form</field>
1238 <field name="view_id" ref="view_move_line_tree"/>
1239 <field name="search_view_id" ref="view_account_move_line_filter"/>
1240 <field name="context">{'search_default_account_id': [active_id]}</field>
1243 <record id="ir_account_move_line_select" model="ir.values">
1244 <field name="key2">tree_but_open</field>
1245 <field name="model">account.account</field>
1246 <field name="name">Open Journal Items</field>
1247 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1250 Account.Entry Edition
1253 <record id="account_move_graph" model="ir.ui.view">
1254 <field name="name">account.move.graph</field>
1255 <field name="model">account.move</field>
1256 <field name="type">graph</field>
1257 <field name="arch" type="xml">
1258 <graph string="Account Statistics" type="bar">
1259 <field name="period_id"/>
1260 <field name="amount" operator="+"/>
1264 <record id="view_move_tree" model="ir.ui.view">
1265 <field name="name">account.move.tree</field>
1266 <field name="model">account.move</field>
1267 <field name="type">tree</field>
1268 <field name="arch" type="xml">
1269 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1270 <field name="name"/>
1272 <field name="date"/>
1273 <field name="period_id"/>
1274 <field name="journal_id"/>
1275 <field name="partner_id"/>
1276 <field name="amount" sum="Total Amount"/>
1277 <field name="to_check"/>
1278 <field name="state"/>
1282 <record id="view_move_form" model="ir.ui.view">
1283 <field name="name">account.move.form</field>
1284 <field name="model">account.move</field>
1285 <field name="type">form</field>
1286 <field name="arch" type="xml">
1287 <form version="7.0">
1289 <button name="button_validate" states="draft" string="Post" type="object"/>
1290 <button name="button_cancel" states="posted" string="Cancel" type="object"/>
1291 <field name="state" widget="statusbar"/>
1293 <sheet string="Journal Entries" layout="auto">
1295 <field name="name" readonly="True"/>
1297 <field name="journal_id"/>
1298 <field name="period_id"/>
1299 <field name="to_check"/>
1300 <field name="date"/>
1301 <field name="company_id" required="1" groups="base.group_multi_company"/>
1302 <field name="partner_id" invisible="1"/>
1303 <field name="amount" invisible="1"/>
1305 <notebook colspan="4">
1306 <page string="Journal Items">
1307 <field name="balance" invisible="1"/>
1308 <field colspan="4" name="line_id" widget="one2many_list"
1309 on_change="onchange_line_id(line_id)"
1310 context="{'balance': balance , 'journal': journal_id }">
1311 <form string="Journal Item" version="7.0">
1312 <group col="6" colspan="4">
1313 <field name="name"/>
1315 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1317 <field name="journal_id"/>
1318 <field name="period_id"/>
1319 <field name="company_id" required="1" groups="base.group_multi_company"/>
1321 <notebook colspan="4">
1322 <page string="Information">
1324 <group string="Amount">
1325 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1326 <field name="debit"/>
1327 <field name="credit"/>
1328 <field name="quantity"/>
1331 <group string="Accounting Documents">
1332 <field name="invoice"/>
1333 <field name="move_id" required="False"/>
1334 <field name="statement_id"/>
1337 <group string="Dates">
1338 <field name="date"/>
1339 <field name="date_maturity"/>
1340 <field name="date_created"/>
1343 <group string="Taxes">
1344 <field name="tax_code_id"/>
1345 <field name="tax_amount"/>
1346 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1349 <group string="Currency">
1350 <field name="currency_id"/>
1351 <field name="amount_currency"/>
1354 <group string="Reconciliation">
1355 <field name="reconcile_id"/>
1356 <field name="reconcile_partial_id"/>
1359 <group string="States">
1360 <field name="state"/>
1361 <field name="blocked"/>
1364 <group groups="analytic.group_analytic_accounting" string="Analytic">
1365 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1368 <separator string="Internal Note"/>
1369 <field name="narration"/>
1371 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1372 <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)}"/>
1376 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1378 <field name="invoice"/>
1379 <field name="name"/>
1380 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1381 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1382 <field name="date_maturity"/>
1383 <field name="debit" sum="Total Debit"/>
1384 <field name="credit" sum="Total Credit"/>
1385 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1386 <field name="amount_currency"/>
1387 <field name="currency_id"/>
1388 <field name="tax_code_id"/>
1389 <field name="tax_amount"/>
1390 <field name="state"/>
1391 <field name="reconcile_id"/>
1392 <field name="reconcile_partial_id"/>
1395 <separator string="Internal Note"/>
1396 <field name="narration" colspan="4" nolabel="1" height="50"/>
1404 <record id="view_account_move_filter" model="ir.ui.view">
1405 <field name="name">account.move.select</field>
1406 <field name="model">account.move</field>
1407 <field name="type">search</field>
1408 <field name="arch" type="xml">
1409 <search string="Search Move">
1412 filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]"
1414 <field name="date"/>
1415 <separator orientation="vertical"/>
1416 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1417 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1418 <separator orientation="vertical"/>
1419 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1420 <separator orientation="vertical"/>
1421 <field name="partner_id"/>
1422 <field name="journal_id" widget="selection"/>
1423 <field name="period_id"/>
1426 <group expand="0" string="Group By...">
1427 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1428 <separator orientation="vertical"/>
1429 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1430 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1431 <separator orientation="vertical"/>
1432 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1433 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1439 <record id="action_move_journal_line" model="ir.actions.act_window">
1440 <field name="name">Journal Entries</field>
1441 <field name="res_model">account.move</field>
1442 <field name="view_type">form</field>
1443 <field name="view_mode">tree,form,graph</field>
1444 <field name="view_id" ref="view_move_tree"/>
1445 <field name="search_view_id" ref="view_account_move_filter"/>
1446 <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>
1450 icon="STOCK_JUSTIFY_FILL"
1451 action="action_move_journal_line"
1452 id="menu_action_move_journal_line_form"
1453 parent="account.menu_finance_entries"
1454 groups="group_account_user"
1457 <record id="action_move_line_form" model="ir.actions.act_window">
1458 <field name="name">Entries</field>
1459 <field name="type">ir.actions.act_window</field>
1460 <field name="res_model">account.move</field>
1461 <field name="view_type">form</field>
1462 <field name="view_id" ref="view_move_tree"/>
1463 <field name="search_view_id" ref="view_account_move_filter"/>
1467 id="act_account_move_to_account_move_line_open"
1468 name="Journal Items"
1469 context="{'search_default_move_id':[active_id], 'default_move_id': active_id}"
1470 res_model="account.move.line"
1471 src_model="account.move"/>
1473 <record id="action_move_line_search" model="ir.actions.act_window">
1474 <field name="name">Journal Items</field>
1475 <field name="type">ir.actions.act_window</field>
1476 <field name="res_model">account.move.line</field>
1477 <field name="view_type">form</field>
1478 <field name="view_mode">tree,form</field>
1479 <field name="view_id" ref="view_move_line_tree"/>
1480 <field name="search_view_id" ref="view_account_move_line_filter"/>
1482 <record id="action_move_line_search_view1" model="ir.actions.act_window.view">
1483 <field eval="10" name="sequence"/>
1484 <field name="view_mode">tree</field>
1485 <field name="view_id" ref="view_move_line_tree"/>
1486 <field name="act_window_id" ref="action_move_line_search"/>
1488 <record id="action_move_line_search_view2" model="ir.actions.act_window.view">
1489 <field eval="11" name="sequence"/>
1490 <field name="view_mode">form</field>
1491 <field name="act_window_id" ref="action_move_line_search"/>
1495 context="{'search_default_next_partner':1,'view_mode':True}"
1496 id="action_account_manual_reconcile" name="Journal Items"
1497 res_model="account.move.line"
1498 view_id="view_move_line_tree"/>
1502 name="Manual Reconciliation" icon="STOCK_EXECUTE"
1503 action="action_account_manual_reconcile"
1504 id="menu_manual_reconcile"
1505 parent="account.periodical_processing_reconciliation"/>
1509 id="act_account_acount_move_line_open"
1511 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0, 'default_account_id': active_id}"
1512 res_model="account.move.line"
1513 src_model="account.account"/>
1516 id="act_account_acount_move_line_open_unreconciled"
1517 name="Unreconciled Entries"
1518 res_model="account.move.line"
1519 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
1520 src_model="account.account"/>
1523 domain="[('reconcile_id', '=', active_id)]"
1524 id="act_account_acount_move_line_reconcile_open"
1525 name="Reconciled entries"
1526 res_model="account.move.line"
1527 src_model="account.move.reconcile"/>
1532 Print Journal (and change state)
1533 Close Journal (and verify that there is no draft Entry Lines)
1536 <record id="view_journal_period_tree" model="ir.ui.view">
1537 <field name="name">account.journal.period.tree</field>
1538 <field name="model">account.journal.period</field>
1539 <field name="type">tree</field>
1540 <field name="arch" type="xml">
1541 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1542 <field icon="icon" name="fiscalyear_id"/>
1543 <field name="period_id"/>
1544 <field name="journal_id"/>
1545 <field name="state"/>
1546 <field name="company_id" groups="base.group_multi_company"/>
1550 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1551 <field name="name">Journals</field>
1552 <field name="res_model">account.journal.period</field>
1553 <field name="view_type">tree</field>
1554 <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>
1561 <record id="view_model_line_tree" model="ir.ui.view">
1562 <field name="name">account.model.line.tree</field>
1563 <field name="model">account.model.line</field>
1564 <field name="type">tree</field>
1565 <field name="arch" type="xml">
1566 <tree string="Journal Entry Model Line" editable="bottom">
1567 <field name="sequence"/>
1568 <field name="name"/>
1569 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1570 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1571 <field name="partner_id"/>
1572 <field name="debit"/>
1573 <field name="credit"/>
1574 <field name="date_maturity"/>
1580 <record id="view_model_line_form" model="ir.ui.view">
1581 <field name="name">account.model.line.form</field>
1582 <field name="model">account.model.line</field>
1583 <field name="type">form</field>
1584 <field name="arch" type="xml">
1585 <form string="Journal Entry Model Line" version="7.0">
1587 <field colspan="4" name="name"/>
1588 <field name="sequence"/>
1589 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1590 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1591 <field name="partner_id"/>
1592 <field name="debit"/>
1593 <field name="credit"/>
1594 <field name="quantity"/>
1595 <field name="date_maturity"/>
1601 <record id="view_model_form" model="ir.ui.view">
1602 <field name="name">account.model.form</field>
1603 <field name="model">account.model</field>
1604 <field name="type">form</field>
1605 <field name="arch" type="xml">
1606 <form string="Journal Entry Model" version="7.0">
1608 <field name="name"/>
1609 <field name="journal_id"/>
1610 <field name="company_id" widget='selection' groups="base.group_multi_company"/>
1613 <field name="lines_id" widget="one2many_list"/>
1614 <separator string="Legend"/>
1615 <field name="legend"/>
1616 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1621 <record id="view_model_tree" model="ir.ui.view">
1622 <field name="name">account.model.tree</field>
1623 <field name="model">account.model</field>
1624 <field name="type">tree</field>
1625 <field name="arch" type="xml">
1626 <tree string="Journal Entry Model">
1627 <field name="name"/>
1628 <field name="journal_id"/>
1629 <field name="company_id" groups="base.group_multi_company"/>
1634 <record id="view_model_search" model="ir.ui.view">
1635 <field name="name">account.model.search</field>
1636 <field name="model">account.model</field>
1637 <field name="type">search</field>
1638 <field name="arch" type="xml">
1639 <search string="Journal Entry Model">
1642 filter_domain="[('name','ilike',self)]"
1643 string="Journal Entry Model"/>
1644 <separator orientation="vertical"/>
1645 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1646 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1647 <separator orientation="vertical"/>
1648 <field name="journal_id" widget="selection"/>
1649 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1652 <group expand="0" string="Group By...">
1653 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1659 <record id="action_model_form" model="ir.actions.act_window">
1660 <field name="name">Recurring Models</field>
1661 <field name="res_model">account.model</field>
1662 <field name="view_type">form</field>
1663 <field name="view_mode">tree,form</field>
1664 <field name="search_view_id" ref="view_model_search"/>
1667 action="action_model_form" id="menu_action_model_form" sequence="5"
1668 parent="account.menu_configuration_misc"/>
1674 <record id="view_payment_term_line_tree" model="ir.ui.view">
1675 <field name="name">account.payment.term.line.tree</field>
1676 <field name="model">account.payment.term.line</field>
1677 <field name="type">tree</field>
1678 <field name="arch" type="xml">
1679 <tree string="Payment Term">
1680 <field name="sequence"/>
1681 <field name="name"/>
1682 <field name="value"/>
1683 <field name="value_amount"/>
1684 <field name="days"/>
1685 <field name="days2"/>
1691 <record id="view_payment_term_line_form" model="ir.ui.view">
1692 <field name="name">account.payment.term.line.form</field>
1693 <field name="model">account.payment.term.line</field>
1694 <field name="type">form</field>
1695 <field name="arch" type="xml">
1696 <form string="Payment Term" version="7.0">
1697 <field name="name"/>
1698 <field name="sequence"/>
1700 <group string="Amount Computation">
1701 <field name="value"/>
1702 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1704 <group string="Due Date Computation">
1705 <field name="days"/>
1706 <field name="days2"/>
1710 <separator string="Example"/>
1711 <label string="At 14 net days 2 percent, remaining amount at 30 days end of month."/>
1713 <label string="Line 1:" colspan="2"/>
1714 <label string=" Valuation: Percent"/>
1715 <label string=" Number of Days: 14"/>
1716 <label string=" Value amount: 0.02"/>
1717 <label string=" Day of the Month: 0"/>
1720 <label string="Line 2:" colspan="2"/>
1721 <label string=" Valuation: Balance"/>
1722 <label string=" Number of Days: 30"/>
1723 <label string=" Value amount: n.a"/>
1724 <label string=" Day of the Month= -1"/>
1730 <record id="view_payment_term_search" model="ir.ui.view">
1731 <field name="name">account.payment.term.search</field>
1732 <field name="model">account.payment.term</field>
1733 <field name="type">search</field>
1734 <field name="arch" type="xml">
1735 <search string="Payment Term">
1737 filter_domain="[('name','ilike',self)]"
1738 string="Payment Term"/>
1739 <field name="active"/>
1744 <record id="view_payment_term_form" model="ir.ui.view">
1745 <field name="name">account.payment.term.form</field>
1746 <field name="model">account.payment.term</field>
1747 <field name="type">form</field>
1748 <field name="arch" type="xml">
1749 <form string="Payment Term" version="7.0">
1751 <field name="name"/>
1752 <field name="active"/>
1754 <separator string="Description on Invoices"/>
1755 <field name="note"/>
1756 <separator string="Computation"/>
1757 <field name="line_ids"/>
1762 <record id="action_payment_term_form" model="ir.actions.act_window">
1763 <field name="name">Payment Terms</field>
1764 <field name="res_model">account.payment.term</field>
1765 <field name="view_type">form</field>
1766 <field name="view_mode">tree,form</field>
1767 <field name="search_view_id" ref="view_payment_term_search"/>
1769 <menuitem action="action_payment_term_form"
1770 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1773 # Account Subscriptions
1776 <record id="view_subscription_line_form" model="ir.ui.view">
1777 <field name="name">account.subscription.line.form</field>
1778 <field name="model">account.subscription.line</field>
1779 <field name="type">form</field>
1780 <field name="arch" type="xml">
1781 <form string="Subscription lines" version="7.0">
1783 <field name="date"/>
1784 <field name="move_id"/>
1790 <record id="view_subscription_line_tree" model="ir.ui.view">
1791 <field name="name">account.subscription.line.tree</field>
1792 <field name="model">account.subscription.line</field>
1793 <field name="type">tree</field>
1794 <field name="arch" type="xml">
1795 <tree string="Subscription lines">
1796 <field name="date"/>
1797 <field name="move_id"/>
1802 <record id="view_subscription_tree" model="ir.ui.view">
1803 <field name="name">account.subscription.tree</field>
1804 <field name="model">account.subscription</field>
1805 <field name="type">tree</field>
1806 <field name="arch" type="xml">
1807 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1808 <field name="name"/>
1809 <field name="model_id"/>
1811 <field name="date_start"/>
1812 <field name="state"/>
1817 <record id="view_subscription_search" model="ir.ui.view">
1818 <field name="name">account.subscription.search</field>
1819 <field name="model">account.subscription</field>
1820 <field name="type">search</field>
1821 <field name="arch" type="xml">
1822 <search string="Entry Subscription">
1825 filter_domain="[('name','ilike',self)]"
1826 string="Account Subscription"/>
1827 <field name="date_start"/>
1828 <separator orientation="vertical"/>
1829 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1830 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1831 <separator orientation="vertical"/>
1832 <field name="model_id"/>
1835 <group expand="0" string="Group By...">
1836 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1837 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1843 <record id="view_subscription_form" model="ir.ui.view">
1844 <field name="name">account.subscription.form</field>
1845 <field name="model">account.subscription</field>
1846 <field name="type">form</field>
1847 <field name="arch" type="xml">
1848 <form string="Recurring" version="7.0">
1850 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1851 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
1852 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove"/>
1853 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1858 <field name="name"/>
1859 <field name="model_id"/>
1864 <group string="Starts on">
1865 <field name="date_start"/>
1866 <field name="period_total"/>
1869 <group string="Valid Up to">
1870 <field name="period_nbr"/>
1871 <field name="period_type"/>
1874 <separator string="Subscription Lines"/>
1875 <field name="lines_id" widget="one2many_list"/>
1879 <record id="action_subscription_form" model="ir.actions.act_window">
1880 <field name="name">Recurring Lines</field>
1881 <field name="res_model">account.subscription</field>
1882 <field name="view_type">form</field>
1883 <field name="view_mode">tree,form</field>
1884 <field name="search_view_id" ref="view_subscription_search"/>
1885 <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>
1888 name="Define Recurring Entries" action="action_subscription_form"
1889 id="menu_action_subscription_form" sequence="1"
1890 parent="account.menu_finance_recurrent_entries"/>
1892 <record id="action_subscription_form_running" model="ir.actions.act_window">
1893 <field name="name">Running Subscriptions</field>
1894 <field name="res_model">account.subscription</field>
1895 <field name="view_type">form</field>
1896 <field name="view_mode">tree,form</field>
1897 <field name="domain">[('state','=','running')]</field>
1898 <field name="filter" eval="True"/>
1901 <record id="action_subscription_form_new" model="ir.actions.act_window">
1902 <field name="name">New Subscription</field>
1903 <field name="res_model">account.subscription</field>
1904 <field name="view_type">form</field>
1905 <field name="view_mode">form,tree</field>
1906 <field name="view_id" ref="view_subscription_form"/>
1909 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1910 <field name="name">account.subscription.line.form</field>
1911 <field name="model">account.subscription.line</field>
1912 <field name="type">form</field>
1913 <field eval="20" name="priority"/>
1914 <field name="arch" type="xml">
1915 <form string="Subscription lines" version="7.0">
1917 <field name="subscription_id"/>
1918 <field name="date"/>
1919 <field name="move_id"/>
1925 <record id="action_move_line_tree1" model="ir.actions.act_window">
1926 <field name="name">Journal Items</field>
1927 <field name="res_model">account.move.line</field>
1928 <field name="view_type">form</field>
1929 <field name="view_mode">tree,form</field>
1930 <field name="domain">[('account_id','child_of', [active_id]),('state','<>','draft')]</field>
1931 <field name="context">{'account_id':active_id}</field>
1934 <record id="view_move_line_tax_tree" model="ir.ui.view">
1935 <field name="name">account.move.line.tax.tree</field>
1936 <field name="model">account.move.line</field>
1937 <field name="type">tree</field>
1938 <field eval="4" name="priority"/>
1939 <field name="arch" type="xml">
1940 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items">
1941 <field name="date"/>
1942 <field name="move_id"/>
1943 <field name="statement_id" string="St."/>
1944 <field name="name"/>
1945 <field name="partner_id"/>
1946 <field name="account_id"/>
1947 <field name="tax_code_id"/>
1948 <field name="tax_amount"/>
1949 <field name="debit" sum="Total debit"/>
1950 <field name="credit" sum="Total credit"/>
1951 <field name="account_tax_id"/>
1952 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1953 <field name="state"/>
1958 <record id="action_tax_code_line_open" model="ir.actions.act_window">
1959 <field name="name">Journal Items</field>
1960 <field name="res_model">account.move.line</field>
1961 <field name="view_type">form</field>
1962 <field name="view_mode">tree,form</field>
1963 <field name="view_id" ref="view_move_line_tax_tree"/>
1964 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
1966 <record id="ir_open_tax_move_line" model="ir.values">
1967 <field name="key2">tree_but_open</field>
1968 <field name="model">account.tax.code</field>
1969 <field name="name">Tax Details</field>
1970 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
1979 id="act_account_journal_2_account_bank_statement"
1980 name="Bank statements"
1981 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
1982 res_model="account.bank.statement"
1983 src_model="account.journal"/>
1986 id="act_account_journal_2_account_move_line"
1987 name="Journal Items"
1988 context="{'search_default_journal_id':active_id, 'default_journal_id': active_id}"
1989 res_model="account.move.line"
1990 src_model="account.journal"/>
1993 context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
1994 domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]"
1995 id="act_account_partner_account_move_all"
1996 name="Receivables & Payables"
1997 res_model="account.move.line"
1998 src_model="res.partner"/>
2000 <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"/>
2002 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
2003 <field name="name">Create Account</field>
2004 <field name="model">account.addtmpl.wizard</field>
2005 <field name="type">form</field>
2006 <field name="arch" type="xml">
2007 <form string="Create Account" version="7.0">
2009 <button icon="gtk-ok" name="action_create" string="Add" type="object"/>
2010 <button icon="gtk-cancel" special="cancel" string="Cancel" name="action_cancel" type="object"/>
2012 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
2013 <field name="cparent_id"/>
2018 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
2019 name="Create Account"
2021 res_model="account.addtmpl.wizard"
2022 context="{'tmpl_ids': active_id}"
2023 src_model="account.account.template"
2024 view_type="form" view_mode="form"/>
2026 <!-- Account Templates -->
2028 id="account_template_folder"
2030 parent="menu_finance_accounting"
2031 groups="base.group_multi_company"/>
2033 id="account_template_taxes"
2035 parent="account_template_folder"
2038 id="account_template_accounts"
2040 parent="account_template_folder"
2044 <record id="view_account_template_form" model="ir.ui.view">
2045 <field name="name">account.account.template.form</field>
2046 <field name="model">account.account.template</field>
2047 <field name="type">form</field>
2048 <field name="arch" type="xml">
2049 <form string="Account Template" version="7.0">
2051 <page string="General Information">
2053 <field name="name"/>
2054 <field name="code"/>
2056 <field name="parent_id"/>
2057 <field name="shortcut"/>
2058 <field name="type"/>
2059 <field name="user_type"/>
2061 <field name="currency_id"/>
2062 <field name="reconcile"/>
2063 <field name="chart_template_id"/>
2065 <separator string="Default Taxes"/>
2066 <field name="tax_ids"/>
2068 <page string="Notes">
2069 <field name="note"/>
2076 <record id="view_account_template_tree" model="ir.ui.view">
2077 <field name="name">account.account.template.tree</field>
2078 <field name="model">account.account.template</field>
2079 <field name="type">tree</field>
2080 <field name="arch" type="xml">
2081 <tree string="Account Template">
2082 <field name="code"/>
2083 <field name="name"/>
2084 <field name="type" invisible="1"/>
2085 <field name="user_type" invisible="1"/>
2090 <record id="view_account_template_search" model="ir.ui.view">
2091 <field name="name">account.account.template.search</field>
2092 <field name="model">account.account.template</field>
2093 <field name="type">search</field>
2094 <field name="arch" type="xml">
2095 <search string="Search Account Templates">
2098 filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]"
2099 string="Account Template"/>
2100 <separator orientation="vertical"/>
2101 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2102 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2103 <separator orientation="vertical"/>
2104 <field name="parent_id"/>
2105 <field name="user_type"/>
2106 <field name="type"/>
2109 <group expand="0" string="Group By...">
2110 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2111 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2117 <record id="action_account_template_form" model="ir.actions.act_window">
2118 <field name="name">Account Templates</field>
2119 <field name="res_model">account.account.template</field>
2120 <field name="view_type">form</field>
2121 <field name="view_mode">tree,form</field>
2122 <field name="search_view_id" ref="view_account_template_search"/>
2125 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2127 <!-- Chart of Accounts Templates -->
2129 <record id="view_account_chart_template_form" model="ir.ui.view">
2130 <field name="name">account.chart.template.form</field>
2131 <field name="model">account.chart.template</field>
2132 <field name="type">form</field>
2133 <field name="arch" type="xml">
2134 <form string="Chart of Accounts Template" version="7.0">
2136 <field name="name"/>
2137 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2138 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2139 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2140 <field name="parent_id" />
2141 <!--<field name="code_digits" />-->
2142 <field name="visible" />
2143 <field name="complete_tax_set" />
2145 <field name="tax_template_ids" colspan="4" readonly="1" nolabel="1"/>
2146 <separator string="Properties" colspan="4"/>
2148 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
2149 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
2150 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
2151 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
2152 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
2153 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
2154 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2155 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2156 <field name="property_reserve_and_surplus_account" />
2161 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2162 <field name="name">account.chart.template.search</field>
2163 <field name="model">account.chart.template</field>
2164 <field name="type">search</field>
2165 <field name="arch" type="xml">
2166 <search string="Search Chart of Account Templates">
2169 filter_domain="[('name','ilike',self)]"
2170 string="Account Template"/>
2171 <separator orientation="vertical"/>
2172 <field name="account_root_id"/>
2173 <field name="bank_account_view_id"/>
2176 <group expand="0" string="Group By...">
2177 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2178 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2179 <separator orientation="vertical"/>
2180 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2181 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2182 <separator orientation="vertical"/>
2183 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2184 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2189 <record id="view_account_chart_template_tree" model="ir.ui.view">
2190 <field name="name">account.chart.template.tree</field>
2191 <field name="model">account.chart.template</field>
2192 <field name="type">tree</field>
2193 <field name="arch" type="xml">
2194 <tree string="Chart of Accounts Template">
2195 <field name="name"/>
2196 <field name="account_root_id"/>
2197 <field name="tax_code_root_id"/>
2198 <field name="bank_account_view_id"/>
2199 <field name="property_account_receivable" invisible="1"/>
2200 <field name="property_account_payable" invisible="1"/>
2201 <field name="property_account_expense_categ" invisible="1"/>
2202 <field name="property_account_income_categ" invisible="1"/>
2206 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2207 <field name="name">Chart of Accounts Templates</field>
2208 <field name="res_model">account.chart.template</field>
2209 <field name="view_type">form</field>
2210 <field name="view_mode">tree,form</field>
2213 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2215 <!-- Account Tax Templates -->
2217 <record id="view_account_tax_template_form" model="ir.ui.view">
2218 <field name="name">account.tax.template.form</field>
2219 <field name="model">account.tax.template</field>
2220 <field name="type">form</field>
2221 <field name="arch" type="xml">
2222 <form string="Account Tax Template" version="7.0">
2224 <field name="name"/>
2225 <field name="description"/>
2226 <field name="chart_template_id"/>
2227 <field name="type"/>
2228 <field name="type_tax_use"/>
2229 <field name="price_include"/>
2232 <page string="Tax Definition">
2234 <field name="applicable_type"/>
2235 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2236 <field name="include_base_amount"/>
2237 <field name="domain"/>
2239 <field name="account_collected_id"/>
2240 <label colspan="2" string="Keep empty to use the income account"/>
2241 <field name="account_paid_id"/>
2242 <label colspan="2" string="Keep empty to use the expense account"/>
2243 <field name="child_depend"/>
2244 <field name="sequence"/>
2247 <page string="Tax Declaration">
2249 <separator colspan="4" string="Invoices"/>
2250 <field name="base_code_id"/>
2251 <field name="base_sign"/>
2252 <field name="tax_code_id"/>
2253 <field name="tax_sign"/>
2255 <separator colspan="4" string="Credit Notes"/>
2256 <field name="ref_base_code_id"/>
2257 <field name="ref_base_sign"/>
2258 <field name="ref_tax_code_id"/>
2259 <field name="ref_tax_sign"/>
2262 <page string="Special Computation">
2263 <separator string="Compute Code (if type=code)"/>
2264 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2265 <separator string="Compute Code for Taxes Included Prices"/>
2266 <field name="python_compute_inv"/>
2267 <separator string="Applicable Code (if type=code)"/>
2268 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2274 <record id="view_account_tax_template_tree" model="ir.ui.view">
2275 <field name="name">account.tax.template.tree</field>
2276 <field name="model">account.tax.template</field>
2277 <field name="type">tree</field>
2278 <field name="arch" type="xml">
2279 <tree string="Account Tax Template">
2280 <field name="name" />
2281 <field name="description"/>
2285 <record id="view_account_tax_template_search" model="ir.ui.view">
2286 <field name="name">account.tax.template.search</field>
2287 <field name="model">account.tax.template</field>
2288 <field name="type">search</field>
2289 <field name="arch" type="xml">
2290 <search string="Search Tax Templates">
2292 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2293 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2294 <separator orientation="vertical"/>
2295 <field name="name"/>
2296 <field name="description"/>
2297 <field name="chart_template_id"/>
2303 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2304 <field name="name">Tax Templates</field>
2305 <field name="res_model">account.tax.template</field>
2306 <field name="view_type">form</field>
2307 <field name="view_mode">tree,form</field>
2308 <field name="search_view_id" ref="view_account_tax_template_search"/>
2311 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2313 <!-- Account Tax Code Templates -->
2314 <record id="view_tax_code_template_tree" model="ir.ui.view">
2315 <field name="name">account.tax.code.template.tree</field>
2316 <field name="model">account.tax.code.template</field>
2317 <field name="type">tree</field>
2318 <field name="field_parent">child_ids</field>
2319 <field name="arch" type="xml">
2320 <tree string="Account Tax Code Template" toolbar="1">
2321 <field name="name"/>
2322 <field name="code"/>
2323 <field name="parent_id" invisible="1"/>
2328 <record id="view_tax_code_template_search" model="ir.ui.view">
2329 <field name="name">account.tax.code.template.search</field>
2330 <field name="model">account.tax.code.template</field>
2331 <field name="type">search</field>
2332 <field name="arch" type="xml">
2333 <search string="Search tax template">
2335 <field name="name"/>
2336 <field name="code"/>
2337 <field name="parent_id"/>
2340 <group expand="0" string="Group By...">
2341 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2347 <record id="view_tax_code_template_form" model="ir.ui.view">
2348 <field name="name">account.tax.code.template.form</field>
2349 <field name="model">account.tax.code.template</field>
2350 <field name="type">form</field>
2351 <field name="arch" type="xml">
2352 <form string="Account Tax Code Template" version="7.0">
2354 <field name="name"/>
2355 <field name="code"/>
2356 <field name="parent_id"/>
2357 <field name="sign"/>
2359 <separator string="Description"/>
2360 <field name="info"/>
2365 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2366 <field name="name">Tax Code Templates</field>
2367 <field name="res_model">account.tax.code.template</field>
2368 <field name="view_type">form</field>
2369 <field name="view_mode">tree,form</field>
2370 <field name="search_view_id" ref="view_tax_code_template_search"/>
2372 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2375 <!-- Wizard for Multi Charts of Accounts -->
2377 <record id="view_wizard_multi_chart" model="ir.ui.view">
2378 <field name="name">Generate Chart of Accounts from a Chart Template</field>
2379 <field name="model">wizard.multi.charts.accounts</field>
2380 <field name="type">form</field>
2381 <field name="inherit_id" ref="base.res_config_view_base"/>
2382 <field name="arch" type="xml">
2384 <form position="attributes" version="7.0">
2385 <attribute name="string">Accounting Application Configuration</attribute>
2387 <group string="res_config_contents" position="replace">
2388 <label string="This will automatically configure your chart of accounts, bank accounts, taxes and journals according to the selected template" width="150"/>
2389 <separator string="Generate Your Chart of Accounts from a Chart Template"/>
2390 <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 -->
2391 <field name="code_digits" groups="account.group_account_user"/>
2392 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2393 <field name="seq_journal"/>
2394 <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'))]"/>
2395 <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'))]"/>
2397 <field name ="sale_tax_rate" attrs="{'invisible': [('complete_tax_set', '=', True)]}" on_change="onchange_tax_rate(sale_tax_rate)"/>
2398 <field name ="purchase_tax_rate" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2399 <field name ="complete_tax_set" invisible="1"/>
2400 <newline/> <!-- extended view because the web UI is not good for one2many -->
2401 <field colspan="4" mode="tree" name="bank_accounts_id" nolabel="1" widget="one2many_list" groups="account.group_account_user">
2402 <form string="Bank Information">
2403 <field name="acc_name"/>
2404 <field name="account_type"/>
2405 <field name="currency_id" widget="selection"/>
2407 <tree editable="bottom" string="Bank Information">
2408 <field name="acc_name"/>
2409 <field name="account_type"/>
2410 <field name="currency_id" widget="selection"/>
2418 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2419 <field name="name">Generate Chart of Accounts from a Chart Template</field>
2420 <field name="type">ir.actions.act_window</field>
2421 <field name="res_model">wizard.multi.charts.accounts</field>
2422 <field name="view_id" ref="view_wizard_multi_chart"/>
2423 <field name="view_type">form</field>
2424 <field name="view_mode">form</field>
2425 <field name="target">new</field>
2427 <record id="ir_actions_server_action_wizard_multi_chart" model="ir.actions.server">
2428 <field name="type">ir.actions.server</field>
2429 <field name="condition">True</field>
2430 <field name="state">code</field>
2431 <field name="model_id" ref="base.model_ir_actions_todo"/>
2432 <field eval="5" name="sequence"/>
2434 # check for unconfigured companies
2435 account_installer_obj = self.pool.get('account.installer')
2436 account_installer_obj.check_unconfigured_cmp(cr, uid, context=context)
2438 # fetch the act_window actions related to chart of account configuration
2439 # we use ir.actions.todo to enable the possibility for other modules to insert their own
2440 # wizards during the configuration process
2441 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_wizard_multi_chart')
2443 action_ids += [ref[1]]
2444 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_account_configuration_installer')
2446 action_ids += [ref[1]]
2447 todo_ids = pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', action_ids)], context=context)
2448 pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context)
2449 action = pool.get('res.config').next(cr, uid, [], context)
2451 <field name="name">New Company Financial Setting</field>
2454 <record id="account_account_graph" model="ir.ui.view">
2455 <field name="name">account.account.graph</field>
2456 <field name="model">account.account</field>
2457 <field name="type">graph</field>
2458 <field name="arch" type="xml">
2459 <graph string="Account Statistics" type="bar">
2460 <field name="name"/>
2461 <field name="balance" operator="+"/>
2466 <!-- Fiscal Position Templates -->
2468 <record id="view_account_position_template_search" model="ir.ui.view">
2469 <field name="name">account.fiscal.position.template.search</field>
2470 <field name="model">account.fiscal.position.template</field>
2471 <field name="type">search</field>
2472 <field name="arch" type="xml">
2473 <search string="Fiscal Position">
2474 <field name="name"/>
2479 <record id="view_account_position_template_form" model="ir.ui.view">
2480 <field name="name">account.fiscal.position.template.form</field>
2481 <field name="model">account.fiscal.position.template</field>
2482 <field name="type">form</field>
2483 <field name="arch" type="xml">
2484 <form string="Fiscal Position Template" version="7.0">
2486 <field name="name"/>
2487 <field name="chart_template_id"/>
2489 <field name="tax_ids">
2490 <tree string="Taxes Mapping" editable="bottom">
2491 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2492 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2494 <form string="Taxes Mapping" version="7.0">
2495 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2496 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2499 <field name="account_ids">
2500 <tree string="Accounts Mapping" editable="bottom">
2501 <field name="account_src_id"/>
2502 <field name="account_dest_id"/>
2504 <form string="Accounts Mapping" version="7.0">
2505 <field name="account_src_id"/>
2506 <field name="account_dest_id"/>
2512 <record id="view_account_position_template_tree" model="ir.ui.view">
2513 <field name="name">account.fiscal.position.template.tree</field>
2514 <field name="model">account.fiscal.position.template</field>
2515 <field name="type">tree</field>
2516 <field name="arch" type="xml">
2517 <tree string="Fiscal Position">
2518 <field name="name"/>
2523 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2524 <field name="name">Fiscal Position Templates</field>
2525 <field name="res_model">account.fiscal.position.template</field>
2526 <field name="view_type">form</field>
2527 <field name="view_mode">tree,form</field>
2528 <field name="search_view_id" ref="view_account_position_template_search"/>
2532 action="action_account_fiscal_position_template_form"
2533 id="menu_action_account_fiscal_position_form_template"
2534 parent="account_template_taxes" sequence="20"/>
2536 <!-- Cash Statement -->
2537 <record id="view_cash_statement_tree" model="ir.ui.view">
2538 <field name="name">account.bank.statement.tree</field>
2539 <field name="model">account.bank.statement</field>
2540 <field name="type">tree</field>
2541 <field name="arch" type="xml">
2542 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2543 <field name="name"/>
2544 <field name="date"/>
2545 <field name="period_id"/>
2546 <field name="journal_id"/>
2547 <field name="balance_start"/>
2548 <field name="balance_end_real"/>
2549 <field name="balance_end"/>
2550 <field name="state"/>
2555 <record id="view_bank_statement_form2" model="ir.ui.view">
2556 <field name="name">account.bank.statement.form</field>
2557 <field name="model">account.bank.statement</field>
2558 <field name="type">form</field>
2559 <field name="arch" type="xml">
2560 <form version="7.0">
2562 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object"/>
2563 <button name="button_open" states="draft" string="Open CashBox" type="object"/>
2564 <button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
2565 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2567 <sheet string="Statement">
2569 <field name="name"/>
2570 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2571 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
2572 <field name="user_id" readonly="1"/>
2573 <field name="period_id"/>
2574 <field name="currency" invisible="1"/>
2578 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2579 <field name="line_ids" context="{'date':date}">
2580 <tree editable="bottom" string="Statement lines">
2581 <field name="sequence" invisible="1"/>
2582 <field name="date"/>
2583 <field name="name"/>
2585 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2586 <field name="type" on_change="onchange_type(partner_id, type)"/>
2587 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2588 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2589 <field name="amount"/>
2591 <form string="Statement lines" version="7.0">
2593 <field name="date"/>
2594 <field name="name"/>
2596 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2597 <field name="type" on_change="onchange_type(partner_id, type)"/>
2598 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2599 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2600 <field name="amount"/>
2601 <field name="sequence"/>
2603 <separator string="Notes"/>
2604 <field name="note"/>
2608 <page string="CashBox">
2610 <field name="starting_details_ids" attrs="{'readonly':[('state','!=','draft')]}" nolabel="1">
2611 <tree string = "Opening Balance" editable="bottom">
2612 <field name="pieces"/>
2613 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2614 <field name="subtotal" sum="Total"/>
2616 <form string = "Opening Balance" version="7.0">
2617 <field name="pieces"/>
2618 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2619 <field name="subtotal"/>
2622 <field name="ending_details_ids" attrs="{'readonly':[('state','!=','open')]}" nolabel="1">
2623 <tree string = "Closing Balance" editable="bottom">
2624 <field name="pieces"/>
2625 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2626 <field name="subtotal" sum="Total"/>
2628 <form string = "Closing Balance" version="7.0">
2629 <field name="pieces"/>
2630 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2631 <field name="subtotal"/>
2636 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2637 <field name="move_line_ids" string="Journal Entries"/>
2641 <group string="Dates">
2642 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2643 <field name="closing_date" readonly="1"/>
2645 <group string="Opening Balance">
2646 <field name="balance_start" readonly="1" string="Opening Balance"/>
2647 <field name="total_entry_encoding"/>
2649 <group string="Closing Balance">
2650 <field name="balance_end"/>
2651 <field name="balance_end_cash"/>
2658 <record id="account_cash_statement_graph" model="ir.ui.view">
2659 <field name="name">account.bank.statement.graph</field>
2660 <field name="model">account.bank.statement</field>
2661 <field name="type">graph</field>
2662 <field name="arch" type="xml">
2663 <graph string="Account Statistics" type="bar">
2664 <field name="date"/>
2665 <field name="balance_start" operator="+"/>
2666 <field name="balance_end" operator="+"/>
2670 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2671 <field name="name">Cash Registers</field>
2672 <field name="type">ir.actions.act_window</field>
2673 <field name="res_model">account.bank.statement</field>
2674 <field name="view_type">form</field>
2675 <field name="view_mode">tree,form,graph</field>
2676 <field name="view_id" ref="view_cash_statement_tree"/>
2677 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2678 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2679 <field name="context">{'journal_type':'cash'}</field>
2680 <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>
2682 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2683 <field name="sequence" eval="1"/>
2684 <field name="view_mode">tree</field>
2685 <field name="view_id" ref="view_cash_statement_tree"/>
2686 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2688 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2689 <field name="sequence" eval="1"/>
2690 <field name="view_mode">form</field>
2691 <field name="view_id" ref="view_bank_statement_form2"/>
2692 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2694 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2695 <field name="sequence" eval="1"/>
2696 <field name="view_mode">graph</field>
2697 <field name="view_id" ref="account_cash_statement_graph"/>
2698 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2700 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2701 parent="menu_finance_bank_and_cash"/>
2703 <menuitem id="menu_account_customer" name="Customers"
2704 parent="menu_finance_receivables"
2705 action="base.action_partner_customer_form" sequence="100"/>
2707 <menuitem id="menu_account_supplier" name="Suppliers"
2708 parent="menu_finance_payables"
2709 action="base.action_partner_supplier_form" sequence="100"/>
2715 <record id="view_account_financial_report_form" model="ir.ui.view">
2716 <field name="name">account.financial.report.form</field>
2717 <field name="model">account.financial.report</field>
2718 <field name="type">form</field>
2719 <field name="arch" type="xml">
2720 <form string="Account Report" version="7.0">
2722 <field name="name"/>
2723 <field name="parent_id"/>
2724 <field name="sequence"/>
2725 <field name="type"/>
2726 <field name="sign"/>
2727 <field name="style_overwrite"/>
2730 <page string="Report">
2732 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2733 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2735 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2736 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2743 <record id="view_account_financial_report_tree" model="ir.ui.view">
2744 <field name="name">account.financial.report.tree</field>
2745 <field name="model">account.financial.report</field>
2746 <field name="type">tree</field>
2747 <field name="arch" type="xml">
2748 <tree string="Account Report">
2749 <field name="name"/>
2750 <field name="parent_id" invisible="1"/>
2751 <field name="type"/>
2752 <field name="account_report_id"/>
2757 <record id="view_account_financial_report_search" model="ir.ui.view">
2758 <field name="name">account.financial.report.search</field>
2759 <field name="model">account.financial.report</field>
2760 <field name="type">search</field>
2761 <field name="arch" type="xml">
2762 <search string="Account Report">
2764 <field name="name"/>
2765 <field name="type"/>
2766 <field name="account_report_id"/>
2769 <group expand="0" string="Group By...">
2770 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2771 <separator orientation="vertical"/>
2772 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2778 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2779 <field name="name">Financial Reports</field>
2780 <field name="type">ir.actions.act_window</field>
2781 <field name="res_model">account.financial.report</field>
2782 <field name="view_type">form</field>
2783 <field name="view_mode">tree,form</field>
2784 <field name="search_view_id" ref="view_account_financial_report_search"/>
2785 <field name="view_id" ref="view_account_financial_report_tree"/>
2786 <field name="help">Makes a generic system to draw financial reports easily.</field>
2789 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2791 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2792 <field name="name">account.report.hierarchy</field>
2793 <field name="model">account.financial.report</field>
2794 <field name="type">tree</field>
2795 <field name="field_parent">children_ids</field>
2796 <field name="arch" type="xml">
2797 <tree string="Account Reports Hierarchy">
2798 <field name="name"/>
2799 <field name="type"/>
2800 <field name="parent_id" invisible="1"/>
2801 <field name="account_report_id"/>
2805 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2806 <field name="name">Financial Reports Hierarchy</field>
2807 <field name="res_model">account.financial.report</field>
2808 <field name="view_type">tree</field>
2809 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2810 <field name="domain">[('parent_id','=',False)]</field>
2813 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2814 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>