1 <?xml version="1.0" encoding="utf-8"?>
9 <record id="view_account_fiscalyear_form" model="ir.ui.view">
10 <field name="name">account.fiscalyear.form</field>
11 <field name="model">account.fiscalyear</field>
12 <field name="type">form</field>
13 <field name="arch" type="xml">
16 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
17 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
18 <field name="state" widget="statusbar" nolabel="1" />
24 <field name="company_id" groups="base.group_multi_company"/>
25 <field name="end_journal_period_id"/>
28 <field name="date_start"/>
29 <field name="date_stop"/>
32 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
33 <form string="Period" version="7.0">
37 <field name="date_start"/>
38 <field name="date_stop"/>
39 <field name="special"/>
46 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
47 <field name="name">account.fiscalyear.tree</field>
48 <field name="model">account.fiscalyear</field>
49 <field name="type">tree</field>
50 <field name="arch" type="xml">
51 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Fiscalyear">
54 <field name="company_id" groups="base.group_multi_company"/>
59 <record id="view_account_fiscalyear_search" model="ir.ui.view">
60 <field name="name">account.fiscalyear.search</field>
61 <field name="model">account.fiscalyear</field>
62 <field name="type">search</field>
63 <field name="arch" type="xml">
64 <search string="Search Fiscalyear">
66 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Fiscal Year"/>
67 <separator orientation="vertical"/>
68 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
69 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
70 <separator orientation="vertical"/>
74 <group expand="0" string="Group By...">
75 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
80 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
81 <field name="name">Fiscal Years</field>
82 <field name="res_model">account.fiscalyear</field>
83 <field name="view_type">form</field>
84 <field name="view_mode">tree,form</field>
85 <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>
87 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
88 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
94 <record id="view_account_period_form" model="ir.ui.view">
95 <field name="name">account.period.form</field>
96 <field name="model">account.period</field>
97 <field name="type">form</field>
98 <field name="arch" type="xml">
101 <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
102 <field name="state" widget="statusbar" nolabel="1"/>
108 <field name="fiscalyear_id" widget="selection"/>
109 <label for="date_start" string="Duration" />
111 <field name="date_start" class="oe_inline" nolabel="1"/>
112 <span attr="{'invisible': [('date_stop','=',False)]}"> - </span>
113 <field name="date_stop" nolabel="1" class="oe_inline"/>
118 <field name="special"/>
119 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
126 <record id="view_account_period_tree" model="ir.ui.view">
127 <field name="name">account.period.tree</field>
128 <field name="model">account.period</field>
129 <field name="type">tree</field>
130 <field name="arch" type="xml">
131 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
134 <field name="date_start"/>
135 <field name="date_stop"/>
136 <field name="special"/>
137 <field name="company_id" groups="base.group_multi_company"/>
138 <field name="state"/>
143 <record id="view_account_period_search" model="ir.ui.view">
144 <field name="name">account.period.search</field>
145 <field name="model">account.period</field>
146 <field name="type">search</field>
147 <field name="arch" type="xml">
148 <search string="Search Period">
150 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Period"/>
151 <separator orientation="vertical"/>
152 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
158 <record id="action_account_period_form" model="ir.actions.act_window">
159 <field name="name">Periods</field>
160 <field name="res_model">account.period</field>
161 <field name="view_type">form</field>
162 <field name="view_mode">tree,form</field>
163 <field name="context">{'search_default_draft': 1}</field>
164 <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>
166 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23" groups="base.group_no_one"/>
172 <record id="view_account_form" model="ir.ui.view">
173 <field name="name">account.account.form</field>
174 <field name="model">account.account</field>
175 <field name="type">form</field>
176 <field name="arch" type="xml">
177 <form string="Account" version="7.0">
178 <label for="name" class="oe_edit_only" string="Account Name and Code:"/>
180 <field name="name"/> -
183 <label for="company_id"/>
185 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
189 <field name="parent_id"/>
191 <field name="user_type"/>
192 <field name="active"/>
195 <field name="debit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
196 <field name="credit" invisible="context.get('config_invisible', True)" attrs="{'readonly':[('type','=','view')]}"/>
197 <field name="balance" invisible="context.get('config_invisible', True)"/>
200 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
201 <field name="child_consol_ids"
202 attrs="{'readonly':[('type','!=','consolidation')]}"
203 widget="many2many_tags"/>
205 <group string="Currency">
206 <field name="currency_id"/>
207 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
209 <group string="Reconcile">
210 <field name="reconcile"/>
218 <record id="view_account_search" model="ir.ui.view">
219 <field name="name">account.account.search</field>
220 <field name="model">account.account</field>
221 <field name="type">search</field>
222 <field name="arch" type="xml">
223 <search string="Accounts">
225 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account"/>
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">
387 <field name="name" string="Journal View"/>
391 <record id="view_account_journal_view_tree" model="ir.ui.view">
392 <field name="name">account.journal.view.tree</field>
393 <field name="model">account.journal.view</field>
394 <field name="type">tree</field>
395 <field name="arch" type="xml">
396 <tree string="Journal View">
401 <record id="view_account_journal_view_form" model="ir.ui.view">
402 <field name="name">account.journal.view.form</field>
403 <field name="model">account.journal.view</field>
404 <field name="type">form</field>
405 <field name="arch" type="xml">
406 <form string="Journal View" version="7.0">
408 <field name="columns_id"/>
412 <record id="action_account_journal_view" model="ir.actions.act_window">
413 <field name="name">Journal Views</field>
414 <field name="res_model">account.journal.view</field>
415 <field name="view_type">form</field>
416 <field name="view_mode">tree,form</field>
417 <field name="search_view_id" ref="view_account_journal_view_search"/>
418 <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>
421 <menuitem action="action_account_journal_view" id="menu_action_account_journal_view" parent="account.menu_journals" sequence="20"/>
427 <record id="view_account_journal_tree" model="ir.ui.view">
428 <field name="name">account.journal.tree</field>
429 <field name="model">account.journal</field>
430 <field name="type">tree</field>
431 <field name="arch" type="xml">
432 <tree string="Account Journal">
436 <field name="user_id"/>
437 <field name="company_id" groups="base.group_multi_company"/>
441 <record id="view_account_journal_search" model="ir.ui.view">
442 <field name="name">account.journal.search</field>
443 <field name="model">account.journal</field>
444 <field name="type">search</field>
445 <field name="arch" type="xml">
446 <search string="Search Account Journal">
448 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Journal"/>
449 <separator orientation="vertical"/>
450 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
451 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
452 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
453 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
454 <separator orientation="vertical"/>
455 <field name="user_id"/>
458 <group expand="0" string="Group By...">
459 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
460 <separator orientation="vertical"/>
461 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
467 <record id="view_account_journal_form" model="ir.ui.view">
468 <field name="name">account.journal.form</field>
469 <field name="model">account.journal</field>
470 <field name="type">form</field>
471 <field name="arch" type="xml">
472 <form string="Account Journal" version="7.0">
475 <field name="type" on_change="onchange_type(type, currency, context)"/>
478 <page string="Journal Configuration">
482 <field name="currency"/>
485 <field name="company_id" groups="base.group_multi_company"/>
486 <field name="user_id"/>
489 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
490 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
491 <field name="view_id" widget="selection"/>
492 <field name="sequence_id" required="0"/>
495 <field name="centralisation"/>
496 <field name="entry_posted"/>
497 <field name="allow_date"/>
498 <field name="group_invoice_lines"/>
501 <field name="type_control_ids" widget="many2many_tags"/>
502 <field name="account_control_ids" widget="many2many_tags"/>
511 <record id="action_account_journal_form" model="ir.actions.act_window">
512 <field name="name">Journals</field>
513 <field name="res_model">account.journal</field>
514 <field name="view_type">form</field>
515 <field name="view_mode">tree,form</field>
516 <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>
518 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
520 <record id="view_account_bank_statement_filter" model="ir.ui.view">
521 <field name="name">account.cash.statement.select</field>
522 <field name="model">account.bank.statement</field>
523 <field name="type">search</field>
524 <field name="arch" type="xml">
525 <search string="Search Bank Statements">
527 <field name="name" string="Bank Statement"/>
528 <separator orientation="vertical"/>
530 <separator orientation="vertical"/>
531 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
532 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
533 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
534 <separator orientation="vertical"/>
535 <field name="journal_id" widget='selection' domain="[('type', '=', 'cash')]" />
538 <group expand="0" string="Group By...">
539 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
540 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
541 <separator orientation="vertical"/>
542 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
548 <record id="view_bank_statement_tree" model="ir.ui.view">
549 <field name="name">account.bank.statement.tree</field>
550 <field name="model">account.bank.statement</field>
551 <field name="type">tree</field>
552 <field name="arch" type="xml">
553 <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">
556 <field name="period_id"/>
557 <field name="journal_id"/>
558 <field name="balance_start"/>
559 <field name="balance_end_real"/>
560 <field name="balance_end" invisible="1"/>
561 <field name="state"/>
565 <record id="view_bank_statement_search" model="ir.ui.view">
566 <field name="name">account.bank.statement.search</field>
567 <field name="model">account.bank.statement</field>
568 <field name="type">search</field>
569 <field name="arch" type="xml">
570 <search string="Search Bank Statements">
572 <field name="name" string="Bank Statement"/>
573 <separator orientation="vertical"/>
575 <separator orientation="vertical"/>
576 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
577 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
578 <separator orientation="vertical"/>
579 <field name="period_id"/>
580 <field name="journal_id" widget="selection" domain="[('type', '=', 'bank')]" />
583 <group expand="0" string="Group By...">
584 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
585 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
586 <separator orientation="vertical"/>
587 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
592 <record id="view_bank_statement_form" model="ir.ui.view">
593 <field name="name">account.bank.statement.form</field>
594 <field name="model">account.bank.statement</field>
595 <field name="type">form</field>
596 <field name="arch" type="xml">
597 <form string="Bank Statement" version="7.0">
599 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_highlight"/>
600 <button name="button_dummy" states="draft" string="Compute" type="object" class="oe_highlight"/>
601 <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
602 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
605 <div class="oe_right oe_button_box" name="import_buttons">
606 <!-- Put here related buttons -->
608 <label for="name" class="oe_edit_only"/>
610 <field name="name" class="oe_inline"/>-
611 <field name="period_id" class="oe_inline"/>
613 <label for="journal_id" class="oe_edit_only"/>
615 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
619 <field name="date" on_change="onchange_date(date, company_id)"/>
620 <field name='company_id' widget="selection" groups="base.group_multi_company" />
623 <field name="balance_start"/>
624 <field name="balance_end_real"/>
625 <field name="currency" invisible="1"/>
630 <page string="Transactions" name="statement_line_ids">
631 <field name="line_ids" context="{'date':date}">
632 <tree editable="bottom" string="Statement lines">
633 <field name="sequence" readonly="1" invisible="1"/>
637 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
638 <field name="type" on_change="onchange_type(partner_id, type)"/>
639 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
640 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
641 <field name="amount"/>
643 <form string="Statement lines" version="7.0">
648 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
649 <field name="type" on_change="onchange_type(partner_id, type)"/>
650 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
651 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
652 <field name="amount"/>
653 <field name="sequence" readonly="0"/>
655 <separator string="Notes"/>
660 <page string="Journal Entries" name="move_live_ids">
661 <field name="move_line_ids"/>
670 <record id="action_bank_statement_tree" model="ir.actions.act_window">
671 <field name="name">Bank Statements</field>
672 <field name="res_model">account.bank.statement</field>
673 <field name="view_type">form</field>
674 <field name="view_mode">tree,form,graph</field>
675 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
676 <field name="context">{'journal_type':'bank'}</field>
677 <field name="search_view_id" ref="view_bank_statement_search"/>
678 <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>
680 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
681 <field name="sequence" eval="1"/>
682 <field name="view_mode">tree</field>
683 <field name="view_id" ref="view_bank_statement_tree"/>
684 <field name="act_window_id" ref="action_bank_statement_tree"/>
686 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
687 <field name="sequence" eval="1"/>
688 <field name="view_mode">form</field>
689 <field name="view_id" ref="view_bank_statement_form"/>
690 <field name="act_window_id" ref="action_bank_statement_tree"/>
693 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
695 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
696 <field name="name">Draft statements</field>
697 <field name="res_model">account.bank.statement</field>
698 <field name="view_type">form</field>
699 <field name="view_mode">tree,form</field>
700 <field name="domain">[('state','=','draft')]</field>
701 <field name="filter" eval="True"/>
707 <record id="view_account_type_search" model="ir.ui.view">
708 <field name="name">account.account.type.search</field>
709 <field name="model">account.account.type</field>
710 <field name="type">search</field>
711 <field name="arch" type="xml">
712 <search string="Account Type">
713 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" 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">
813 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Code"/>
814 <field name="parent_id"/>
815 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
819 <record id="view_tax_code_tree" model="ir.ui.view">
820 <field name="name">account.tax.code.tree</field>
821 <field name="model">account.tax.code</field>
822 <field name="type">tree</field>
823 <field name="field_parent">child_ids</field>
824 <field name="priority">100</field>
825 <field name="arch" type="xml">
826 <tree string="Account Tax Code" toolbar="1">
829 <field name="sum_period"/>
831 <field name="company_id" groups="base.group_multi_company"/>
835 <record id="view_tax_code_form" model="ir.ui.view">
836 <field name="name">account.tax.code.form</field>
837 <field name="model">account.tax.code</field>
838 <field name="type">form</field>
839 <field name="arch" type="xml">
840 <form string="Account Tax Code" version="7.0">
842 <group col="4" colspan="2">
845 <field name="parent_id"/>
846 <field name="company_id" groups="base.group_multi_company"/>
848 <group string="Reporting Configuration">
849 <field name="notprintable"/>
852 <group string="Statistics">
853 <field name="sum_period"/>
857 <separator string="Description"/>
862 <record id="action_tax_code_list" model="ir.actions.act_window">
863 <field name="name">Tax codes</field>
864 <field name="res_model">account.tax.code</field>
865 <field name="view_type">form</field>
866 <field name="view_mode">tree,form</field>
867 <field name="view_id" ref="view_tax_code_tree"/>
868 <field name="search_view_id" ref="view_tax_code_search"/>
869 <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>
871 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
872 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
878 <record id="view_tax_tree" model="ir.ui.view">
879 <field name="name">account.tax.tree</field>
880 <field name="model">account.tax</field>
881 <field name="type">tree</field>
882 <field name="field_parent">child_ids</field>
883 <field name="arch" type="xml">
884 <tree string="Account Tax">
886 <field name="price_include"/>
887 <field name="description"/>
888 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
892 <record id="view_account_tax_search" model="ir.ui.view">
893 <field name="name">account.tax.search</field>
894 <field name="model">account.tax</field>
895 <field name="type">search</field>
896 <field name="arch" type="xml">
897 <search string="Search Taxes">
899 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>
900 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
905 <record id="view_tax_form" model="ir.ui.view">
906 <field name="name">account.tax.form</field>
907 <field name="model">account.tax</field>
908 <field name="type">form</field>
909 <field name="arch" type="xml">
910 <form string="Account Tax" version="7.0">
913 <field name="description"/>
914 <field name="type_tax_use"/>
915 <field name="price_include"/>
916 <field name="active"/>
917 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
920 <page string="Tax Definition">
923 <field name="amount" attrs="{'readonly':[('type','in',('none', 'code', 'balance'))]}"/>
924 <separator colspan="4" string="Accounting Information"/>
925 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
926 <field name="account_analytic_collected_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
927 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
928 <field name="account_analytic_paid_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
929 <separator colspan="4" string="Tax Declaration: Invoices"/>
930 <field name="base_code_id"/>
931 <field name="base_sign"/>
932 <field name="tax_code_id"/>
933 <field name="tax_sign"/>
934 <separator colspan="4" string="Tax Declaration: Credit Notes"/>
935 <field name="ref_base_code_id"/>
936 <field name="ref_base_sign"/>
937 <field name="ref_tax_code_id"/>
938 <field name="ref_tax_sign"/>
939 <separator colspan="4" string="Children Definition"/>
940 <field name="child_depend"/>
941 <field name="sequence"/>
942 <field name="include_base_amount"/>
943 <field colspan="4" name="child_ids">
944 <tree string="Account Tax">
945 <field name="sequence"/>
947 <field name="price_include"/>
948 <field name="description"/>
953 <page string="Special Computation">
955 <separator colspan="4" string="Applicability Options"/>
956 <field name="applicable_type"/>
957 <field name="domain"/>
958 <separator colspan="4" string="Applicable Code (if type=code)"/>
959 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
960 <separator colspan="2" string="Compute Code"/>
961 <separator colspan="2" string="Reverse Compute Code"/>
962 <field colspan="2" name="python_compute" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
963 <field colspan="2" name="python_compute_inv" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
970 <record id="action_tax_form" model="ir.actions.act_window">
971 <field name="name">Taxes</field>
972 <field name="res_model">account.tax</field>
973 <field name="view_type">form</field>
974 <field name="view_id" ref="view_tax_tree"/>
975 <field name="domain">[('parent_id','=',False)]</field>
977 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
979 <record id="action_tax_code_tree" model="ir.actions.act_window">
980 <field name="name">Chart of Taxes</field>
981 <field name="res_model">account.tax.code</field>
982 <field name="domain">[('parent_id','=',False)]</field>
983 <field name="view_type">tree</field>
984 <field name="view_id" ref="view_tax_code_tree"/>
985 <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>
992 <record id="view_move_line_tree" model="ir.ui.view">
993 <field name="name">account.move.line.tree</field>
994 <field name="model">account.move.line</field>
995 <field name="type">tree</field>
996 <field eval="4" name="priority"/>
997 <field name="arch" type="xml">
998 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" editable="top" on_write="on_create_write">
1000 <field name="period_id"/>
1001 <field name="move_id"/>
1003 <field name="invoice"/>
1004 <field name="name"/>
1005 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
1006 <field name="account_id" domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]"/>
1007 <field name="journal_id"/>
1008 <field name="debit" sum="Total debit"/>
1009 <field name="credit" sum="Total credit"/>
1010 <field name="account_tax_id"/>
1011 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
1012 <field name="amount_currency" attrs="{'readonly':[('state','=','valid')]}"/>
1013 <field name="currency_id" attrs="{'readonly':[('state','=','valid')]}"/>
1014 <field name="reconcile_partial_id"/>
1015 <field name="reconcile_id"/>
1016 <field name="state"/>
1021 <record id="view_move_line_form" model="ir.ui.view">
1022 <field name="name">account.move.line.form</field>
1023 <field name="model">account.move.line</field>
1024 <field name="type">form</field>
1025 <field eval="2" name="priority"/>
1026 <field name="arch" type="xml">
1027 <form string="Journal Item" version="7.0">
1031 <field name="name"/>
1033 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1036 <field name="journal_id"/>
1037 <field name="period_id"/>
1038 <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)}"/>
1100 <record id="view_move_line_form2" model="ir.ui.view">
1101 <field name="name">account.move.line.form2</field>
1102 <field name="model">account.move.line</field>
1103 <field name="type">form</field>
1104 <field eval="9" name="priority"/>
1105 <field name="arch" type="xml">
1106 <form string="Journal Item" version="7.0">
1107 <notebook colspan="4">
1108 <page string="Information">
1110 <separator colspan="4" string="General Information"/>
1111 <field name="name"/>
1112 <field name="date"/>
1113 <field name="journal_id" readonly="False"/>
1114 <field name="period_id" readonly="False"/>
1115 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1116 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1118 <field name="debit"/>
1119 <field name="credit"/>
1121 <separator colspan="4" string="Optional Information"/>
1122 <field name="currency_id"/>
1123 <field name="amount_currency"/>
1124 <field name="quantity"/>
1125 <field name="move_id" required="False"/>
1127 <field name="date_maturity"/>
1128 <field name="date_created"/>
1129 <field name="date_created"/>
1130 <field name="blocked"/>
1132 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1133 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1134 <separator colspan="4" string="Status"/>
1136 <field name="reconcile_id"/>
1137 <field name="reconcile_partial_id"/>
1138 <field name="state"/>
1141 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1142 <field name="analytic_lines"/>
1149 <record id="account_move_line_graph" model="ir.ui.view">
1150 <field name="name">account.move.line.graph</field>
1151 <field name="model">account.move.line</field>
1152 <field name="type">graph</field>
1153 <field name="arch" type="xml">
1154 <graph string="Account Statistics" type="bar">
1155 <field name="account_id"/>
1156 <field name="debit" operator="+"/>
1157 <field name="credit" operator="+"/>
1162 <record id="view_account_move_line_filter" model="ir.ui.view">
1163 <field name="name">Journal Items</field>
1164 <field name="model">account.move.line</field>
1165 <field name="type">search</field>
1166 <field name="arch" type="xml">
1167 <search string="Search Journal Items">
1169 <field name="date"/>
1170 <separator orientation="vertical"/>
1171 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1172 <separator orientation="vertical"/>
1173 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1174 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1175 <separator orientation="vertical"/>
1177 icon="terp-dolar_ok!"
1178 string="Unreconciled"
1179 domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items"
1180 name="unreconciled"/>
1181 <separator orientation="vertical"/>
1182 <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)]"/>
1183 <separator orientation="vertical"/>
1184 <field name="move_id" string="Number (Move)"/>
1185 <field name="account_id"/>
1186 <field name="partner_id"/>
1187 <field name="journal_id" widget="selection" context="{'journal_id':self}"/>
1188 <field name="period_id" context="{'period_id':self}"/>
1191 <group expand="0" string="Group By...">
1192 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1193 <separator orientation="vertical"/>
1194 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1195 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1196 <separator orientation="vertical"/>
1197 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1204 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1205 <field name="name">Journal Items</field>
1206 <field name="res_model">account.move.line</field>
1207 <field name="view_type">form</field>
1208 <field name="view_mode">tree,form</field>
1209 <field name="context">{}</field>
1210 <field name="search_view_id" ref="view_account_move_line_filter"/>
1211 <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>
1215 action="action_account_moves_all_a"
1216 icon="STOCK_JUSTIFY_FILL"
1217 id="menu_action_account_moves_all"
1218 parent="account.menu_finance_entries"
1220 groups="group_account_user"
1223 <record id="action_view_move_line" model="ir.actions.act_window">
1224 <field name="name">Lines to reconcile</field>
1225 <field name="res_model">account.move.line</field>
1226 <field name="view_type">form</field>
1227 <field name="view_mode">tree,form</field>
1228 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1229 <field eval="False" name="view_id"/>
1230 <field eval="True" name="filter"/>
1231 <field name="search_view_id" ref="view_account_move_line_filter"/>
1234 <record id="action_move_line_select" model="ir.actions.act_window">
1235 <field name="name">Journal Items</field>
1236 <field name="res_model">account.move.line</field>
1237 <field name="view_type">form</field>
1238 <field name="view_mode">tree,form</field>
1239 <field name="view_id" ref="view_move_line_tree"/>
1240 <field name="search_view_id" ref="view_account_move_line_filter"/>
1241 <field name="context">{'search_default_account_id': [active_id]}</field>
1244 <record id="ir_account_move_line_select" model="ir.values">
1245 <field name="key2">tree_but_open</field>
1246 <field name="model">account.account</field>
1247 <field name="name">Open Journal Items</field>
1248 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1251 Account.Entry Edition
1254 <record id="account_move_graph" model="ir.ui.view">
1255 <field name="name">account.move.graph</field>
1256 <field name="model">account.move</field>
1257 <field name="type">graph</field>
1258 <field name="arch" type="xml">
1259 <graph string="Account Statistics" type="bar">
1260 <field name="period_id"/>
1261 <field name="amount" operator="+"/>
1265 <record id="view_move_tree" model="ir.ui.view">
1266 <field name="name">account.move.tree</field>
1267 <field name="model">account.move</field>
1268 <field name="type">tree</field>
1269 <field name="arch" type="xml">
1270 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1271 <field name="name"/>
1273 <field name="date"/>
1274 <field name="period_id"/>
1275 <field name="journal_id"/>
1276 <field name="partner_id"/>
1277 <field name="amount" sum="Total Amount"/>
1278 <field name="to_check"/>
1279 <field name="state"/>
1283 <record id="view_move_form" model="ir.ui.view">
1284 <field name="name">account.move.form</field>
1285 <field name="model">account.move</field>
1286 <field name="type">form</field>
1287 <field name="arch" type="xml">
1288 <form version="7.0">
1290 <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight"/>
1291 <button name="button_cancel" states="posted" string="Cancel" type="object"/>
1292 <field name="state" widget="statusbar"/>
1294 <sheet string="Journal Entries" >
1297 <field name="name" readonly="True"/>
1298 <field name="journal_id"/>
1299 <field name="period_id"/>
1300 <field name="company_id" required="1" groups="base.group_multi_company"/>
1301 <field name="partner_id" invisible="1"/>
1305 <field name="date"/>
1306 <field name="to_check"/>
1307 <field name="amount" invisible="1"/>
1311 <page string="Journal Items">
1312 <field name="balance" invisible="1"/>
1313 <field name="line_id" widget="one2many_list"
1314 on_change="onchange_line_id(line_id)"
1315 context="{'balance': balance , 'journal': journal_id }">
1316 <form string="Journal Item" version="7.0">
1317 <group col="6" colspan="4">
1318 <field name="name"/>
1320 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1322 <field name="journal_id"/>
1323 <field name="period_id"/>
1324 <field name="company_id" required="1" groups="base.group_multi_company"/>
1326 <notebook colspan="4">
1327 <page string="Information">
1329 <group string="Amount">
1330 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1331 <field name="debit"/>
1332 <field name="credit"/>
1333 <field name="quantity"/>
1336 <group string="Accounting Documents">
1337 <field name="invoice"/>
1338 <field name="move_id" required="False"/>
1339 <field name="statement_id"/>
1342 <group string="Dates">
1343 <field name="date"/>
1344 <field name="date_maturity"/>
1345 <field name="date_created"/>
1348 <group string="Taxes">
1349 <field name="tax_code_id"/>
1350 <field name="tax_amount"/>
1351 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1354 <group string="Currency">
1355 <field name="currency_id"/>
1356 <field name="amount_currency"/>
1359 <group string="Reconciliation">
1360 <field name="reconcile_id"/>
1361 <field name="reconcile_partial_id"/>
1364 <group string="States">
1365 <field name="state"/>
1366 <field name="blocked"/>
1369 <group groups="analytic.group_analytic_accounting" string="Analytic">
1370 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1373 <separator string="Internal Note"/>
1374 <field name="narration"/>
1376 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1377 <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)}"/>
1381 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1383 <field name="invoice"/>
1384 <field name="name"/>
1385 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1386 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1387 <field name="date_maturity"/>
1388 <field name="debit" sum="Total Debit"/>
1389 <field name="credit" sum="Total Credit"/>
1390 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1391 <field name="amount_currency"/>
1392 <field name="currency_id"/>
1393 <field name="tax_code_id"/>
1394 <field name="tax_amount"/>
1395 <field name="state"/>
1396 <field name="reconcile_id"/>
1397 <field name="reconcile_partial_id"/>
1400 <field name="narration" colspan="4" placeholder="Add an internal note." nolabel="1" height="50"/>
1408 <record id="view_account_move_filter" model="ir.ui.view">
1409 <field name="name">account.move.select</field>
1410 <field name="model">account.move</field>
1411 <field name="type">search</field>
1412 <field name="arch" type="xml">
1413 <search string="Search Move">
1415 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1416 <separator orientation="vertical"/>
1417 <field name="date"/>
1418 <separator orientation="vertical"/>
1419 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1420 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1421 <separator orientation="vertical"/>
1422 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1423 <separator orientation="vertical"/>
1424 <field name="partner_id"/>
1425 <field name="journal_id" widget="selection"/>
1426 <field name="period_id"/>
1429 <group expand="0" string="Group By...">
1430 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1431 <separator orientation="vertical"/>
1432 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1433 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1434 <separator orientation="vertical"/>
1435 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1436 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1442 <record id="action_move_journal_line" model="ir.actions.act_window">
1443 <field name="name">Journal Entries</field>
1444 <field name="res_model">account.move</field>
1445 <field name="view_type">form</field>
1446 <field name="view_mode">tree,form,graph</field>
1447 <field name="view_id" ref="view_move_tree"/>
1448 <field name="search_view_id" ref="view_account_move_filter"/>
1449 <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>
1453 icon="STOCK_JUSTIFY_FILL"
1454 action="action_move_journal_line"
1455 id="menu_action_move_journal_line_form"
1456 parent="account.menu_finance_entries"
1457 groups="group_account_user"
1460 <record id="action_move_line_form" model="ir.actions.act_window">
1461 <field name="name">Entries</field>
1462 <field name="type">ir.actions.act_window</field>
1463 <field name="res_model">account.move</field>
1464 <field name="view_type">form</field>
1465 <field name="view_id" ref="view_move_tree"/>
1466 <field name="search_view_id" ref="view_account_move_filter"/>
1470 id="act_account_move_to_account_move_line_open"
1471 name="Journal Items"
1472 context="{'search_default_move_id':[active_id], 'default_move_id': active_id}"
1473 res_model="account.move.line"
1474 src_model="account.move"/>
1476 <record id="action_move_line_search" model="ir.actions.act_window">
1477 <field name="name">Journal Items</field>
1478 <field name="type">ir.actions.act_window</field>
1479 <field name="res_model">account.move.line</field>
1480 <field name="view_type">form</field>
1481 <field name="view_mode">tree,form</field>
1482 <field name="view_id" ref="view_move_line_tree"/>
1483 <field name="search_view_id" ref="view_account_move_line_filter"/>
1485 <record id="action_move_line_search_view1" model="ir.actions.act_window.view">
1486 <field eval="10" name="sequence"/>
1487 <field name="view_mode">tree</field>
1488 <field name="view_id" ref="view_move_line_tree"/>
1489 <field name="act_window_id" ref="action_move_line_search"/>
1491 <record id="action_move_line_search_view2" model="ir.actions.act_window.view">
1492 <field eval="11" name="sequence"/>
1493 <field name="view_mode">form</field>
1494 <field name="act_window_id" ref="action_move_line_search"/>
1498 context="{'search_default_next_partner':1,'view_mode':True}"
1499 id="action_account_manual_reconcile" name="Journal Items"
1500 res_model="account.move.line"
1501 view_id="view_move_line_tree"/>
1505 name="Manual Reconciliation" icon="STOCK_EXECUTE"
1506 action="action_account_manual_reconcile"
1507 id="menu_manual_reconcile"
1508 parent="account.periodical_processing_reconciliation"/>
1512 id="act_account_acount_move_line_open"
1514 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0, 'default_account_id': active_id}"
1515 res_model="account.move.line"
1516 src_model="account.account"/>
1519 id="act_account_acount_move_line_open_unreconciled"
1520 name="Unreconciled Entries"
1521 res_model="account.move.line"
1522 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
1523 src_model="account.account"/>
1526 domain="[('reconcile_id', '=', active_id)]"
1527 id="act_account_acount_move_line_reconcile_open"
1528 name="Reconciled entries"
1529 res_model="account.move.line"
1530 src_model="account.move.reconcile"/>
1535 Print Journal (and change state)
1536 Close Journal (and verify that there is no draft Entry Lines)
1539 <record id="view_journal_period_tree" model="ir.ui.view">
1540 <field name="name">account.journal.period.tree</field>
1541 <field name="model">account.journal.period</field>
1542 <field name="type">tree</field>
1543 <field name="arch" type="xml">
1544 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1545 <field icon="icon" name="fiscalyear_id"/>
1546 <field name="period_id"/>
1547 <field name="journal_id"/>
1548 <field name="state"/>
1549 <field name="company_id" groups="base.group_multi_company"/>
1553 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1554 <field name="name">Journals</field>
1555 <field name="res_model">account.journal.period</field>
1556 <field name="view_type">tree</field>
1557 <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>
1564 <record id="view_model_line_tree" model="ir.ui.view">
1565 <field name="name">account.model.line.tree</field>
1566 <field name="model">account.model.line</field>
1567 <field name="type">tree</field>
1568 <field name="arch" type="xml">
1569 <tree string="Journal Entry Model Line" editable="bottom">
1570 <field name="sequence"/>
1571 <field name="name"/>
1572 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1573 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1574 <field name="partner_id"/>
1575 <field name="debit"/>
1576 <field name="credit"/>
1577 <field name="date_maturity"/>
1583 <record id="view_model_line_form" model="ir.ui.view">
1584 <field name="name">account.model.line.form</field>
1585 <field name="model">account.model.line</field>
1586 <field name="type">form</field>
1587 <field name="arch" type="xml">
1588 <form string="Journal Entry Model Line" version="7.0">
1590 <field colspan="4" name="name"/>
1591 <field name="sequence"/>
1592 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1593 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1594 <field name="partner_id"/>
1595 <field name="debit"/>
1596 <field name="credit"/>
1597 <field name="quantity"/>
1598 <field name="date_maturity"/>
1604 <record id="view_model_form" model="ir.ui.view">
1605 <field name="name">account.model.form</field>
1606 <field name="model">account.model</field>
1607 <field name="type">form</field>
1608 <field name="arch" type="xml">
1609 <form string="Journal Entry Model" version="7.0">
1611 <field name="name"/>
1612 <field name="journal_id"/>
1613 <field name="company_id" widget='selection' groups="base.group_multi_company"/>
1616 <field name="lines_id" widget="one2many_list"/>
1617 <separator string="Legend"/>
1618 <field name="legend"/>
1619 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1624 <record id="view_model_tree" model="ir.ui.view">
1625 <field name="name">account.model.tree</field>
1626 <field name="model">account.model</field>
1627 <field name="type">tree</field>
1628 <field name="arch" type="xml">
1629 <tree string="Journal Entry Model">
1630 <field name="name"/>
1631 <field name="journal_id"/>
1632 <field name="company_id" groups="base.group_multi_company"/>
1637 <record id="view_model_search" model="ir.ui.view">
1638 <field name="name">account.model.search</field>
1639 <field name="model">account.model</field>
1640 <field name="type">search</field>
1641 <field name="arch" type="xml">
1642 <search string="Journal Entry Model">
1644 <field name="name" string="Journal Entry Model"/>
1645 <separator orientation="vertical"/>
1646 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1647 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1648 <separator orientation="vertical"/>
1649 <field name="journal_id" widget="selection"/>
1650 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1653 <group expand="0" string="Group By...">
1654 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1660 <record id="action_model_form" model="ir.actions.act_window">
1661 <field name="name">Recurring Models</field>
1662 <field name="res_model">account.model</field>
1663 <field name="view_type">form</field>
1664 <field name="view_mode">tree,form</field>
1665 <field name="search_view_id" ref="view_model_search"/>
1668 action="action_model_form" id="menu_action_model_form" sequence="5"
1669 parent="account.menu_configuration_misc"/>
1675 <record id="view_payment_term_line_tree" model="ir.ui.view">
1676 <field name="name">account.payment.term.line.tree</field>
1677 <field name="model">account.payment.term.line</field>
1678 <field name="type">tree</field>
1679 <field name="arch" type="xml">
1680 <tree string="Payment Term">
1681 <field name="sequence"/>
1682 <field name="name"/>
1683 <field name="value"/>
1684 <field name="value_amount"/>
1685 <field name="days"/>
1686 <field name="days2"/>
1692 <record id="view_payment_term_line_form" model="ir.ui.view">
1693 <field name="name">account.payment.term.line.form</field>
1694 <field name="model">account.payment.term.line</field>
1695 <field name="type">form</field>
1696 <field name="arch" type="xml">
1697 <form string="Payment Term" version="7.0">
1698 <field name="name"/>
1699 <field name="sequence"/>
1701 <group string="Amount Computation">
1702 <field name="value"/>
1703 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1705 <group string="Due Date Computation">
1706 <field name="days"/>
1707 <field name="days2"/>
1711 <separator string="Example"/>
1712 <label string="At 14 net days 2 percent, remaining amount at 30 days end of month."/>
1714 <label string="Line 1:" colspan="2"/>
1715 <label string=" Valuation: Percent"/>
1716 <label string=" Number of Days: 14"/>
1717 <label string=" Value amount: 0.02"/>
1718 <label string=" Day of the Month: 0"/>
1721 <label string="Line 2:" colspan="2"/>
1722 <label string=" Valuation: Balance"/>
1723 <label string=" Number of Days: 30"/>
1724 <label string=" Value amount: n.a"/>
1725 <label string=" Day of the Month= -1"/>
1731 <record id="view_payment_term_search" model="ir.ui.view">
1732 <field name="name">account.payment.term.search</field>
1733 <field name="model">account.payment.term</field>
1734 <field name="type">search</field>
1735 <field name="arch" type="xml">
1736 <search string="Payment Term">
1737 <field name="name" string="Payment Term"/>
1738 <field name="active"/>
1743 <record id="view_payment_term_form" model="ir.ui.view">
1744 <field name="name">account.payment.term.form</field>
1745 <field name="model">account.payment.term</field>
1746 <field name="type">form</field>
1747 <field name="arch" type="xml">
1748 <form string="Payment Term" version="7.0">
1750 <field name="name"/>
1751 <field name="active"/>
1753 <separator string="Description on Invoices"/>
1754 <field name="note"/>
1755 <separator string="Computation"/>
1756 <field name="line_ids"/>
1761 <record id="action_payment_term_form" model="ir.actions.act_window">
1762 <field name="name">Payment Terms</field>
1763 <field name="res_model">account.payment.term</field>
1764 <field name="view_type">form</field>
1765 <field name="view_mode">tree,form</field>
1766 <field name="search_view_id" ref="view_payment_term_search"/>
1768 <menuitem action="action_payment_term_form"
1769 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1772 # Account Subscriptions
1775 <record id="view_subscription_line_form" model="ir.ui.view">
1776 <field name="name">account.subscription.line.form</field>
1777 <field name="model">account.subscription.line</field>
1778 <field name="type">form</field>
1779 <field name="arch" type="xml">
1780 <form string="Subscription lines" version="7.0">
1782 <field name="date"/>
1783 <field name="move_id"/>
1789 <record id="view_subscription_line_tree" model="ir.ui.view">
1790 <field name="name">account.subscription.line.tree</field>
1791 <field name="model">account.subscription.line</field>
1792 <field name="type">tree</field>
1793 <field name="arch" type="xml">
1794 <tree string="Subscription lines">
1795 <field name="date"/>
1796 <field name="move_id"/>
1801 <record id="view_subscription_tree" model="ir.ui.view">
1802 <field name="name">account.subscription.tree</field>
1803 <field name="model">account.subscription</field>
1804 <field name="type">tree</field>
1805 <field name="arch" type="xml">
1806 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1807 <field name="name"/>
1808 <field name="model_id"/>
1810 <field name="date_start"/>
1811 <field name="state"/>
1816 <record id="view_subscription_search" model="ir.ui.view">
1817 <field name="name">account.subscription.search</field>
1818 <field name="model">account.subscription</field>
1819 <field name="type">search</field>
1820 <field name="arch" type="xml">
1821 <search string="Entry Subscription">
1823 <field name="name" string="Account Subscription"/>
1824 <separator orientation="vertical"/>
1825 <field name="date_start"/>
1826 <separator orientation="vertical"/>
1827 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1828 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1829 <separator orientation="vertical"/>
1830 <field name="model_id"/>
1833 <group expand="0" string="Group By...">
1834 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1835 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1841 <record id="view_subscription_form" model="ir.ui.view">
1842 <field name="name">account.subscription.form</field>
1843 <field name="model">account.subscription</field>
1844 <field name="type">form</field>
1845 <field name="arch" type="xml">
1846 <form string="Recurring" version="7.0">
1848 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1849 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_highlight"/>
1850 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_highlight"/>
1851 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1856 <field name="name"/>
1857 <field name="model_id"/>
1861 <field name="date_start"/>
1862 <field name="period_type"/>
1863 <field name="period_nbr"/>
1864 <field name="period_total"/>
1867 <separator string="Subscription Lines"/>
1868 <field name="lines_id" widget="one2many_list"/>
1873 <record id="action_subscription_form" model="ir.actions.act_window">
1874 <field name="name">Recurring Lines</field>
1875 <field name="res_model">account.subscription</field>
1876 <field name="view_type">form</field>
1877 <field name="view_mode">tree,form</field>
1878 <field name="search_view_id" ref="view_subscription_search"/>
1879 <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>
1882 name="Define Recurring Entries" action="action_subscription_form"
1883 id="menu_action_subscription_form" sequence="1"
1884 parent="account.menu_finance_recurrent_entries"/>
1886 <record id="action_subscription_form_running" model="ir.actions.act_window">
1887 <field name="name">Running Subscriptions</field>
1888 <field name="res_model">account.subscription</field>
1889 <field name="view_type">form</field>
1890 <field name="view_mode">tree,form</field>
1891 <field name="domain">[('state','=','running')]</field>
1892 <field name="filter" eval="True"/>
1895 <record id="action_subscription_form_new" model="ir.actions.act_window">
1896 <field name="name">New Subscription</field>
1897 <field name="res_model">account.subscription</field>
1898 <field name="view_type">form</field>
1899 <field name="view_mode">form,tree</field>
1900 <field name="view_id" ref="view_subscription_form"/>
1903 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1904 <field name="name">account.subscription.line.form</field>
1905 <field name="model">account.subscription.line</field>
1906 <field name="type">form</field>
1907 <field eval="20" name="priority"/>
1908 <field name="arch" type="xml">
1909 <form string="Subscription lines" version="7.0">
1911 <field name="subscription_id"/>
1912 <field name="date"/>
1913 <field name="move_id"/>
1919 <record id="action_move_line_tree1" model="ir.actions.act_window">
1920 <field name="name">Journal Items</field>
1921 <field name="res_model">account.move.line</field>
1922 <field name="view_type">form</field>
1923 <field name="view_mode">tree,form</field>
1924 <field name="domain">[('account_id','child_of', [active_id]),('state','<>','draft')]</field>
1925 <field name="context">{'account_id':active_id}</field>
1928 <record id="view_move_line_tax_tree" model="ir.ui.view">
1929 <field name="name">account.move.line.tax.tree</field>
1930 <field name="model">account.move.line</field>
1931 <field name="type">tree</field>
1932 <field eval="4" name="priority"/>
1933 <field name="arch" type="xml">
1934 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items">
1935 <field name="date"/>
1936 <field name="move_id"/>
1937 <field name="statement_id" string="St."/>
1938 <field name="name"/>
1939 <field name="partner_id"/>
1940 <field name="account_id"/>
1941 <field name="tax_code_id"/>
1942 <field name="tax_amount"/>
1943 <field name="debit" sum="Total debit"/>
1944 <field name="credit" sum="Total credit"/>
1945 <field name="account_tax_id"/>
1946 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1947 <field name="state"/>
1952 <record id="action_tax_code_line_open" model="ir.actions.act_window">
1953 <field name="name">Journal Items</field>
1954 <field name="res_model">account.move.line</field>
1955 <field name="view_type">form</field>
1956 <field name="view_mode">tree,form</field>
1957 <field name="view_id" ref="view_move_line_tax_tree"/>
1958 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
1960 <record id="ir_open_tax_move_line" model="ir.values">
1961 <field name="key2">tree_but_open</field>
1962 <field name="model">account.tax.code</field>
1963 <field name="name">Tax Details</field>
1964 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
1973 id="act_account_journal_2_account_bank_statement"
1974 name="Bank statements"
1975 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
1976 res_model="account.bank.statement"
1977 src_model="account.journal"/>
1980 id="act_account_journal_2_account_move_line"
1981 name="Journal Items"
1982 context="{'search_default_journal_id':active_id, 'default_journal_id': active_id}"
1983 res_model="account.move.line"
1984 src_model="account.journal"/>
1987 context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
1988 domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]"
1989 id="act_account_partner_account_move_all"
1990 name="Receivables & Payables"
1991 res_model="account.move.line"
1992 src_model="res.partner"/>
1994 <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"/>
1996 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
1997 <field name="name">Create Account</field>
1998 <field name="model">account.addtmpl.wizard</field>
1999 <field name="type">form</field>
2000 <field name="arch" type="xml">
2001 <form string="Create Account" version="7.0">
2003 <button icon="gtk-ok" name="action_create" string="Add" type="object" class="oe_highlight" />
2005 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
2006 <field name="cparent_id"/>
2011 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
2012 name="Create Account"
2014 res_model="account.addtmpl.wizard"
2015 context="{'tmpl_ids': active_id}"
2016 src_model="account.account.template"
2017 view_type="form" view_mode="form"/>
2019 <!-- Account Templates -->
2021 id="account_template_folder"
2023 parent="menu_finance_accounting"
2024 groups="base.group_multi_company"/>
2026 id="account_template_taxes"
2028 parent="account_template_folder"
2031 id="account_template_accounts"
2033 parent="account_template_folder"
2037 <record id="view_account_template_form" model="ir.ui.view">
2038 <field name="name">account.account.template.form</field>
2039 <field name="model">account.account.template</field>
2040 <field name="type">form</field>
2041 <field name="arch" type="xml">
2042 <form string="Account Template" version="7.0">
2044 <page string="General Information">
2046 <field name="name"/>
2047 <field name="code"/>
2049 <field name="parent_id"/>
2050 <field name="shortcut"/>
2051 <field name="type"/>
2052 <field name="user_type"/>
2054 <field name="currency_id"/>
2055 <field name="reconcile"/>
2056 <field name="chart_template_id"/>
2058 <separator string="Default Taxes"/>
2059 <field name="tax_ids"/>
2061 <page string="Notes">
2062 <field name="note"/>
2069 <record id="view_account_template_tree" model="ir.ui.view">
2070 <field name="name">account.account.template.tree</field>
2071 <field name="model">account.account.template</field>
2072 <field name="type">tree</field>
2073 <field name="arch" type="xml">
2074 <tree string="Account Template">
2075 <field name="code"/>
2076 <field name="name"/>
2077 <field name="type" invisible="1"/>
2078 <field name="user_type" invisible="1"/>
2083 <record id="view_account_template_search" model="ir.ui.view">
2084 <field name="name">account.account.template.search</field>
2085 <field name="model">account.account.template</field>
2086 <field name="type">search</field>
2087 <field name="arch" type="xml">
2088 <search string="Search Account Templates">
2090 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Template"/>
2091 <separator orientation="vertical"/>
2092 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2093 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2094 <separator orientation="vertical"/>
2095 <field name="parent_id"/>
2096 <field name="user_type"/>
2097 <field name="type"/>
2100 <group expand="0" string="Group By...">
2101 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2102 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2108 <record id="action_account_template_form" model="ir.actions.act_window">
2109 <field name="name">Account Templates</field>
2110 <field name="res_model">account.account.template</field>
2111 <field name="view_type">form</field>
2112 <field name="view_mode">tree,form</field>
2113 <field name="search_view_id" ref="view_account_template_search"/>
2116 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2118 <!-- Chart of Accounts Templates -->
2120 <record id="view_account_chart_template_form" model="ir.ui.view">
2121 <field name="name">account.chart.template.form</field>
2122 <field name="model">account.chart.template</field>
2123 <field name="type">form</field>
2124 <field name="arch" type="xml">
2125 <form string="Chart of Accounts Template" version="7.0">
2127 <field name="name"/>
2128 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2129 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2130 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2131 <field name="parent_id" />
2132 <!--<field name="code_digits" />-->
2133 <field name="visible" />
2134 <field name="complete_tax_set" />
2136 <field name="tax_template_ids" colspan="4" readonly="1" nolabel="1"/>
2137 <separator string="Properties" colspan="4"/>
2139 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
2140 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
2141 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
2142 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
2143 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
2144 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
2145 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2146 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2147 <field name="property_reserve_and_surplus_account" />
2152 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2153 <field name="name">account.chart.template.search</field>
2154 <field name="model">account.chart.template</field>
2155 <field name="type">search</field>
2156 <field name="arch" type="xml">
2157 <search string="Search Chart of Account Templates">
2159 <field name="name" string="Account Template"/>
2160 <separator orientation="vertical"/>
2161 <field name="account_root_id"/>
2162 <field name="bank_account_view_id"/>
2165 <group expand="0" string="Group By...">
2166 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2167 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2168 <separator orientation="vertical"/>
2169 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2170 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2171 <separator orientation="vertical"/>
2172 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2173 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2178 <record id="view_account_chart_template_tree" model="ir.ui.view">
2179 <field name="name">account.chart.template.tree</field>
2180 <field name="model">account.chart.template</field>
2181 <field name="type">tree</field>
2182 <field name="arch" type="xml">
2183 <tree string="Chart of Accounts Template">
2184 <field name="name"/>
2185 <field name="account_root_id"/>
2186 <field name="tax_code_root_id"/>
2187 <field name="bank_account_view_id"/>
2188 <field name="property_account_receivable" invisible="1"/>
2189 <field name="property_account_payable" invisible="1"/>
2190 <field name="property_account_expense_categ" invisible="1"/>
2191 <field name="property_account_income_categ" invisible="1"/>
2195 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2196 <field name="name">Chart of Accounts Templates</field>
2197 <field name="res_model">account.chart.template</field>
2198 <field name="view_type">form</field>
2199 <field name="view_mode">tree,form</field>
2202 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2204 <!-- Account Tax Templates -->
2206 <record id="view_account_tax_template_form" model="ir.ui.view">
2207 <field name="name">account.tax.template.form</field>
2208 <field name="model">account.tax.template</field>
2209 <field name="type">form</field>
2210 <field name="arch" type="xml">
2211 <form string="Account Tax Template" version="7.0">
2213 <field name="name"/>
2214 <field name="description"/>
2215 <field name="chart_template_id"/>
2216 <field name="type"/>
2217 <field name="type_tax_use"/>
2218 <field name="price_include"/>
2221 <page string="Tax Definition">
2223 <field name="applicable_type"/>
2224 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2225 <field name="include_base_amount"/>
2226 <field name="domain"/>
2228 <field name="account_collected_id"/>
2229 <label colspan="2" string="Keep empty to use the income account"/>
2230 <field name="account_paid_id"/>
2231 <label colspan="2" string="Keep empty to use the expense account"/>
2232 <field name="child_depend"/>
2233 <field name="sequence"/>
2236 <page string="Tax Declaration">
2238 <separator colspan="4" string="Invoices"/>
2239 <field name="base_code_id"/>
2240 <field name="base_sign"/>
2241 <field name="tax_code_id"/>
2242 <field name="tax_sign"/>
2244 <separator colspan="4" string="Credit Notes"/>
2245 <field name="ref_base_code_id"/>
2246 <field name="ref_base_sign"/>
2247 <field name="ref_tax_code_id"/>
2248 <field name="ref_tax_sign"/>
2251 <page string="Special Computation">
2252 <separator string="Compute Code (if type=code)"/>
2253 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2254 <separator string="Compute Code for Taxes Included Prices"/>
2255 <field name="python_compute_inv"/>
2256 <separator string="Applicable Code (if type=code)"/>
2257 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2263 <record id="view_account_tax_template_tree" model="ir.ui.view">
2264 <field name="name">account.tax.template.tree</field>
2265 <field name="model">account.tax.template</field>
2266 <field name="type">tree</field>
2267 <field name="arch" type="xml">
2268 <tree string="Account Tax Template">
2269 <field name="name" />
2270 <field name="description"/>
2274 <record id="view_account_tax_template_search" model="ir.ui.view">
2275 <field name="name">account.tax.template.search</field>
2276 <field name="model">account.tax.template</field>
2277 <field name="type">search</field>
2278 <field name="arch" type="xml">
2279 <search string="Search Tax Templates">
2281 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax Template"/>
2282 <separator orientation="vertical"/>
2283 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2284 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2285 <separator orientation="vertical"/>
2286 <field name="chart_template_id"/>
2292 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2293 <field name="name">Tax Templates</field>
2294 <field name="res_model">account.tax.template</field>
2295 <field name="view_type">form</field>
2296 <field name="view_mode">tree,form</field>
2297 <field name="search_view_id" ref="view_account_tax_template_search"/>
2300 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2302 <!-- Account Tax Code Templates -->
2303 <record id="view_tax_code_template_tree" model="ir.ui.view">
2304 <field name="name">account.tax.code.template.tree</field>
2305 <field name="model">account.tax.code.template</field>
2306 <field name="type">tree</field>
2307 <field name="field_parent">child_ids</field>
2308 <field name="arch" type="xml">
2309 <tree string="Account Tax Code Template" toolbar="1">
2310 <field name="name"/>
2311 <field name="code"/>
2312 <field name="parent_id" invisible="1"/>
2317 <record id="view_tax_code_template_search" model="ir.ui.view">
2318 <field name="name">account.tax.code.template.search</field>
2319 <field name="model">account.tax.code.template</field>
2320 <field name="type">search</field>
2321 <field name="arch" type="xml">
2322 <search string="Search tax template">
2324 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Template"/>
2325 <field name="parent_id"/>
2328 <group expand="0" string="Group By...">
2329 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2335 <record id="view_tax_code_template_form" model="ir.ui.view">
2336 <field name="name">account.tax.code.template.form</field>
2337 <field name="model">account.tax.code.template</field>
2338 <field name="type">form</field>
2339 <field name="arch" type="xml">
2340 <form string="Account Tax Code Template" version="7.0">
2342 <field name="name"/>
2343 <field name="code"/>
2344 <field name="parent_id"/>
2345 <field name="sign"/>
2347 <separator string="Description"/>
2348 <field name="info"/>
2353 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2354 <field name="name">Tax Code Templates</field>
2355 <field name="res_model">account.tax.code.template</field>
2356 <field name="view_type">form</field>
2357 <field name="view_mode">tree,form</field>
2358 <field name="search_view_id" ref="view_tax_code_template_search"/>
2360 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2363 <!-- Wizard for Multi Charts of Accounts -->
2365 <record id="view_wizard_multi_chart" model="ir.ui.view">
2366 <field name="name">Set Your Accounting Options</field>
2367 <field name="model">wizard.multi.charts.accounts</field>
2368 <field name="type">form</field>
2369 <field name="inherit_id" ref="base.res_config_view_base"/>
2370 <field name="arch" type="xml">
2371 <form position="attributes" version="7.0">
2372 <attribute name="string">Accounting Application Configuration</attribute>
2374 <group string="res_config_contents" position="replace">
2375 <field name="only_one_chart_template" invisible="1"/>
2376 <field name="complete_tax_set" invisible="1"/>
2377 <div groups="base.group_multi_company">
2378 <label for="company_id"/>
2379 <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 -->
2382 <div attrs="{'invisible': [('only_one_chart_template','=',True)]}">
2383 <label for="chart_template_id"/>
2384 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2387 <group groups="account.group_account_user">
2388 <field name="code_digits"/>
2391 <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'))]"/>
2392 <label for="sale_tax_rate" string="Sale Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2393 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2394 <field name="sale_tax_rate" class="oe_inline" on_change="onchange_tax_rate(sale_tax_rate)"/> %%
2396 <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 <label for="purchase_tax_rate" string="Purchase Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2398 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2399 <field name="purchase_tax_rate" class="oe_inline"/> %%
2403 <div groups="account.group_account_user">
2404 <label for="bank_accounts_id" string="Bank Information"/>
2405 <field name="bank_accounts_id">
2406 <tree editable="bottom">
2407 <field name="acc_name"/>
2408 <field name="account_type"/>
2409 <field name="currency_id" widget="selection"/>
2417 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2418 <field name="name">Set Your Accounting Options</field>
2419 <field name="type">ir.actions.act_window</field>
2420 <field name="res_model">wizard.multi.charts.accounts</field>
2421 <field name="view_id" ref="view_wizard_multi_chart"/>
2422 <field name="view_type">form</field>
2423 <field name="view_mode">form</field>
2424 <field name="target">new</field>
2426 <record id="ir_actions_server_action_wizard_multi_chart" model="ir.actions.server">
2427 <field name="type">ir.actions.server</field>
2428 <field name="condition">True</field>
2429 <field name="state">code</field>
2430 <field name="model_id" ref="base.model_ir_actions_todo"/>
2431 <field eval="5" name="sequence"/>
2433 # check for unconfigured companies
2434 account_installer_obj = self.pool.get('account.installer')
2435 account_installer_obj.check_unconfigured_cmp(cr, uid, context=context)
2437 # fetch the act_window actions related to chart of account configuration
2438 # we use ir.actions.todo to enable the possibility for other modules to insert their own
2439 # wizards during the configuration process
2440 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_wizard_multi_chart')
2442 action_ids += [ref[1]]
2443 ref = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'account', 'action_account_configuration_installer')
2445 action_ids += [ref[1]]
2446 todo_ids = pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', action_ids)], context=context)
2447 pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context)
2448 action = pool.get('res.config').next(cr, uid, [], context)
2450 <field name="name">New Company Financial Setting</field>
2453 <record id="account_account_graph" model="ir.ui.view">
2454 <field name="name">account.account.graph</field>
2455 <field name="model">account.account</field>
2456 <field name="type">graph</field>
2457 <field name="arch" type="xml">
2458 <graph string="Account Statistics" type="bar">
2459 <field name="name"/>
2460 <field name="balance" operator="+"/>
2465 <!-- Fiscal Position Templates -->
2467 <record id="view_account_position_template_search" model="ir.ui.view">
2468 <field name="name">account.fiscal.position.template.search</field>
2469 <field name="model">account.fiscal.position.template</field>
2470 <field name="type">search</field>
2471 <field name="arch" type="xml">
2472 <search string="Fiscal Position">
2473 <field name="name" string="Fiscal Position Template"/>
2478 <record id="view_account_position_template_form" model="ir.ui.view">
2479 <field name="name">account.fiscal.position.template.form</field>
2480 <field name="model">account.fiscal.position.template</field>
2481 <field name="type">form</field>
2482 <field name="arch" type="xml">
2483 <form string="Fiscal Position Template" version="7.0">
2485 <field name="name"/>
2486 <field name="chart_template_id"/>
2488 <field name="tax_ids">
2489 <tree string="Taxes Mapping" editable="bottom">
2490 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2491 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2493 <form string="Taxes Mapping" version="7.0">
2494 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2495 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2498 <field name="account_ids">
2499 <tree string="Accounts Mapping" editable="bottom">
2500 <field name="account_src_id"/>
2501 <field name="account_dest_id"/>
2503 <form string="Accounts Mapping" version="7.0">
2504 <field name="account_src_id"/>
2505 <field name="account_dest_id"/>
2511 <record id="view_account_position_template_tree" model="ir.ui.view">
2512 <field name="name">account.fiscal.position.template.tree</field>
2513 <field name="model">account.fiscal.position.template</field>
2514 <field name="type">tree</field>
2515 <field name="arch" type="xml">
2516 <tree string="Fiscal Position">
2517 <field name="name"/>
2522 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2523 <field name="name">Fiscal Position Templates</field>
2524 <field name="res_model">account.fiscal.position.template</field>
2525 <field name="view_type">form</field>
2526 <field name="view_mode">tree,form</field>
2527 <field name="search_view_id" ref="view_account_position_template_search"/>
2531 action="action_account_fiscal_position_template_form"
2532 id="menu_action_account_fiscal_position_form_template"
2533 parent="account_template_taxes" sequence="20"/>
2535 <!-- Cash Statement -->
2536 <record id="view_cash_statement_tree" model="ir.ui.view">
2537 <field name="name">account.bank.statement.tree</field>
2538 <field name="model">account.bank.statement</field>
2539 <field name="type">tree</field>
2540 <field name="arch" type="xml">
2541 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2542 <field name="name"/>
2543 <field name="date"/>
2544 <field name="period_id"/>
2545 <field name="journal_id"/>
2546 <field name="balance_start"/>
2547 <field name="balance_end_real"/>
2548 <field name="balance_end"/>
2549 <field name="state"/>
2554 <record id="view_bank_statement_form2" model="ir.ui.view">
2555 <field name="name">account.bank.statement.form</field>
2556 <field name="model">account.bank.statement</field>
2557 <field name="type">form</field>
2558 <field name="arch" type="xml">
2559 <form version="7.0">
2561 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
2562 <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
2563 <button name="button_cancel" states="confirm,open" string="Cancel" type="object" groups="base.group_extended"/>
2564 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2566 <sheet string="Statement">
2567 <label for="name" class="oe_edit_only"/>
2568 <h1><field name="name" class="oe_inline"/>-<field name="period_id" class="oe_inline"/></h1>
2569 <label for="journal_id" class="oe_edit_only"/>
2571 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection"/>
2575 <field name="user_id" readonly="1" string="Responsible"/>
2576 <field name="total_entry_encoding"/>
2577 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2580 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2581 <field name="closing_date" readonly="1"/>
2582 <field name="currency" invisible="1"/>
2586 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2587 <field name="line_ids" context="{'date':date}">
2588 <tree editable="bottom" string="Statement lines">
2589 <field name="sequence" invisible="1"/>
2590 <field name="date"/>
2591 <field name="name"/>
2593 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2594 <field name="type" on_change="onchange_type(partner_id, type)"/>
2595 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2596 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2597 <field name="amount"/>
2599 <form string="Statement lines" version="7.0">
2601 <field name="date"/>
2602 <field name="name"/>
2604 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2605 <field name="type" on_change="onchange_type(partner_id, type)"/>
2606 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2607 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2608 <field name="amount"/>
2609 <field name="sequence"/>
2611 <separator string="Notes"/>
2612 <field name="note"/>
2616 <page string="CashBox">
2619 <group string="Opening Operations">
2620 <field name="starting_details_ids" attrs="{'readonly':[('state','!=','draft')]}" nolabel="1">
2621 <tree string = "Opening Balance" editable="bottom">
2622 <field name="pieces"/>
2623 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2624 <field name="subtotal" sum="Total"/>
2626 <form string = "Opening Balance" version="7.0">
2627 <field name="pieces"/>
2628 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2629 <field name="subtotal"/>
2634 <group class="oe_subtotal_footer oe_right">
2635 <field name="balance_start" readonly="1" string="Total"/>
2636 <field name="total_entry_encoding"/>
2640 <group string="Closing Operations">
2641 <field name="ending_details_ids" attrs="{'readonly':[('state','!=','open')]}" nolabel="1">
2642 <tree string = "Closing Balance" editable="bottom">
2643 <field name="pieces"/>
2644 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2645 <field name="subtotal" sum="Total"/>
2647 <form string = "Closing Balance" version="7.0">
2648 <field name="pieces"/>
2649 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2650 <field name="subtotal"/>
2655 <group class="oe_subtotal_footer oe_right">
2656 <field name="balance_end" />
2657 <field name="balance_end_cash"/>
2662 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2663 <field name="move_line_ids" string="Journal Entries"/>
2670 <record id="account_cash_statement_graph" model="ir.ui.view">
2671 <field name="name">account.bank.statement.graph</field>
2672 <field name="model">account.bank.statement</field>
2673 <field name="type">graph</field>
2674 <field name="arch" type="xml">
2675 <graph string="Account Statistics" type="bar">
2676 <field name="date"/>
2677 <field name="balance_start" operator="+"/>
2678 <field name="balance_end" operator="+"/>
2682 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2683 <field name="name">Cash Registers</field>
2684 <field name="type">ir.actions.act_window</field>
2685 <field name="res_model">account.bank.statement</field>
2686 <field name="view_type">form</field>
2687 <field name="view_mode">tree,form,graph</field>
2688 <field name="view_id" ref="view_cash_statement_tree"/>
2689 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2690 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2691 <field name="context">{'journal_type':'cash'}</field>
2692 <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>
2694 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2695 <field name="sequence" eval="1"/>
2696 <field name="view_mode">tree</field>
2697 <field name="view_id" ref="view_cash_statement_tree"/>
2698 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2700 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2701 <field name="sequence" eval="1"/>
2702 <field name="view_mode">form</field>
2703 <field name="view_id" ref="view_bank_statement_form2"/>
2704 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2706 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2707 <field name="sequence" eval="1"/>
2708 <field name="view_mode">graph</field>
2709 <field name="view_id" ref="account_cash_statement_graph"/>
2710 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2712 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2713 parent="menu_finance_bank_and_cash"/>
2715 <menuitem id="menu_account_customer" name="Customers"
2716 parent="menu_finance_receivables"
2717 action="base.action_partner_customer_form" sequence="100"/>
2719 <menuitem id="menu_account_supplier" name="Suppliers"
2720 parent="menu_finance_payables"
2721 action="base.action_partner_supplier_form" sequence="100"/>
2727 <record id="view_account_financial_report_form" model="ir.ui.view">
2728 <field name="name">account.financial.report.form</field>
2729 <field name="model">account.financial.report</field>
2730 <field name="type">form</field>
2731 <field name="arch" type="xml">
2732 <form string="Account Report" version="7.0">
2734 <field name="name"/>
2735 <field name="parent_id"/>
2736 <field name="sequence"/>
2737 <field name="type"/>
2738 <field name="sign"/>
2739 <field name="style_overwrite"/>
2742 <page string="Report">
2744 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2745 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2747 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2748 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2755 <record id="view_account_financial_report_tree" model="ir.ui.view">
2756 <field name="name">account.financial.report.tree</field>
2757 <field name="model">account.financial.report</field>
2758 <field name="type">tree</field>
2759 <field name="arch" type="xml">
2760 <tree string="Account Report">
2761 <field name="name"/>
2762 <field name="parent_id" invisible="1"/>
2763 <field name="type"/>
2764 <field name="account_report_id"/>
2769 <record id="view_account_financial_report_search" model="ir.ui.view">
2770 <field name="name">account.financial.report.search</field>
2771 <field name="model">account.financial.report</field>
2772 <field name="type">search</field>
2773 <field name="arch" type="xml">
2774 <search string="Account Report">
2776 <field name="name" string="Account Report"/>
2777 <separator orientation="vertical"/>
2778 <field name="account_report_id"/>
2779 <field name="type"/>
2782 <group expand="0" string="Group By...">
2783 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2784 <separator orientation="vertical"/>
2785 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2791 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2792 <field name="name">Financial Reports</field>
2793 <field name="type">ir.actions.act_window</field>
2794 <field name="res_model">account.financial.report</field>
2795 <field name="view_type">form</field>
2796 <field name="view_mode">tree,form</field>
2797 <field name="search_view_id" ref="view_account_financial_report_search"/>
2798 <field name="view_id" ref="view_account_financial_report_tree"/>
2799 <field name="help">Makes a generic system to draw financial reports easily.</field>
2802 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2804 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2805 <field name="name">account.report.hierarchy</field>
2806 <field name="model">account.financial.report</field>
2807 <field name="type">tree</field>
2808 <field name="field_parent">children_ids</field>
2809 <field name="arch" type="xml">
2810 <tree string="Account Reports Hierarchy">
2811 <field name="name"/>
2812 <field name="type"/>
2813 <field name="parent_id" invisible="1"/>
2814 <field name="account_report_id"/>
2818 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2819 <field name="name">Financial Reports Hierarchy</field>
2820 <field name="res_model">account.financial.report</field>
2821 <field name="view_type">tree</field>
2822 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2823 <field name="domain">[('parent_id','=',False)]</field>
2826 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2827 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>