1 <?xml version="1.0" encoding="utf-8"?>
9 <record id="view_account_fiscalyear_form" model="ir.ui.view">
10 <field name="name">account.fiscalyear.form</field>
11 <field name="model">account.fiscalyear</field>
12 <field name="arch" type="xml">
13 <form string="Fiscal year" version="7.0">
15 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" class="oe_highlight"/>
16 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" class="oe_highlight"/>
17 <field name="state" widget="statusbar" nolabel="1" />
23 <field name="company_id" groups="base.group_multi_company"/>
24 <field name="end_journal_period_id"/>
27 <field name="date_start"/>
28 <field name="date_stop"/>
31 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
32 <form string="Period" version="7.0">
36 <field name="date_start"/>
37 <field name="date_stop"/>
38 <field name="special"/>
39 <field name="state" invisible="1"/>
46 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
47 <field name="name">account.fiscalyear.tree</field>
48 <field name="model">account.fiscalyear</field>
49 <field name="arch" type="xml">
50 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Fiscalyear">
53 <field name="company_id" groups="base.group_multi_company"/>
58 <record id="view_account_fiscalyear_search" model="ir.ui.view">
59 <field name="name">account.fiscalyear.search</field>
60 <field name="model">account.fiscalyear</field>
61 <field name="arch" type="xml">
62 <search string="Search Fiscalyear">
63 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Fiscal Year"/>
64 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
65 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
67 <group expand="0" string="Group By...">
68 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
73 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
74 <field name="name">Fiscal Years</field>
75 <field name="res_model">account.fiscalyear</field>
76 <field name="view_type">form</field>
77 <field name="view_mode">tree,form</field>
78 <field name="help" type="html">
79 <p class="oe_view_nocontent_create">
80 Click to start a new fiscal year.
82 Define your company's financial year according to your needs. A
83 financial year is a period at the end of which a company's
84 accounts are made up (usually 12 months). The financial year is
85 usually referred to by the date in which it ends. For example,
86 if a company's financial year ends November 30, 2011, then
87 everything between December 1, 2010 and November 30, 2011
88 would be referred to as FY 2011.
92 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_configuration" sequence="5" />
93 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
99 <record id="view_account_period_form" model="ir.ui.view">
100 <field name="name">account.period.form</field>
101 <field name="model">account.period</field>
102 <field name="arch" type="xml">
103 <form string="Account Period" version="7.0">
105 <button string="Close Period" name="%(account.action_account_period_close)d" type="action" class="oe_highlight" states="draft"/>
106 <button name="action_draft" states="done" string="Set to Draft" type="object" groups="account.group_account_manager"/>
107 <field name="state" widget="statusbar" nolabel="1"/>
113 <field name="fiscalyear_id" widget="selection"/>
114 <label for="date_start" string="Duration"/>
116 <field name="date_start" class="oe_inline" nolabel="1"/> -
117 <field name="date_stop" nolabel="1" class="oe_inline"/>
122 <field name="special"/>
123 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
130 <record id="view_account_period_tree" model="ir.ui.view">
131 <field name="name">account.period.tree</field>
132 <field name="model">account.period</field>
133 <field name="arch" type="xml">
134 <tree colors="blue:state == 'draft';gray:state == 'done' " string="Period">
137 <field name="date_start"/>
138 <field name="date_stop"/>
139 <field name="special"/>
140 <field name="company_id" groups="base.group_multi_company"/>
141 <field name="state"/>
146 <record id="view_account_period_search" model="ir.ui.view">
147 <field name="name">account.period.search</field>
148 <field name="model">account.period</field>
149 <field name="arch" type="xml">
150 <search string="Search Period">
151 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Period"/>
152 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
157 <record id="action_account_period_form" model="ir.actions.act_window">
158 <field name="name">Periods</field>
159 <field name="res_model">account.period</field>
160 <field name="view_type">form</field>
161 <field name="view_mode">tree,form</field>
162 <field name="context">{'search_default_draft': 1}</field>
163 <field name="help" type="html">
164 <p class="oe_view_nocontent_create">
165 Click to add a fiscal period.
167 An accounting period typically is a month or a quarter. It
168 usually corresponds to the periods of the tax declaration.
172 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23" groups="base.group_no_one"/>
178 <record id="view_account_form" model="ir.ui.view">
179 <field name="name">account.account.form</field>
180 <field name="model">account.account</field>
181 <field name="arch" type="xml">
182 <form string="Account" version="7.0">
183 <label for="code" class="oe_edit_only" string="Account Code and Name"/>
185 <field name="code" class="oe_inline" placeholder="Account code" style="width: 6em"/> -
186 <field name="name" class="oe_inline" placeholder="Account name"/>
190 <field name="parent_id"/>
192 <field name="user_type"/>
193 <field name="active"/>
194 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
197 <field name="debit" attrs="{'readonly':[('type','=','view')]}"/>
198 <field name="credit" attrs="{'readonly':[('type','=','view')]}"/>
199 <field name="balance"/>
202 <field name="tax_ids" domain="[('parent_id','=',False)]" widget="many2many_tags"/>
203 <field name="reconcile"/>
204 <field name="child_consol_ids"
205 attrs="{'invisible':[('type','!=','consolidation')]}"
206 widget="many2many_tags"/>
208 <group groups="base.group_multi_currency">
209 <field name="currency_id"/>
210 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
219 <record id="view_account_search" model="ir.ui.view">
220 <field name="name">account.account.search</field>
221 <field name="model">account.account</field>
222 <field name="arch" type="xml">
223 <search string="Accounts">
224 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account"/>
225 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
226 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
227 <field name="user_type"/>
228 <group expand="0" string="Group By...">
229 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
230 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
231 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
237 <record id="view_account_list" model="ir.ui.view">
238 <field name="name">account.account.list</field>
239 <field name="model">account.account</field>
240 <field name="field_parent">child_id</field>
241 <field name="arch" type="xml">
242 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
245 <field name="parent_id" invisible="1"/>
246 <field name="user_type" invisible="1"/>
247 <field name="debit"/>
248 <field name="credit"/>
249 <field name="balance"/>
251 <field name="company_id" groups="base.group_multi_company"/>
252 <field name="company_currency_id"/>
256 <record id="action_account_form" model="ir.actions.act_window">
257 <field name="name">Accounts</field>
258 <field name="res_model">account.account</field>
259 <field name="view_type">form</field>
260 <field name="view_mode">tree,form,graph</field>
261 <field name="search_view_id" ref="view_account_search"/>
262 <field name="view_id" ref="view_account_list"/>
263 <field name="help" type="html">
264 <p class="oe_view_nocontent_create">
265 Click to add an account.
267 An account is part of a ledger allowing your company
268 to register all kinds of debit and credit transactions.
269 Companies present their annual accounts in two main parts: the
270 balance sheet and the income statement (profit and loss
271 account). The annual accounts of a company are required by law
272 to disclose a certain amount of information.
276 <menuitem id="account_account_menu" name="Accounts" parent="account.menu_finance_configuration" sequence="15"/>
277 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
279 <record id="view_account_tree" model="ir.ui.view">
280 <field name="name">account.account.tree</field>
281 <field name="model">account.account</field>
282 <field name="field_parent">child_id</field>
283 <field name="arch" type="xml">
284 <tree colors="blue:type == 'view';black:type in ('other','receivable','payable','consolidation');gray:type == 'closed'" string="Chart of accounts" toolbar="1" >
287 <field name="debit"/>
288 <field name="credit"/>
289 <field name="balance"/>
290 <field name="company_currency_id"/>
291 <field name="company_id" groups="base.group_multi_company"/>
293 <field name="parent_id" invisible="1"/>
297 <record id="action_account_tree" model="ir.actions.act_window">
298 <field name="name">Chart of Accounts</field>
299 <field name="res_model">account.account</field>
300 <field name="view_type">tree</field>
301 <field name="view_id" ref="view_account_tree"/>
302 <field name="domain">[('parent_id','=',False)]</field>
305 <record id="view_account_gain_loss_tree" model="ir.ui.view">
306 <field name="name">Unrealized Gain or Loss</field>
307 <field name="model">account.account</field>
308 <field name="arch" type="xml">
309 <tree string="Unrealized Gains and losses" create="false">
312 <field name="parent_id" invisible="1"/>
313 <field name="user_type" invisible="1"/>
314 <field name="type" invisible="1"/>
315 <field name="currency_id"/>
316 <field name="exchange_rate"/>
317 <field name="foreign_balance"/>
318 <field name="adjusted_balance"/>
319 <field name="balance"/>
320 <field name="unrealized_gain_loss"/>
325 <record id="action_account_gain_loss" model="ir.actions.act_window">
326 <field name="name">Unrealized Gain or Loss</field>
327 <field name="res_model">account.account</field>
328 <field name="view_type">form</field>
329 <field name="view_mode">tree</field>
330 <field name="view_id" ref="view_account_gain_loss_tree"/>
331 <field name="domain">[('currency_id','!=',False)]</field>
332 <field name="help" type="html">
333 <p class="oe_view_nocontent_create">
334 Click to add an account.
336 When doing multi-currency transactions, you may loose or gain
337 some amount due to changes of exchange rate. This menu gives
338 you a forecast of the Gain or Loss you'd realized if those
339 transactions were ended today. Only for accounts having a
340 secondary currency set.
346 name="Unrealized Gain or Loss"
347 action="action_account_gain_loss"
348 groups="account.group_account_user"
349 id="menu_unrealized_gains_losses"
350 parent="account.menu_multi_currency"/>
355 Account Journal Columns
358 <record id="view_journal_column_form" model="ir.ui.view">
359 <field name="name">account.journal.column.form</field>
360 <field name="model">account.journal.column</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="arch" type="xml">
373 <tree string="Journal Column">
374 <field name="sequence"/>
380 <record id="view_account_journal_view_search" model="ir.ui.view">
381 <field name="name">account.journal.view.search</field>
382 <field name="model">account.journal.view</field>
383 <field name="arch" type="xml">
384 <search string="Journal View">
385 <field name="name" string="Journal View"/>
389 <record id="view_account_journal_view_tree" model="ir.ui.view">
390 <field name="name">account.journal.view.tree</field>
391 <field name="model">account.journal.view</field>
392 <field name="arch" type="xml">
393 <tree string="Journal View">
398 <record id="view_account_journal_view_form" model="ir.ui.view">
399 <field name="name">account.journal.view.form</field>
400 <field name="model">account.journal.view</field>
401 <field name="arch" type="xml">
402 <form string="Journal View" version="7.0">
404 <field name="columns_id"/>
408 <record id="action_account_journal_view" model="ir.actions.act_window">
409 <field name="name">Journal Views</field>
410 <field name="res_model">account.journal.view</field>
411 <field name="view_type">form</field>
412 <field name="view_mode">tree,form</field>
413 <field name="search_view_id" ref="view_account_journal_view_search"/>
414 <field name="help" type="html">
415 <p class="oe_view_nocontent_create">
416 Click to specify lists of columns to display for a type of journal.
418 Journal views determine the way you can record entries in
419 your journal. Select the fields you want to appear in a journal
420 and determine the sequence in which they will appear.
422 On the journal definition form, you can select the view you
423 want to use to display journal items related to this journal.
428 <menuitem action="action_account_journal_view" id="menu_action_account_journal_view" parent="account.menu_journals" sequence="20"/>
434 <record id="view_account_journal_tree" model="ir.ui.view">
435 <field name="name">account.journal.tree</field>
436 <field name="model">account.journal</field>
437 <field name="arch" type="xml">
438 <tree string="Account Journal">
442 <field name="user_id"/>
443 <field name="company_id" groups="base.group_multi_company"/>
447 <record id="view_account_journal_search" model="ir.ui.view">
448 <field name="name">account.journal.search</field>
449 <field name="model">account.journal</field>
450 <field name="arch" type="xml">
451 <search string="Search Account Journal">
452 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Journal"/>
453 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-camera_test"/>
454 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
455 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
456 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
457 <field name="user_id"/>
458 <group expand="0" string="Group By...">
459 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
460 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
466 <record id="view_account_journal_form" model="ir.ui.view">
467 <field name="name">account.journal.form</field>
468 <field name="model">account.journal</field>
469 <field name="arch" type="xml">
470 <form string="Account Journal" version="7.0">
471 <div class="oe_title">
472 <label for="name" class="oe_edit_only"/>
473 <h1><field name="name"/></h1>
478 <field name="type" on_change="onchange_type(type, currency, context)"/>
481 <field name="default_debit_account_id" attrs="{'required':[('type','in', ('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
482 <field name="default_credit_account_id" attrs="{'required':[('type','in',('cash', 'bank'))]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
483 <field name="currency" groups="base.group_multi_currency"/>
484 <field name="company_id" groups="base.group_multi_company"/>
488 <page string="Advanced Settings">
491 <field name="user_id"/>
492 <field name="view_id" widget="selection"/>
493 <field name="sequence_id" required="0"/>
496 <field name="centralisation"/>
497 <field name="entry_posted"/>
498 <field name="allow_date"/>
499 <field name="group_invoice_lines"/>
503 <page string="Entry Controls">
504 <separator colspan="4" string="Accounts Type Allowed (empty for no control)"/>
505 <field colspan="4" name="type_control_ids" nolabel="1"/>
506 <separator colspan="4" string="Accounts Allowed (empty for no control)"/>
507 <field colspan="4" name="account_control_ids" nolabel="1"/>
509 <page string="Cash Registers">
511 <group string="Accounts">
512 <field name="profit_account_id" domain="[('type','!=','view')]"/>
513 <field name="loss_account_id" domain="[('type','!=','view')]"/>
514 <field name="internal_account_id"/>
516 <group string="Miscellaneous">
517 <field name="with_last_closing_balance"/>
518 <field name="cash_control"/>
521 <separator string="Available Coins" colspan="4" attrs="{'invisible' : [('cash_control', '=', False)] }"/>
522 <field name="cashbox_line_ids" nolabel="1" string="Unit Of Currency Definition" colspan="4" attrs="{'invisible' : [('cash_control', '=', False)]}">
523 <tree string="CashBox Lines" editable="bottom">
524 <field name="pieces" />
533 <record id="action_account_journal_form" model="ir.actions.act_window">
534 <field name="name">Journals</field>
535 <field name="res_model">account.journal</field>
536 <field name="view_type">form</field>
537 <field name="view_mode">tree,form</field>
538 <field name="help" type="html">
539 <p class="oe_view_nocontent_create">
540 Click to add a journal.
542 A journal is used to record transactions of all accounting data
543 related to the day-to-day business.
545 A typical company may use one journal per payment method (cash,
546 bank accounts, checks), one purchase journal, one sale journal
547 and one for miscellaneous information.
551 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="menu_journals"/>
553 <record id="view_account_bank_statement_filter" model="ir.ui.view">
554 <field name="name">account.cash.statement.select</field>
555 <field name="model">account.bank.statement</field>
556 <field name="arch" type="xml">
557 <search string="Search Bank Statements">
558 <field name="name" string="Bank Statement"/>
560 <filter string="Draft" name="state_draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
561 <filter string="Open" name="state_open" domain="[('state','=','open')]" icon="terp-check"/>
562 <filter string="Confirmed" name="state_confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
563 <field name="journal_id" domain="[('type', '=', 'cash')]" />
564 <group expand="0" string="Group By...">
565 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
566 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
567 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
573 <record id="view_bank_statement_tree" model="ir.ui.view">
574 <field name="name">account.bank.statement.tree</field>
575 <field name="model">account.bank.statement</field>
576 <field name="arch" type="xml">
577 <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">
580 <field name="period_id"/>
581 <field name="journal_id"/>
582 <field name="balance_start"/>
583 <field name="balance_end_real"/>
584 <field name="balance_end" invisible="1"/>
585 <field name="state"/>
589 <record id="view_bank_statement_search" model="ir.ui.view">
590 <field name="name">account.bank.statement.search</field>
591 <field name="model">account.bank.statement</field>
592 <field name="arch" type="xml">
593 <search string="Search Bank Statements">
594 <field name="name" string="Bank Statement"/>
596 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
597 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
598 <field name="period_id"/>
599 <field name="journal_id" domain="[('type', '=', 'bank')]" />
600 <group expand="0" string="Group By...">
601 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
602 <filter string="Status" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
603 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
608 <record id="view_bank_statement_form" model="ir.ui.view">
609 <field name="name">account.bank.statement.form</field>
610 <field name="model">account.bank.statement</field>
611 <field name="arch" type="xml">
612 <form string="Bank Statement" version="7.0">
614 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" class="oe_highlight"/>
615 <button name="button_dummy" states="draft" string="Compute" type="object" class="oe_highlight"/>
616 <button name="button_cancel" states="confirm" string="Cancel" type="object"/>
617 <field name="state" widget="statusbar" statusbar_visible="draft,confirm"/>
620 <div class="oe_right oe_button_box" name="import_buttons">
621 <!-- Put here related buttons -->
623 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
625 <field name="name" attrs="{'invisible':[('name','=','/')]}"/>
629 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
630 <label for="date" string="Date / Period"/>
632 <field name="date" on_change="onchange_date(date, company_id)" class="oe_inline"/>
633 <field name="period_id" class="oe_inline"/>
635 <field name='company_id' widget="selection" groups="base.group_multi_company" />
636 <field name="currency" invisible="1"/>
638 <field name="balance_start" widget="monetary" options='{"currency_field" : "currency"}'/>
639 <field name="balance_end_real" widget="monetary" options='{"currency_field" : "currency"}'/>
644 <page string="Transactions" name="statement_line_ids">
645 <field name="line_ids" context="{'date':date}">
646 <tree editable="bottom" string="Statement lines">
647 <field name="sequence" readonly="1" invisible="1"/>
651 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
652 <field name="type" on_change="onchange_type(partner_id, type)"/>
653 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
654 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
655 <field name="amount"/>
657 <form string="Statement lines" version="7.0">
662 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
663 <field name="type" on_change="onchange_type(partner_id, type)"/>
664 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
665 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
666 <field name="amount"/>
667 <field name="sequence" readonly="0"/>
669 <separator string="Notes"/>
674 <page string="Journal Entries" name="move_live_ids">
675 <field name="move_line_ids"/>
684 <record id="action_bank_statement_tree" model="ir.actions.act_window">
685 <field name="name">Bank Statements</field>
686 <field name="res_model">account.bank.statement</field>
687 <field name="view_type">form</field>
688 <field name="view_mode">tree,form,graph</field>
689 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
690 <field name="context">{'journal_type':'bank'}</field>
691 <field name="search_view_id" ref="view_bank_statement_search"/>
692 <field name="help" type="html">
693 <p class="oe_view_nocontent_create">
694 Click to register a bank statement.
696 A bank statement is a summary of all financial transactions
697 occurring over a given period of time on a bank account. You
698 should receive this periodicaly from your bank.
700 OpenERP allows you to reconcile a statement line directly with
701 the related sale or puchase invoices.
705 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
706 <field name="sequence" eval="1"/>
707 <field name="view_mode">tree</field>
708 <field name="view_id" ref="view_bank_statement_tree"/>
709 <field name="act_window_id" ref="action_bank_statement_tree"/>
711 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
712 <field name="sequence" eval="1"/>
713 <field name="view_mode">form</field>
714 <field name="view_id" ref="view_bank_statement_form"/>
715 <field name="act_window_id" ref="action_bank_statement_tree"/>
718 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
720 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
721 <field name="name">Draft statements</field>
722 <field name="res_model">account.bank.statement</field>
723 <field name="view_type">form</field>
724 <field name="view_mode">tree,form</field>
725 <field name="domain">[('state','=','draft')]</field>
726 <field name="filter" eval="True"/>
732 <record id="view_account_type_search" model="ir.ui.view">
733 <field name="name">account.account.type.search</field>
734 <field name="model">account.account.type</field>
735 <field name="arch" type="xml">
736 <search string="Account Type">
737 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Type"/>
742 <record id="view_account_type_tree" model="ir.ui.view">
743 <field name="name">account.account.type.tree</field>
744 <field name="model">account.account.type</field>
745 <field name="arch" type="xml">
746 <tree string="Account Type">
753 <record id="view_account_type_form" model="ir.ui.view">
754 <field name="name">account.account.type.form</field>
755 <field name="model">account.account.type</field>
756 <field name="arch" type="xml">
757 <form string="Account Type" version="7.0">
764 <field name="report_type"/>
765 <field name="close_method"/>
768 <separator string="Description"/>
773 <record id="action_account_type_form" model="ir.actions.act_window">
774 <field name="name">Account Types</field>
775 <field name="res_model">account.account.type</field>
776 <field name="view_type">form</field>
777 <field name="view_mode">tree,form</field>
778 <field name="search_view_id" ref="view_account_type_search"/>
779 <field name="help" type="html">
780 <p class="oe_view_nocontent_create">
781 Click to define a new account type.
783 An account type is used to determine how an account is used in
784 each journal. The deferral method of an account type determines
785 the process for the annual closing. Reports such as the Balance
786 Sheet and the Profit and Loss report use the category
787 (profit/loss or balance sheet).
791 <menuitem action="action_account_type_form" sequence="20" id="menu_action_account_type_form" parent="account_account_menu" groups="base.group_no_one"/>
795 <record id="view_account_move_tree" model="ir.ui.view">
796 <field name="name">account.move.tree</field>
797 <field name="model">account.move</field>
798 <field name="arch" type="xml">
799 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
803 <field name="period_id"/>
804 <field name="journal_id"/>
805 <field name="partner_id"/>
806 <field name="amount" sum="Total Amount"/>
807 <field name="state"/>
816 <record id="view_move_reconcile_form" model="ir.ui.view">
817 <field name="name">account.move.reconcile.form</field>
818 <field name="model">account.move.reconcile</field>
819 <field name="arch" type="xml">
820 <form string="Journal Entry Reconcile" version="7.0">
823 <field name="create_date"/>
826 <separator string="Reconcile Entries"/>
827 <field name="line_id"/>
828 <separator string="Partial Reconcile Entries"/>
829 <field name="line_partial_ids"/>
837 <record id="view_tax_code_search" model="ir.ui.view">
838 <field name="name">account.tax.code.search</field>
839 <field name="model">account.tax.code</field>
840 <field name="arch" type="xml">
841 <search string="Account Tax Code">
842 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Code"/>
843 <field name="parent_id"/>
844 <field name="company_id" groups="base.group_multi_company"/>
848 <record id="view_tax_code_tree" model="ir.ui.view">
849 <field name="name">account.tax.code.tree</field>
850 <field name="model">account.tax.code</field>
851 <field name="field_parent">child_ids</field>
852 <field name="priority">100</field>
853 <field name="arch" type="xml">
854 <tree string="Account Tax Code" toolbar="1">
857 <field name="sum_period"/>
859 <field name="company_id" groups="base.group_multi_company"/>
863 <record id="view_tax_code_form" model="ir.ui.view">
864 <field name="name">account.tax.code.form</field>
865 <field name="model">account.tax.code</field>
866 <field name="arch" type="xml">
867 <form string="Account Tax Code" version="7.0">
869 <group col="4" colspan="2">
872 <field name="parent_id"/>
873 <field name="company_id" groups="base.group_multi_company"/>
875 <group string="Reporting Configuration">
876 <field name="notprintable"/>
879 <group string="Statistics">
880 <field name="sum_period"/>
884 <separator string="Description"/>
889 <record id="action_tax_code_list" model="ir.actions.act_window">
890 <field name="name">Tax codes</field>
891 <field name="res_model">account.tax.code</field>
892 <field name="view_type">form</field>
893 <field name="view_mode">tree,form</field>
894 <field name="view_id" ref="view_tax_code_tree"/>
895 <field name="search_view_id" ref="view_tax_code_search"/>
896 <field name="help" type="html">
897 <p class="oe_view_nocontent_create">
898 Click to define a new tax code.
900 Depending on the country, a tax code is usually a cell to fill
901 in your legal tax statement. OpenERP allows you to define the
902 tax structure and each tax computation will be registered in
903 one or several tax code.
907 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_configuration" sequence="20"/>
908 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="next_id_27" sequence="12" groups="base.group_no_one"/>
914 <record id="view_tax_tree" model="ir.ui.view">
915 <field name="name">account.tax.tree</field>
916 <field name="model">account.tax</field>
917 <field name="field_parent">child_ids</field>
918 <field name="arch" type="xml">
919 <tree string="Account Tax">
921 <field name="price_include"/>
922 <field name="description"/>
923 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
927 <record id="view_account_tax_search" model="ir.ui.view">
928 <field name="name">account.tax.search</field>
929 <field name="model">account.tax</field>
930 <field name="arch" type="xml">
931 <search string="Search Taxes">
932 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax"/>
933 <field name="company_id" groups="base.group_multi_company"/>
937 <record id="view_tax_form" model="ir.ui.view">
938 <field name="name">account.tax.form</field>
939 <field name="model">account.tax</field>
940 <field name="arch" type="xml">
941 <form string="Account Tax" version="7.0">
945 <field name="description"/>
948 <field name="type_tax_use"/>
949 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
950 <field name="active"/>
954 <page string="Tax Definition">
956 <group string="Tax Computation">
960 <field name="amount" class="oe_inline"
961 attrs="{'invisible':[('type','in',('none', 'code', 'balance'))]}"/>
962 <label string="%%" attrs="{'invisible':[('type','<>','percent')]}"/>
964 <field name="python_compute" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
965 <field name="python_compute_inv" attrs="{'invisible':[('type','!=','code')],'required':[('type','=','code')]}"/>
966 <field name="price_include"/>
968 <group string="Misc">
969 <field name="sequence"/>
970 <field name="include_base_amount"/>
971 <field name="child_depend"/>
973 <group string="Invoices">
974 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
975 <field name="account_analytic_collected_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
977 <field name="base_code_id"/>
978 <field name="base_sign"/>
979 <field name="tax_code_id"/>
980 <field name="tax_sign"/>
983 <group string="Refunds">
984 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
985 <field name="account_analytic_paid_id" domain="[('type','<>','view'), ('company_id', '=', company_id), ('parent_id', '<>', False)]" groups="analytic.group_analytic_accounting"/>
987 <field name="ref_base_code_id"/>
988 <field name="ref_base_sign"/>
989 <field name="ref_tax_code_id"/>
990 <field name="ref_tax_sign"/>
992 <group string="Children/Sub Taxes" colspan="2">
993 <field name="child_depend" class="oe_inline"/>
994 <field name="child_ids" nolabel="1" colspan="2">
995 <tree string="Account Tax">
996 <field name="sequence"/>
998 <field name="price_include"/>
999 <field name="description"/>
1005 <page string="Special Computation">
1007 <separator colspan="4" string="Applicability Options"/>
1008 <field name="applicable_type"/>
1009 <field name="domain"/>
1010 <separator colspan="4" string="Applicable Code (if type=code)"/>
1011 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
1018 <record id="action_tax_form" model="ir.actions.act_window">
1019 <field name="name">Taxes</field>
1020 <field name="res_model">account.tax</field>
1021 <field name="view_type">form</field>
1022 <field name="view_id" ref="view_tax_tree"/>
1023 <field name="domain">[('parent_id','=',False)]</field>
1025 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
1027 <record id="action_tax_code_tree" model="ir.actions.act_window">
1028 <field name="name">Chart of Taxes</field>
1029 <field name="res_model">account.tax.code</field>
1030 <field name="domain">[('parent_id','=',False)]</field>
1031 <field name="view_type">tree</field>
1032 <field name="view_id" ref="view_tax_code_tree"/>
1039 <record id="view_move_line_tree_reconcile" model="ir.ui.view">
1040 <field name="model">account.move.line</field>
1041 <field eval="24" name="priority"/>
1042 <field name="arch" type="xml">
1043 <tree_account_reconciliation colors="red:state == 'draft';black:state == 'valid'" string="Journal Items to Reconcile" create="false" version="7.0">
1044 <field name="date"/>
1045 <field name="move_id"/>
1047 <field name="name"/>
1048 <field name="partner_id"/>
1049 <field name="account_id"/>
1050 <field name="reconcile_partial_id"/>
1051 <field name="state" invisible="1"/>
1052 <field name="debit" sum="Total debit"/>
1053 <field name="credit" sum="Total credit"/>
1054 </tree_account_reconciliation>
1058 <record id="view_move_line_quickadd_tree" model="ir.ui.view">
1059 <field name="model">account.move.line</field>
1060 <field eval="24" name="priority"/>
1061 <field name="arch" type="xml">
1062 <tree_account_move_line_quickadd colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" version="7.0" editable="top">
1063 <field name="date"/>
1064 <field name="move_id" required="0"/>
1066 <field name="invoice"/>
1067 <field name="name"/>
1068 <field name="partner_id"/>
1069 <field name="account_id"/>
1070 <field name="reconcile_partial_id"/>
1071 <field name="debit" sum="Total debit"/>
1072 <field name="credit" sum="Total credit"/>
1073 <field name="account_tax_id"/>
1074 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
1075 <field name="state" invisible="1"/>
1076 <field name="amount_currency" attrs="{'readonly':[('state','=','valid')]}"/>
1077 <field name="currency_id" attrs="{'readonly':[('state','=','valid')]}" groups="base.group_multi_currency"/>
1078 </tree_account_move_line_quickadd>
1082 <record id="view_move_line_tree" model="ir.ui.view">
1083 <field name="name">account.move.line.tree</field>
1084 <field name="model">account.move.line</field>
1085 <field eval="4" name="priority"/>
1086 <field name="arch" type="xml">
1087 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" editable="top" on_write="on_create_write">
1088 <field name="date"/>
1089 <field name="period_id"/>
1090 <field name="move_id"/>
1092 <field name="invoice"/>
1093 <field name="name"/>
1094 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
1095 <field name="account_id" domain="[('journal_id','=',journal_id), ('company_id', '=', company_id)]"/>
1096 <field name="journal_id"/>
1097 <field name="debit" sum="Total debit"/>
1098 <field name="credit" sum="Total credit"/>
1099 <field name="account_tax_id"/>
1100 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
1101 <field name="amount_currency" attrs="{'readonly':[('state','=','valid')]}"/>
1102 <field name="currency_id" attrs="{'readonly':[('state','=','valid')]}" groups="base.group_multi_currency"/>
1103 <field name="reconcile_partial_id"/>
1104 <field name="reconcile_id"/>
1105 <field name="state" invisible="1"/>
1110 <record id="view_move_line_form" model="ir.ui.view">
1111 <field name="name">account.move.line.form</field>
1112 <field name="model">account.move.line</field>
1113 <field eval="2" name="priority"/>
1114 <field name="arch" type="xml">
1115 <form string="Journal Item" version="7.0">
1119 <field name="name"/>
1121 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1124 <field name="journal_id"/>
1125 <field name="period_id"/>
1126 <field name="company_id" required="1" groups="base.group_multi_company"/>
1129 <notebook colspan="4">
1130 <page string="Information">
1132 <group string="Amount">
1133 <field name="account_id" domain="[('company_id', '=', company_id), ('type','<>','view'), ('type','<>','consolidation')]"/>
1134 <field name="debit"/>
1135 <field name="credit"/>
1136 <field name="quantity"/>
1138 <group string="Accounting Documents">
1139 <field name="invoice" readonly="True"/>
1140 <field name="move_id" required="False"/>
1141 <field name="statement_id" readonly="True"/>
1143 <group string="Dates">
1144 <field name="date"/>
1145 <field name="date_maturity"/>
1146 <field name="date_created" readonly="True"/>
1148 <group string="Taxes">
1149 <field name="tax_code_id"/>
1150 <field name="tax_amount"/>
1151 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1153 <group attrs="{'readonly':[('state','=','valid')]}" string="Currency" groups="base.group_multi_currency">
1154 <field name="currency_id" invisible="1"/>
1155 <field name="amount_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1157 <group string="Reconciliation">
1158 <field name="reconcile_id"/>
1159 <field name="reconcile_partial_id"/>
1161 <group string="States">
1162 <field name="state"/>
1163 <field name="blocked"/>
1165 <group groups="analytic.group_analytic_accounting" string="Analytic">
1166 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1169 <field name="narration" colspan="4" nolabel="1" placeholder="Add an internal note..."/>
1171 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1172 <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)}"/>
1180 <record id="view_move_line_form2" model="ir.ui.view">
1181 <field name="name">account.move.line.form2</field>
1182 <field name="model">account.move.line</field>
1183 <field eval="9" name="priority"/>
1184 <field name="arch" type="xml">
1185 <form string="Journal Item" version="7.0">
1186 <notebook colspan="4">
1187 <page string="Information">
1189 <separator colspan="4" string="General Information"/>
1190 <field name="name"/>
1191 <field name="date"/>
1192 <field name="journal_id" readonly="False"/>
1193 <field name="period_id" readonly="False"/>
1194 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'),('company_id', '=', company_id)]"/>
1195 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1197 <field name="debit"/>
1198 <field name="credit"/>
1200 <separator colspan="4" string="Optional Information"/>
1201 <field name="currency_id" invisible="1"/>
1202 <field name="amount_currency" groups="base.group_multi_currency" widget="monetary" options="{'currency_field': 'currency_id'}"/>
1203 <field name="quantity"/>
1204 <field name="move_id" required="False"/>
1206 <field name="date_maturity"/>
1207 <field name="date_created"/>
1208 <field name="date_created"/>
1209 <field name="blocked"/>
1211 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1212 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1213 <separator colspan="4" string="Status"/>
1215 <field name="reconcile_id"/>
1216 <field name="reconcile_partial_id"/>
1217 <field name="state"/>
1220 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1221 <field name="analytic_lines"/>
1228 <record id="account_move_line_graph" model="ir.ui.view">
1229 <field name="name">account.move.line.graph</field>
1230 <field name="model">account.move.line</field>
1231 <field name="arch" type="xml">
1232 <graph string="Account Statistics" type="bar">
1233 <field name="account_id"/>
1234 <field name="debit" operator="+"/>
1235 <field name="credit" operator="+"/>
1240 <record id="view_account_move_line_filter" model="ir.ui.view">
1241 <field name="name">Journal Items</field>
1242 <field name="model">account.move.line</field>
1243 <field name="arch" type="xml">
1244 <search string="Search Journal Items">
1245 <field name="date"/>
1246 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1248 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1249 <filter name="posted" icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1251 <filter icon="terp-dolar_ok!" string="Unreconciled" domain="[('reconcile_id','=',False), ('account_id.reconcile','=',True)]" help="Unreconciled Journal Items" name="unreconciled"/>
1253 <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)]"/>
1254 <field name="move_id" string="Number (Move)"/>
1255 <field name="account_id"/>
1256 <field name="partner_id"/>
1257 <field name="journal_id" context="{'journal_id':self}" widget="selection"/> <!-- it's important to keep widget='selection' in this filter viewbecause without that the value passed in the context is not the ID but the textual value (name) of the selected journal -->
1258 <field name="period_id" context="{'period_id':self}" widget="selection"/> <!-- it's important to keep the widget='selection' in this field, for the same reason as explained above -->
1259 <group expand="0" string="Group By...">
1260 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1261 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1262 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1263 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1269 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1270 <field name="name">Journal Items</field>
1271 <field name="res_model">account.move.line</field>
1272 <field name="view_type">form</field>
1273 <field name="view_mode">tree,form</field>
1274 <field name="context">{}</field>
1275 <field name="search_view_id" ref="view_account_move_line_filter"/>
1276 <field name="help" type="html">
1277 <p class="oe_view_nocontent_create">
1278 Click to register a new journal item.
1280 This view can be used by accountants in order to quickly record
1281 entries in OpenERP. If you want to record a supplier invoice,
1282 start by recording the line of the expense account. OpenERP
1283 will propose to you automatically the Tax related to this
1284 account and the counterpart "Account Payable".
1290 action="action_account_moves_all_a"
1291 icon="STOCK_JUSTIFY_FILL"
1292 id="menu_action_account_moves_all"
1293 parent="account.menu_finance_entries"
1295 groups="group_account_user"
1298 <record id="action_view_move_line" model="ir.actions.act_window">
1299 <field name="name">Lines to reconcile</field>
1300 <field name="res_model">account.move.line</field>
1301 <field name="view_type">form</field>
1302 <field name="view_mode">tree,form</field>
1303 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1304 <field eval="False" name="view_id"/>
1305 <field eval="True" name="filter"/>
1306 <field name="search_view_id" ref="view_account_move_line_filter"/>
1309 <record id="action_move_line_select" model="ir.actions.act_window">
1310 <field name="name">Journal Items</field>
1311 <field name="res_model">account.move.line</field>
1312 <field name="view_type">form</field>
1313 <field name="view_mode">tree,form</field>
1314 <field name="view_id" ref="view_move_line_tree"/>
1315 <field name="search_view_id" ref="view_account_move_line_filter"/>
1316 <field name="context">{'search_default_account_id': [active_id]}</field>
1319 <record id="ir_account_move_line_select" model="ir.values">
1320 <field name="key2">tree_but_open</field>
1321 <field name="model">account.account</field>
1322 <field name="name">Open Journal Items</field>
1323 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1326 Account.Entry Edition
1329 <record id="view_move_tree" model="ir.ui.view">
1330 <field name="name">account.move.tree</field>
1331 <field name="model">account.move</field>
1332 <field name="arch" type="xml">
1333 <tree colors="blue:state == 'draft';black:state == 'posted'" string="Journal Entries">
1334 <field name="name"/>
1336 <field name="date"/>
1337 <field name="period_id"/>
1338 <field name="journal_id"/>
1339 <field name="partner_id"/>
1340 <field name="amount" sum="Total Amount"/>
1341 <field name="to_check"/>
1342 <field name="state"/>
1346 <record id="view_move_form" model="ir.ui.view">
1347 <field name="name">account.move.form</field>
1348 <field name="model">account.move</field>
1349 <field name="arch" type="xml">
1350 <form string="Account Entry" version="7.0">
1352 <button name="button_validate" states="draft" string="Post" type="object" class="oe_highlight" groups="account.group_account_invoice"/>
1353 <button name="button_cancel" states="posted" string="Cancel" type="object" groups="account.group_account_invoice"/>
1354 <field name="state" widget="statusbar"/>
1356 <sheet string="Journal Entries" >
1357 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
1359 <field name="name" readonly="True" attrs="{'invisible':[('name','=','/')]}"/>
1363 <field name="journal_id"/>
1364 <field name="period_id"/>
1365 <field name="company_id" required="1" groups="base.group_multi_company"/>
1366 <field name="partner_id" invisible="1"/>
1370 <field name="date"/>
1371 <field name="to_check"/>
1372 <field name="amount" invisible="1"/>
1376 <page string="Journal Items">
1377 <field name="balance" invisible="1"/>
1378 <field name="line_id" widget="one2many_list"
1379 on_change="onchange_line_id(line_id)"
1380 context="{'balance': balance , 'journal': journal_id }">
1381 <form string="Journal Item" version="7.0">
1382 <group col="6" colspan="4">
1383 <field name="name"/>
1385 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1387 <field name="journal_id"/>
1388 <field name="period_id"/>
1389 <field name="company_id" required="1" groups="base.group_multi_company"/>
1391 <notebook colspan="4">
1392 <page string="Information">
1394 <group string="Amount">
1395 <field name="account_id" domain="[('company_id', '=', parent.company_id), ('type','<>','view'),('type','<>','consolidation')]"/>
1396 <field name="debit"/>
1397 <field name="credit"/>
1398 <field name="quantity"/>
1401 <group string="Accounting Documents">
1402 <field name="invoice"/>
1403 <field name="move_id" required="False"/>
1404 <field name="statement_id"/>
1407 <group string="Dates">
1408 <field name="date"/>
1409 <field name="date_maturity"/>
1410 <field name="date_created"/>
1413 <group string="Taxes">
1414 <field name="tax_code_id"/>
1415 <field name="tax_amount"/>
1416 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1419 <group string="Currency" groups="base.group_multi_currency">
1420 <field name="currency_id"/>
1421 <field name="amount_currency"/>
1424 <group string="Reconciliation">
1425 <field name="reconcile_id"/>
1426 <field name="reconcile_partial_id"/>
1429 <group string="States">
1430 <field name="state"/>
1431 <field name="blocked"/>
1434 <group groups="analytic.group_analytic_accounting" string="Analytic">
1435 <field name="analytic_account_id" domain="[('parent_id','!=',False)]"/>
1438 <separator string="Internal Note"/>
1439 <field name="narration"/>
1441 <page string="Analytic Lines" groups="analytic.group_analytic_accounting">
1442 <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)}"/>
1446 <tree colors="blue:state == 'draft';black:state == 'posted'" editable="top" string="Journal Items">
1448 <field name="invoice"/>
1449 <field name="name"/>
1450 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1451 <field name="account_id" domain="[('journal_id','=',parent.journal_id),('company_id', '=', parent.company_id)]"/>
1452 <field name="date_maturity"/>
1453 <field name="debit" sum="Total Debit"/>
1454 <field name="credit" sum="Total Credit"/>
1455 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1456 <field name="amount_currency"/>
1457 <field name="currency_id" groups="base.group_multi_currency"/>
1458 <field name="tax_code_id"/>
1459 <field name="tax_amount"/>
1460 <field name="state"/>
1461 <field name="reconcile_id"/>
1462 <field name="reconcile_partial_id"/>
1465 <field name="narration" colspan="4" placeholder="Add an internal note..." nolabel="1" height="50"/>
1473 <record id="view_account_move_filter" model="ir.ui.view">
1474 <field name="name">account.move.select</field>
1475 <field name="model">account.move</field>
1476 <field name="arch" type="xml">
1477 <search string="Search Move">
1478 <field name="name" filter_domain="['|', ('name','ilike',self), ('ref','ilike',self)]" string="Move"/>
1479 <field name="date"/>
1480 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1481 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1483 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" help="Journal Entries to Review"/>
1484 <field name="partner_id"/>
1485 <field name="journal_id"/>
1486 <field name="period_id"/>
1487 <group expand="0" string="Group By...">
1488 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1489 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1490 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1491 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1492 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1498 <record id="action_move_journal_line" model="ir.actions.act_window">
1499 <field name="name">Journal Entries</field>
1500 <field name="res_model">account.move</field>
1501 <field name="view_type">form</field>
1502 <field name="view_mode">tree,form</field>
1503 <field name="view_id" ref="view_move_tree"/>
1504 <field name="search_view_id" ref="view_account_move_filter"/>
1505 <field name="help" type="html">
1506 <p class="oe_view_nocontent_create">
1507 Click to create a journal entry.
1509 A journal entry consists of several journal items, each of
1510 which is either a debit or a credit transaction.
1512 OpenERP automatically creates one journal entry per accounting
1513 document: invoice, refund, supplier payment, bank statements,
1514 etc. So, you should record journal entries manually only/mainly
1515 for miscellaneous operations.
1521 icon="STOCK_JUSTIFY_FILL"
1522 action="action_move_journal_line"
1523 id="menu_action_move_journal_line_form"
1524 parent="account.menu_finance_entries"
1525 groups="group_account_user"
1528 <record id="action_move_line_form" model="ir.actions.act_window">
1529 <field name="name">Entries</field>
1530 <field name="type">ir.actions.act_window</field>
1531 <field name="res_model">account.move</field>
1532 <field name="view_type">form</field>
1533 <field name="view_id" ref="view_move_tree"/>
1534 <field name="search_view_id" ref="view_account_move_filter"/>
1538 id="act_account_move_to_account_move_line_open"
1539 name="Journal Items"
1540 context="{'search_default_move_id':[active_id], 'default_move_id': active_id}"
1541 res_model="account.move.line"
1542 src_model="account.move"/>
1544 <record id="action_move_line_search" model="ir.actions.act_window">
1545 <field name="name">Journal Items</field>
1546 <field name="res_model">account.move.line</field>
1547 <field name="view_type">form</field>
1548 <field name="view_mode">tree,form</field>
1549 <field name="view_id" ref="view_move_line_tree"/>
1550 <field name="search_view_id" ref="view_account_move_line_filter"/>
1552 <record id="action_move_line_search_view1" model="ir.actions.act_window.view">
1553 <field eval="10" name="sequence"/>
1554 <field name="view_mode">tree</field>
1555 <field name="view_id" ref="view_move_line_tree"/>
1556 <field name="act_window_id" ref="action_move_line_search"/>
1558 <record id="action_move_line_search_view2" model="ir.actions.act_window.view">
1559 <field eval="11" name="sequence"/>
1560 <field name="view_mode">form</field>
1561 <field name="act_window_id" ref="action_move_line_search"/>
1564 <record id="action_account_manual_reconcile" model="ir.actions.act_window">
1565 <field name="context">{'search_default_unreconciled': 1,'view_mode':True}</field>
1566 <field name="name">Journal Items to Reconcile</field>
1567 <field name="res_model">account.move.line</field>
1568 <field name="view_id" ref="view_move_line_tree_reconcile"/>
1569 <field name="view_mode">tree_account_reconciliation</field>
1570 <field name="help" type="html">
1572 No journal items found.
1577 <record id="action_account_manual_account_move_line_quickadd" model="ir.actions.act_window">
1578 <field name="context">{'view_mode':True,'journal_type':'bank'}</field>
1579 <field name="name">Quick Journal Items</field>
1580 <field name="res_model">account.move.line</field>
1581 <field name="view_id" ref="view_move_line_quickadd_tree"/>
1582 <field name="view_mode">tree_account_move_line_quickadd</field>
1583 <field name="help" type="html">
1584 <p class="oe_view_nocontent_create">
1585 Click to register a new journal item.
1587 This view can be used by accountants in order to quickly record
1588 entries in OpenERP. If you want to record a supplier invoice,
1589 start by recording the line of the expense account. OpenERP
1590 will propose to you automatically the Tax related to this
1591 account and the counterpart "Account Payable".
1597 name="Quick Journal Items"
1598 action="action_account_manual_account_move_line_quickadd"
1599 id="menu_manual_account_move_line_quickadd"
1601 parent="account.menu_finance_entries"/>
1604 name="Journal Items to Reconcile"
1605 action="action_account_manual_reconcile"
1606 id="menu_manual_reconcile_bank"
1608 parent="account.menu_finance_bank_and_cash"/>
1611 name="Manual Reconciliation"
1612 action="action_account_manual_reconcile"
1613 id="menu_manual_reconcile"
1614 parent="account.periodical_processing_reconciliation"/>
1618 id="act_account_acount_move_line_open"
1620 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0, 'default_account_id': active_id}"
1621 res_model="account.move.line"
1622 src_model="account.account"/>
1625 id="act_account_acount_move_line_open_unreconciled"
1626 name="Unreconciled Entries"
1627 res_model="account.move.line"
1628 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1, 'default_account_id': active_id}"
1629 src_model="account.account"/>
1632 domain="[('reconcile_id', '=', active_id)]"
1633 id="act_account_acount_move_line_reconcile_open"
1634 name="Reconciled entries"
1635 res_model="account.move.line"
1636 src_model="account.move.reconcile"/>
1641 Print Journal (and change state)
1642 Close Journal (and verify that there is no draft Entry Lines)
1645 <record id="view_journal_period_tree" model="ir.ui.view">
1646 <field name="name">account.journal.period.tree</field>
1647 <field name="model">account.journal.period</field>
1648 <field name="arch" type="xml">
1649 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'printed'" string="Journals">
1650 <field icon="icon" name="fiscalyear_id"/>
1651 <field name="period_id"/>
1652 <field name="journal_id"/>
1653 <field name="state"/>
1654 <field name="company_id" groups="base.group_multi_company"/>
1658 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1659 <field name="name">Journals</field>
1660 <field name="res_model">account.journal.period</field>
1661 <field name="view_type">tree</field>
1668 <record id="view_model_line_tree" model="ir.ui.view">
1669 <field name="name">account.model.line.tree</field>
1670 <field name="model">account.model.line</field>
1671 <field name="arch" type="xml">
1672 <tree string="Journal Entry Model Line" editable="bottom">
1673 <field name="sequence"/>
1674 <field name="name"/>
1675 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1676 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1677 <field name="partner_id"/>
1678 <field name="debit"/>
1679 <field name="credit"/>
1680 <field name="date_maturity"/>
1686 <record id="view_model_line_form" model="ir.ui.view">
1687 <field name="name">account.model.line.form</field>
1688 <field name="model">account.model.line</field>
1689 <field name="arch" type="xml">
1690 <form string="Journal Entry Model Line" version="7.0">
1692 <field colspan="4" name="name"/>
1693 <field name="sequence"/>
1694 <field name="account_id" domain="[('type','<>','view'), ('type','<>','consolidation'), ('company_id', '=', parent.company_id)]"/>
1695 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1696 <field name="partner_id"/>
1697 <field name="debit"/>
1698 <field name="credit"/>
1699 <field name="quantity"/>
1700 <field name="date_maturity"/>
1706 <record id="view_model_form" model="ir.ui.view">
1707 <field name="name">account.model.form</field>
1708 <field name="model">account.model</field>
1709 <field name="arch" type="xml">
1710 <form string="Journal Entry Model" version="7.0">
1712 <field name="name"/>
1713 <field name="journal_id" on_change="onchange_journal_id(journal_id)"/>
1714 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1717 <field name="lines_id" widget="one2many_list"/>
1718 <separator string="Legend"/>
1719 <field name="legend"/>
1720 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1725 <record id="view_model_tree" model="ir.ui.view">
1726 <field name="name">account.model.tree</field>
1727 <field name="model">account.model</field>
1728 <field name="arch" type="xml">
1729 <tree string="Journal Entry Model">
1730 <field name="name"/>
1731 <field name="journal_id"/>
1732 <field name="company_id" groups="base.group_multi_company"/>
1737 <record id="view_model_search" model="ir.ui.view">
1738 <field name="name">account.model.search</field>
1739 <field name="model">account.model</field>
1740 <field name="arch" type="xml">
1741 <search string="Journal Entry Model">
1742 <field name="name" string="Journal Entry Model"/>
1743 <filter string="Sale" icon="terp-camera_test" domain="[('journal_id.type', '=', 'sale')]"/>
1744 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1745 <field name="journal_id"/>
1746 <field name="company_id" groups="base.group_multi_company"/>
1747 <group expand="0" string="Group By...">
1748 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1754 <record id="action_model_form" model="ir.actions.act_window">
1755 <field name="name">Recurring Models</field>
1756 <field name="res_model">account.model</field>
1757 <field name="view_type">form</field>
1758 <field name="view_mode">tree,form</field>
1759 <field name="search_view_id" ref="view_model_search"/>
1762 action="action_model_form" id="menu_action_model_form" sequence="5"
1763 parent="account.menu_configuration_misc"/>
1769 <record id="view_payment_term_line_tree" model="ir.ui.view">
1770 <field name="name">account.payment.term.line.tree</field>
1771 <field name="model">account.payment.term.line</field>
1772 <field name="arch" type="xml">
1773 <tree string="Payment Term">
1774 <field name="sequence"/>
1775 <field name="name"/>
1776 <field name="value"/>
1777 <field name="value_amount"/>
1778 <field name="days"/>
1779 <field name="days2"/>
1785 <record id="view_payment_term_line_form" model="ir.ui.view">
1786 <field name="name">account.payment.term.line.form</field>
1787 <field name="model">account.payment.term.line</field>
1788 <field name="arch" type="xml">
1789 <form string="Payment Term" version="7.0">
1791 <field name="name"/>
1792 <field name="sequence"/>
1795 <group string="Amount Computation">
1796 <field name="value"/>
1797 <field name="value_amount" attrs="{'readonly':[('value','=','balance')]}"/>
1799 <group string="Due Date Computation">
1800 <field name="days"/>
1801 <field name="days2"/>
1805 <separator string="Example"/>
1806 <label string="At 14 net days 2 percent, remaining amount at 30 days end of month."/>
1808 <label string="Line 1:" colspan="2"/>
1809 <label string=" Valuation: Percent"/>
1810 <label string=" Number of Days: 14"/>
1811 <label string=" Value amount: 0.02"/>
1812 <label string=" Day of the Month: 0"/>
1815 <label string="Line 2:" colspan="2"/>
1816 <label string=" Valuation: Balance"/>
1817 <label string=" Number of Days: 30"/>
1818 <label string=" Value amount: n.a"/>
1819 <label string=" Day of the Month= -1"/>
1825 <record id="view_payment_term_search" model="ir.ui.view">
1826 <field name="name">account.payment.term.search</field>
1827 <field name="model">account.payment.term</field>
1828 <field name="arch" type="xml">
1829 <search string="Payment Term">
1830 <field name="name" string="Payment Term"/>
1831 <field name="active"/>
1836 <record id="view_payment_term_form" model="ir.ui.view">
1837 <field name="name">account.payment.term.form</field>
1838 <field name="model">account.payment.term</field>
1839 <field name="arch" type="xml">
1840 <form string="Payment Term" version="7.0">
1842 <field name="name"/>
1843 <field name="active"/>
1845 <field name="note" placeholder="Note for the invoice..."/>
1846 <separator string="Computation"/>
1847 <field name="line_ids"/>
1852 <record id="action_payment_term_form" model="ir.actions.act_window">
1853 <field name="name">Payment Terms</field>
1854 <field name="res_model">account.payment.term</field>
1855 <field name="view_type">form</field>
1856 <field name="view_mode">tree,form</field>
1857 <field name="search_view_id" ref="view_payment_term_search"/>
1859 <menuitem action="action_payment_term_form"
1860 id="menu_action_payment_term_form" parent="menu_configuration_misc"/>
1863 # Account Subscriptions
1866 <record id="view_subscription_line_form" model="ir.ui.view">
1867 <field name="name">account.subscription.line.form</field>
1868 <field name="model">account.subscription.line</field>
1869 <field name="arch" type="xml">
1870 <form string="Subscription lines" version="7.0">
1872 <field name="date"/>
1873 <field name="move_id"/>
1879 <record id="view_subscription_line_tree" model="ir.ui.view">
1880 <field name="name">account.subscription.line.tree</field>
1881 <field name="model">account.subscription.line</field>
1882 <field name="arch" type="xml">
1883 <tree string="Subscription lines">
1884 <field name="date"/>
1885 <field name="move_id"/>
1890 <record id="view_subscription_tree" model="ir.ui.view">
1891 <field name="name">account.subscription.tree</field>
1892 <field name="model">account.subscription</field>
1893 <field name="arch" type="xml">
1894 <tree colors="blue:state == 'draft';gray:state == 'done';black:state == 'running'" string="Entry Subscription">
1895 <field name="name"/>
1896 <field name="model_id"/>
1898 <field name="date_start"/>
1899 <field name="state"/>
1904 <record id="view_subscription_search" model="ir.ui.view">
1905 <field name="name">account.subscription.search</field>
1906 <field name="model">account.subscription</field>
1907 <field name="arch" type="xml">
1908 <search string="Entry Subscription">
1909 <field name="name" string="Account Subscription"/>
1910 <field name="date_start"/>
1911 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1912 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1913 <field name="model_id"/>
1914 <group expand="0" string="Group By...">
1915 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1916 <filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1922 <record id="view_subscription_form" model="ir.ui.view">
1923 <field name="name">account.subscription.form</field>
1924 <field name="model">account.subscription</field>
1925 <field name="arch" type="xml">
1926 <form string="Recurring" version="7.0">
1928 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1929 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific" class="oe_highlight"/>
1930 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove" class="oe_highlight"/>
1931 <field name="state" widget="statusbar" statusbar_visible="draft,running,done"/>
1936 <field name="name"/>
1937 <field name="model_id"/>
1941 <field name="date_start"/>
1942 <field name="period_type"/>
1943 <field name="period_nbr"/>
1944 <field name="period_total"/>
1947 <separator string="Subscription Lines"/>
1948 <field name="lines_id" widget="one2many_list"/>
1953 <record id="action_subscription_form" model="ir.actions.act_window">
1954 <field name="name">Recurring Lines</field>
1955 <field name="res_model">account.subscription</field>
1956 <field name="view_type">form</field>
1957 <field name="view_mode">tree,form</field>
1958 <field name="search_view_id" ref="view_subscription_search"/>
1959 <field name="help" type="html">
1960 <p class="oe_view_nocontent_create">
1961 Click to define a new recurring entry.
1963 A recurring entry occurs on a recurrent basis from a specific
1964 date, i.e. corresponding to the signature of a contract or an
1965 agreement with a customer or a supplier. You can create such
1966 entries to automate the postings in the system.
1971 name="Define Recurring Entries" action="action_subscription_form"
1972 id="menu_action_subscription_form" sequence="1"
1973 parent="account.menu_finance_recurrent_entries"/>
1975 <record id="action_subscription_form_running" model="ir.actions.act_window">
1976 <field name="name">Running Subscriptions</field>
1977 <field name="res_model">account.subscription</field>
1978 <field name="view_type">form</field>
1979 <field name="view_mode">tree,form</field>
1980 <field name="domain">[('state','=','running')]</field>
1981 <field name="filter" eval="True"/>
1984 <record id="action_subscription_form_new" model="ir.actions.act_window">
1985 <field name="name">New Subscription</field>
1986 <field name="res_model">account.subscription</field>
1987 <field name="view_type">form</field>
1988 <field name="view_mode">form,tree</field>
1989 <field name="view_id" ref="view_subscription_form"/>
1992 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1993 <field name="name">account.subscription.line.form</field>
1994 <field name="model">account.subscription.line</field>
1995 <field eval="20" name="priority"/>
1996 <field name="arch" type="xml">
1997 <form string="Subscription lines" version="7.0">
1999 <field name="subscription_id"/>
2000 <field name="date"/>
2001 <field name="move_id"/>
2007 <record id="action_move_line_tree1" model="ir.actions.act_window">
2008 <field name="name">Journal Items</field>
2009 <field name="res_model">account.move.line</field>
2010 <field name="view_type">form</field>
2011 <field name="view_mode">tree,form</field>
2012 <field name="domain">[('account_id','child_of', [active_id]),('state','<>','draft')]</field>
2013 <field name="context">{'account_id':active_id}</field>
2016 <record id="view_move_line_tax_tree" model="ir.ui.view">
2017 <field name="name">account.move.line.tax.tree</field>
2018 <field name="model">account.move.line</field>
2019 <field eval="4" name="priority"/>
2020 <field name="arch" type="xml">
2021 <tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items">
2022 <field name="date"/>
2023 <field name="move_id"/>
2024 <field name="statement_id" string="St."/>
2025 <field name="name"/>
2026 <field name="partner_id"/>
2027 <field name="account_id"/>
2028 <field name="tax_code_id"/>
2029 <field name="tax_amount"/>
2030 <field name="debit" sum="Total debit"/>
2031 <field name="credit" sum="Total credit"/>
2032 <field name="account_tax_id"/>
2033 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
2034 <field name="state" invisible="1"/>
2039 <record id="action_tax_code_line_open" model="ir.actions.act_window">
2040 <field name="name">Journal Items</field>
2041 <field name="res_model">account.move.line</field>
2042 <field name="view_type">form</field>
2043 <field name="view_mode">tree,form</field>
2044 <field name="view_id" ref="view_move_line_tax_tree"/>
2045 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
2047 <record id="ir_open_tax_move_line" model="ir.values">
2048 <field name="key2">tree_but_open</field>
2049 <field name="model">account.tax.code</field>
2050 <field name="name">Tax Details</field>
2051 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
2060 id="act_account_journal_2_account_bank_statement"
2061 name="Bank statements"
2062 context="{'search_default_journal_id': active_id, 'default_journal_id': active_id}"
2063 res_model="account.bank.statement"
2064 src_model="account.journal"/>
2067 id="act_account_journal_2_account_move_line"
2068 name="Journal Items"
2069 context="{'search_default_journal_id':active_id, 'default_journal_id': active_id}"
2070 res_model="account.move.line"
2071 src_model="account.journal"/>
2074 context="{'search_default_unreconciled':True, 'search_default_partner_id':[active_id], 'default_partner_id': active_id}"
2075 domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]"
2076 id="act_account_partner_account_move_all"
2077 name="Receivables & Payables"
2078 res_model="account.move.line"
2079 src_model="res.partner"/>
2081 <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"/>
2083 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
2084 <field name="name">Create Account</field>
2085 <field name="model">account.addtmpl.wizard</field>
2086 <field name="arch" type="xml">
2087 <form string="Create Account" version="7.0">
2089 <button icon="gtk-ok" name="action_create" string="Add" type="object" class="oe_highlight" />
2091 <separator col="4" colspan="4" string="Create an Account Based on this Template"/>
2092 <field name="cparent_id"/>
2097 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
2098 name="Create Account"
2100 res_model="account.addtmpl.wizard"
2101 context="{'tmpl_ids': active_id}"
2102 src_model="account.account.template"
2103 view_type="form" view_mode="form"/>
2105 <!-- Account Templates -->
2107 id="account_template_folder"
2109 parent="menu_finance_accounting"
2110 groups="account.group_account_manager"/>
2112 id="account_template_taxes"
2114 parent="account_template_folder"
2117 id="account_template_accounts"
2119 parent="account_template_folder"
2123 <record id="view_account_template_form" model="ir.ui.view">
2124 <field name="name">account.account.template.form</field>
2125 <field name="model">account.account.template</field>
2126 <field name="arch" type="xml">
2127 <form string="Account Template" version="7.0">
2129 <page string="General Information">
2131 <field name="name"/>
2132 <field name="code"/>
2134 <field name="parent_id"/>
2135 <field name="shortcut"/>
2136 <field name="type"/>
2137 <field name="user_type"/>
2139 <field name="currency_id" groups="base.group_multi_currency"/>
2140 <field name="reconcile"/>
2141 <field name="chart_template_id"/>
2143 <separator string="Default Taxes"/>
2144 <field name="tax_ids"/>
2146 <page string="Notes">
2147 <field name="note"/>
2154 <record id="view_account_template_tree" model="ir.ui.view">
2155 <field name="name">account.account.template.tree</field>
2156 <field name="model">account.account.template</field>
2157 <field name="arch" type="xml">
2158 <tree string="Account Template">
2159 <field name="code"/>
2160 <field name="name"/>
2161 <field name="type" invisible="1"/>
2162 <field name="user_type" invisible="1"/>
2167 <record id="view_account_template_search" model="ir.ui.view">
2168 <field name="name">account.account.template.search</field>
2169 <field name="model">account.account.template</field>
2170 <field name="arch" type="xml">
2171 <search string="Search Account Templates">
2172 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Account Template"/>
2173 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2174 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2175 <field name="parent_id"/>
2176 <field name="user_type"/>
2177 <field name="type"/>
2178 <group expand="0" string="Group By...">
2179 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2180 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2186 <record id="action_account_template_form" model="ir.actions.act_window">
2187 <field name="name">Account Templates</field>
2188 <field name="res_model">account.account.template</field>
2189 <field name="view_type">form</field>
2190 <field name="view_mode">tree,form</field>
2191 <field name="search_view_id" ref="view_account_template_search"/>
2194 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2196 <!-- Chart of Accounts Templates -->
2198 <record id="view_account_chart_template_form" model="ir.ui.view">
2199 <field name="name">account.chart.template.form</field>
2200 <field name="model">account.chart.template</field>
2201 <field name="arch" type="xml">
2202 <form string="Chart of Accounts Template" version="7.0">
2204 <field name="name"/>
2205 <field name="account_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2206 <field name="bank_account_view_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2207 <field name="tax_code_root_id" attrs="{'required': [('parent_id', '=', False)]}"/>
2208 <field name="parent_id" />
2209 <!--<field name="code_digits" />-->
2210 <field name="visible" />
2211 <field name="complete_tax_set" />
2213 <separator string="Default Taxes" colspan="4"/>
2214 <field name="tax_template_ids" colspan="4" nolabel="1"/>
2215 <separator string="Properties" colspan="4"/>
2217 <field name="property_account_receivable" domain="[('id', 'child_of', [account_root_id])]"/>
2218 <field name="property_account_payable" domain="[('id', 'child_of', [account_root_id])]"/>
2219 <field name="property_account_expense_categ" domain="[('id', 'child_of', [account_root_id])]"/>
2220 <field name="property_account_income_categ" domain="[('id', 'child_of', [account_root_id])]" />
2221 <field name="property_account_expense" domain="[('id', 'child_of', [account_root_id])]"/>
2222 <field name="property_account_income" domain="[('id', 'child_of', [account_root_id])]"/>
2223 <field name="property_account_income_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2224 <field name="property_account_expense_opening" domain="[('id', 'child_of', [account_root_id])]"/>
2229 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2230 <field name="name">account.chart.template.search</field>
2231 <field name="model">account.chart.template</field>
2232 <field name="arch" type="xml">
2233 <search string="Search Chart of Account Templates">
2234 <field name="name" string="Account Template"/>
2235 <field name="account_root_id"/>
2236 <field name="bank_account_view_id"/>
2237 <group expand="0" string="Group By...">
2238 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2239 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2240 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2241 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2242 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2243 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2248 <record id="view_account_chart_template_tree" model="ir.ui.view">
2249 <field name="name">account.chart.template.tree</field>
2250 <field name="model">account.chart.template</field>
2251 <field name="arch" type="xml">
2252 <tree string="Chart of Accounts Template">
2253 <field name="name"/>
2254 <field name="account_root_id"/>
2255 <field name="tax_code_root_id"/>
2256 <field name="bank_account_view_id"/>
2257 <field name="property_account_receivable" invisible="1"/>
2258 <field name="property_account_payable" invisible="1"/>
2259 <field name="property_account_expense_categ" invisible="1"/>
2260 <field name="property_account_income_categ" invisible="1"/>
2264 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2265 <field name="name">Chart of Accounts Templates</field>
2266 <field name="res_model">account.chart.template</field>
2267 <field name="view_type">form</field>
2268 <field name="view_mode">tree,form</field>
2271 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2273 <!-- Account Tax Templates -->
2275 <record id="view_account_tax_template_form" model="ir.ui.view">
2276 <field name="name">account.tax.template.form</field>
2277 <field name="model">account.tax.template</field>
2278 <field name="arch" type="xml">
2279 <form string="Account Tax Template" version="7.0">
2281 <field name="name"/>
2282 <field name="description"/>
2283 <field name="chart_template_id"/>
2284 <field name="type"/>
2285 <field name="type_tax_use"/>
2286 <field name="price_include"/>
2289 <page string="Tax Definition">
2291 <field name="applicable_type"/>
2292 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2293 <field name="include_base_amount"/>
2294 <field name="domain"/>
2296 <field name="account_collected_id"/>
2297 <label colspan="2" string="Keep empty to use the income account"/>
2298 <field name="account_paid_id"/>
2299 <label colspan="2" string="Keep empty to use the expense account"/>
2300 <field name="child_depend"/>
2301 <field name="sequence"/>
2304 <page string="Tax Declaration">
2306 <separator colspan="4" string="Invoices"/>
2307 <field name="base_code_id"/>
2308 <field name="base_sign"/>
2309 <field name="tax_code_id"/>
2310 <field name="tax_sign"/>
2312 <separator colspan="4" string="Credit Notes"/>
2313 <field name="ref_base_code_id"/>
2314 <field name="ref_base_sign"/>
2315 <field name="ref_tax_code_id"/>
2316 <field name="ref_tax_sign"/>
2319 <page string="Special Computation">
2320 <separator string="Compute Code (if type=code)"/>
2321 <field name="python_compute" attrs="{'readonly':[('type','!=','code')]}"/>
2322 <separator string="Compute Code for Taxes Included Prices"/>
2323 <field name="python_compute_inv"/>
2324 <separator string="Applicable Code (if type=code)"/>
2325 <field name="python_applicable" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2331 <record id="view_account_tax_template_tree" model="ir.ui.view">
2332 <field name="name">account.tax.template.tree</field>
2333 <field name="model">account.tax.template</field>
2334 <field name="arch" type="xml">
2335 <tree string="Account Tax Template">
2336 <field name="name" />
2337 <field name="description"/>
2341 <record id="view_account_tax_template_search" model="ir.ui.view">
2342 <field name="name">account.tax.template.search</field>
2343 <field name="model">account.tax.template</field>
2344 <field name="arch" type="xml">
2345 <search string="Search Tax Templates">
2346 <field name="name" filter_domain="['|', ('name','ilike',self), ('description','ilike',self)]" string="Tax Template"/>
2347 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2348 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2349 <field name="chart_template_id"/>
2354 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2355 <field name="name">Tax Templates</field>
2356 <field name="res_model">account.tax.template</field>
2357 <field name="view_type">form</field>
2358 <field name="view_mode">tree,form</field>
2359 <field name="search_view_id" ref="view_account_tax_template_search"/>
2362 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2364 <!-- Account Tax Code Templates -->
2365 <record id="view_tax_code_template_tree" model="ir.ui.view">
2366 <field name="name">account.tax.code.template.tree</field>
2367 <field name="model">account.tax.code.template</field>
2368 <field name="field_parent">child_ids</field>
2369 <field name="arch" type="xml">
2370 <tree string="Account Tax Code Template" toolbar="1">
2371 <field name="name"/>
2372 <field name="code"/>
2373 <field name="parent_id" invisible="1"/>
2378 <record id="view_tax_code_template_search" model="ir.ui.view">
2379 <field name="name">account.tax.code.template.search</field>
2380 <field name="model">account.tax.code.template</field>
2381 <field name="arch" type="xml">
2382 <search string="Search tax template">
2383 <field name="name" filter_domain="['|', ('name','ilike',self), ('code','ilike',self)]" string="Tax Template"/>
2384 <field name="parent_id"/>
2385 <group expand="0" string="Group By...">
2386 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2392 <record id="view_tax_code_template_form" model="ir.ui.view">
2393 <field name="name">account.tax.code.template.form</field>
2394 <field name="model">account.tax.code.template</field>
2395 <field name="arch" type="xml">
2396 <form string="Account Tax Code Template" version="7.0">
2398 <field name="name"/>
2399 <field name="code"/>
2400 <field name="parent_id"/>
2401 <field name="sign"/>
2403 <separator string="Description"/>
2404 <field name="info"/>
2409 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2410 <field name="name">Tax Code Templates</field>
2411 <field name="res_model">account.tax.code.template</field>
2412 <field name="view_type">form</field>
2413 <field name="view_mode">tree,form</field>
2414 <field name="search_view_id" ref="view_tax_code_template_search"/>
2416 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2419 <!-- Wizard for Multi Charts of Accounts -->
2421 <record id="view_wizard_multi_chart" model="ir.ui.view">
2422 <field name="name">Set Your Accounting Options</field>
2423 <field name="model">wizard.multi.charts.accounts</field>
2424 <field name="inherit_id" ref="base.res_config_view_base"/>
2425 <field name="arch" type="xml">
2426 <form position="attributes" version="7.0">
2427 <attribute name="string">Accounting Application Configuration</attribute>
2429 <group string="res_config_contents" position="replace">
2430 <field name="only_one_chart_template" invisible="1"/>
2431 <field name="complete_tax_set" invisible="1"/>
2433 <group attrs="{'invisible': [('only_one_chart_template','=',True)]}">
2434 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)" domain="[('visible','=', True)]"/>
2436 <group groups="base.group_multi_company">
2437 <field name="company_id" widget="selection" on_change="onchange_company_id(company_id)"/> <!-- we assume that this wizard will be run only by administrators and as this field may cause problem if hidden (because of the default company of the user removed from the selection because already configured), we simply choosed to remove the group "multi company" of it -->
2440 <field name="currency_id" class="oe_inline"/>
2441 <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'))]"/>
2442 <label for="sale_tax_rate" string="Sale Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2443 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2444 <field name="sale_tax_rate" class="oe_inline" on_change="onchange_tax_rate(sale_tax_rate)"/> %%
2446 <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'))]"/>
2447 <label for="purchase_tax_rate" string="Purchase Tax" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
2448 <div attrs="{'invisible': [('complete_tax_set', '=', True)]}">
2449 <field name="purchase_tax_rate" class="oe_inline"/> %%
2452 <group groups="account.group_account_user">
2453 <field name="code_digits"/>
2460 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2461 <field name="name">Set Your Accounting Options</field>
2462 <field name="type">ir.actions.act_window</field>
2463 <field name="res_model">wizard.multi.charts.accounts</field>
2464 <field name="view_id" ref="view_wizard_multi_chart"/>
2465 <field name="view_type">form</field>
2466 <field name="view_mode">form</field>
2467 <field name="target">new</field>
2470 <record id="account_account_graph" model="ir.ui.view">
2471 <field name="name">account.account.graph</field>
2472 <field name="model">account.account</field>
2473 <field name="arch" type="xml">
2474 <graph string="Account Statistics" type="bar">
2475 <field name="name"/>
2476 <field name="balance" operator="+"/>
2481 <!-- Fiscal Position Templates -->
2483 <record id="view_account_position_template_search" model="ir.ui.view">
2484 <field name="name">account.fiscal.position.template.search</field>
2485 <field name="model">account.fiscal.position.template</field>
2486 <field name="arch" type="xml">
2487 <search string="Fiscal Position">
2488 <field name="name" string="Fiscal Position Template"/>
2493 <record id="view_account_position_template_form" model="ir.ui.view">
2494 <field name="name">account.fiscal.position.template.form</field>
2495 <field name="model">account.fiscal.position.template</field>
2496 <field name="arch" type="xml">
2497 <form string="Fiscal Position Template" version="7.0">
2499 <field name="name"/>
2500 <field name="chart_template_id"/>
2502 <field name="tax_ids">
2503 <tree string="Taxes Mapping" editable="bottom">
2504 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2505 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2507 <form string="Taxes Mapping" version="7.0">
2508 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2509 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2512 <field name="account_ids">
2513 <tree string="Accounts Mapping" editable="bottom">
2514 <field name="account_src_id"/>
2515 <field name="account_dest_id"/>
2517 <form string="Accounts Mapping" version="7.0">
2518 <field name="account_src_id"/>
2519 <field name="account_dest_id"/>
2525 <record id="view_account_position_template_tree" model="ir.ui.view">
2526 <field name="name">account.fiscal.position.template.tree</field>
2527 <field name="model">account.fiscal.position.template</field>
2528 <field name="arch" type="xml">
2529 <tree string="Fiscal Position">
2530 <field name="name"/>
2535 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2536 <field name="name">Fiscal Position Templates</field>
2537 <field name="res_model">account.fiscal.position.template</field>
2538 <field name="view_type">form</field>
2539 <field name="view_mode">tree,form</field>
2540 <field name="search_view_id" ref="view_account_position_template_search"/>
2544 action="action_account_fiscal_position_template_form"
2545 id="menu_action_account_fiscal_position_form_template"
2546 parent="account_template_taxes" sequence="20"/>
2548 <!-- Cash Statement -->
2549 <record id="view_cash_statement_tree" model="ir.ui.view">
2550 <field name="name">account.bank.statement.tree</field>
2551 <field name="model">account.bank.statement</field>
2552 <field name="arch" type="xml">
2553 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state == 'open'" string="Statement">
2554 <field name="name"/>
2555 <field name="date"/>
2556 <field name="period_id"/>
2557 <field name="journal_id"/>
2558 <field name="balance_start"/>
2559 <field name="balance_end_real"/>
2560 <field name="balance_end" invisible="1" />
2561 <field name="state"/>
2566 <record id="view_bank_statement_form2" model="ir.ui.view">
2567 <field name="name">account.bank.statement.form</field>
2568 <field name="model">account.bank.statement</field>
2569 <field name="arch" type="xml">
2570 <form string="Statement" version="7.0">
2572 <button name="button_confirm_cash" states="open" string="Close CashBox" type="object" class="oe_highlight"/>
2573 <button name="button_open" states="draft" string="Open CashBox" type="object" class="oe_highlight"/>
2574 <button name="button_cancel" states="confirm,open" string="Cancel" type="object"/>
2575 <field name="state" widget="statusbar" nolabel="1" statusbar_visible="draft,confirm"/>
2577 <sheet string="Statement">
2578 <label for="name" class="oe_edit_only" attrs="{'invisible':[('name','=','/')]}"/>
2579 <h1><field name="name" class="oe_inline" attrs="{'invisible':[('name','=','/')]}"/></h1>
2582 <field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" />
2583 <field name="user_id" readonly="1" string="Responsible"/>
2584 <field name="total_entry_encoding"/>
2585 <field name='company_id' widget="selection" groups="base.group_multi_company" />
2588 <field name="date" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date, company_id)"/>
2589 <field name="closing_date" readonly="1"/>
2590 <field name="period_id" class="oe_inline"/>
2591 <field name="currency" invisible="1"/>
2595 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2596 <field name="line_ids" context="{'date':date}">
2597 <tree editable="bottom" string="Statement lines">
2598 <field name="sequence" invisible="1"/>
2599 <field name="date"/>
2600 <field name="name"/>
2602 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2603 <field name="type" on_change="onchange_type(partner_id, type)"/>
2604 <field domain="[('journal_id','=',parent.journal_id), ('company_id', '=', parent.company_id)]" name="account_id"/>
2605 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2606 <field name="amount"/>
2608 <form string="Statement lines" version="7.0">
2610 <field name="date"/>
2611 <field name="name"/>
2613 <field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
2614 <field name="type" on_change="onchange_type(partner_id, type)"/>
2615 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view'), ('company_id', '=', parent.company_id)]" name="account_id"/>
2616 <field name="analytic_account_id" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]" groups="analytic.group_analytic_accounting" />
2617 <field name="amount"/>
2618 <field name="sequence"/>
2620 <separator string="Notes"/>
2621 <field name="note"/>
2625 <page string="Cash Control">
2626 <group col="2" expand="1">
2627 <field name="opening_details_ids" nolabel="1" colspan="4" attrs="{'invisible' : [('state', '!=', 'draft')]}">
2628 <tree string="Opening Cashbox Lines" editable="bottom">
2629 <field name="pieces"/>
2630 <field name="number_opening" string="Opening Unit Numbers" on_change="on_change_sub_opening(pieces, number_opening, parent.balance_end)"/>
2631 <field name="subtotal_opening" string="Opening Subtotal"/>
2634 <field name="closing_details_ids" nolabel="1" colspan="4" attrs="{'invisible' : [('state', '=', 'draft')]}">
2635 <tree string="Closing Cashbox Lines" editable="bottom">
2636 <field name="pieces" readonly="1" />
2637 <field name="number_opening" string="Opening Unit Numbers" readonly="1" />
2638 <field name="subtotal_opening" string="Opening Subtotal" readonly="1" />
2640 <field name="number_closing" string="Closing Unit Numbers" on_change="on_change_sub_closing(pieces, number_closing, parent.balance_end)"/>
2641 <field name="subtotal_closing" string="Closing Subtotal"/>
2646 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2647 <field name="move_line_ids" string="Journal Entries"/>
2650 <group col="6" colspan="4">
2651 <group col="2" colspan="2">
2652 <separator string="Opening Balance" colspan="4"/>
2653 <field name="balance_start" readonly="1" string="Opening Cash Control" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2654 <field name="last_closing_balance" readonly="1" string="Last Closing Balance" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2655 <field name="total_entry_encoding" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2657 <group string="Closing Balance">
2658 <field name="balance_end" widget="monetary" options="{'currency_field': 'currency_id'}"/>
2665 <record id="account_cash_statement_graph" model="ir.ui.view">
2666 <field name="name">account.bank.statement.graph</field>
2667 <field name="model">account.bank.statement</field>
2668 <field name="arch" type="xml">
2669 <graph string="Account Statistics" type="bar">
2670 <field name="date"/>
2671 <field name="balance_start" operator="+"/>
2672 <field name="balance_end" operator="+"/>
2676 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2677 <field name="name">Cash Registers</field>
2678 <field name="type">ir.actions.act_window</field>
2679 <field name="res_model">account.bank.statement</field>
2680 <field name="view_type">form</field>
2681 <field name="view_mode">tree,form,graph</field>
2682 <field name="view_id" ref="view_cash_statement_tree"/>
2683 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2684 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2685 <field name="context">{'journal_type':'cash'}</field>
2686 <field name="help" type="html">
2687 <p class="oe_view_nocontent_create">
2688 Click to create a new cash log.
2690 A Cash Register allows you to manage cash entries in your cash
2691 journals. This feature provides an easy way to follow up cash
2692 payments on a daily basis. You can enter the coins that are in
2693 your cash box, and then post entries when money comes in or
2694 goes out of the cash box.
2698 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2699 <field name="sequence" eval="1"/>
2700 <field name="view_mode">tree</field>
2701 <field name="view_id" ref="view_cash_statement_tree"/>
2702 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2704 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2705 <field name="sequence" eval="1"/>
2706 <field name="view_mode">form</field>
2707 <field name="view_id" ref="view_bank_statement_form2"/>
2708 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2710 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2711 <field name="sequence" eval="1"/>
2712 <field name="view_mode">graph</field>
2713 <field name="view_id" ref="account_cash_statement_graph"/>
2714 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2716 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines"
2717 parent="menu_finance_bank_and_cash"/>
2719 <menuitem id="menu_account_customer" name="Customers"
2720 parent="menu_finance_receivables"
2721 action="base.action_partner_customer_form" sequence="100"/>
2723 <menuitem id="menu_account_supplier" name="Suppliers"
2724 parent="menu_finance_payables"
2725 action="base.action_partner_supplier_form" sequence="100"/>
2731 <record id="view_account_financial_report_form" model="ir.ui.view">
2732 <field name="name">account.financial.report.form</field>
2733 <field name="model">account.financial.report</field>
2734 <field name="arch" type="xml">
2735 <form string="Account Report" version="7.0">
2737 <field name="name"/>
2738 <field name="parent_id"/>
2739 <field name="sequence"/>
2740 <field name="type"/>
2741 <field name="sign"/>
2742 <field name="style_overwrite"/>
2745 <page string="Report">
2747 <field name="display_detail" attrs="{'invisible': [('type','not in',['accounts','account_type'])]}"/>
2748 <field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
2750 <field name="account_ids" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
2751 <field name="account_type_ids" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
2758 <record id="view_account_financial_report_tree" model="ir.ui.view">
2759 <field name="name">account.financial.report.tree</field>
2760 <field name="model">account.financial.report</field>
2761 <field name="arch" type="xml">
2762 <tree string="Account Report">
2763 <field name="name"/>
2764 <field name="parent_id" invisible="1"/>
2765 <field name="type"/>
2766 <field name="account_report_id"/>
2771 <record id="view_account_financial_report_search" model="ir.ui.view">
2772 <field name="name">account.financial.report.search</field>
2773 <field name="model">account.financial.report</field>
2774 <field name="arch" type="xml">
2775 <search string="Account Report">
2776 <field name="name" string="Account Report"/>
2777 <field name="type"/>
2778 <field name="account_report_id"/>
2779 <group expand="0" string="Group By...">
2780 <filter string="Parent Report" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
2781 <filter string="Report Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2787 <record id="action_account_financial_report_tree" model="ir.actions.act_window">
2788 <field name="name">Financial Reports</field>
2789 <field name="type">ir.actions.act_window</field>
2790 <field name="res_model">account.financial.report</field>
2791 <field name="view_type">form</field>
2792 <field name="view_mode">tree,form</field>
2793 <field name="search_view_id" ref="view_account_financial_report_search"/>
2794 <field name="view_id" ref="view_account_financial_report_tree"/>
2797 <menuitem id="menu_account_financial_reports_tree" name="Account Reports" parent="menu_account_reports" action="action_account_financial_report_tree"/>
2799 <record id="view_account_report_tree_hierarchy" model="ir.ui.view">
2800 <field name="name">account.report.hierarchy</field>
2801 <field name="model">account.financial.report</field>
2802 <field name="field_parent">children_ids</field>
2803 <field name="arch" type="xml">
2804 <tree string="Account Reports Hierarchy">
2805 <field name="name"/>
2806 <field name="type"/>
2807 <field name="parent_id" invisible="1"/>
2808 <field name="account_report_id"/>
2812 <record id="action_account_report_tree_hierarchy" model="ir.actions.act_window">
2813 <field name="name">Financial Reports Hierarchy</field>
2814 <field name="res_model">account.financial.report</field>
2815 <field name="view_type">tree</field>
2816 <field name="view_id" ref="view_account_report_tree_hierarchy"/>
2817 <field name="domain">[('parent_id','=',False)]</field>
2820 <menuitem id="menu_account_report_tree_hierarchy" name="Account Reports Hierarchy"
2821 parent="menu_account_reports" action="action_account_report_tree_hierarchy"/>