1 <?xml version="1.0" encoding="utf-8"?>
9 <record id="view_account_fiscalyear_form" model="ir.ui.view">
10 <field name="name">account.fiscalyear.form</field>
11 <field name="model">account.fiscalyear</field>
12 <field name="type">form</field>
13 <field name="arch" type="xml">
14 <form string="Fiscalyear">
18 <field name="date_start"/>
19 <field name="date_stop"/>
20 <field name="company_id" groups="base.group_multi_company"/>
21 <field name="end_journal_period_id" groups="base.group_extended"/>
23 <separator colspan="4" string="Periods"/>
24 <field colspan="4" name="period_ids" nolabel="1" widget="one2many_list">
25 <form string="Period">
28 <field name="date_start"/>
29 <field name="date_stop"/>
30 <field name="special"/>
33 <separator colspan="4" string="States"/>
35 <field name="state" select="1" readonly="1"/>
36 <button name="create_period" states="draft" string="Create Monthly Periods" type="object" icon="terp-document-new"/>
37 <button name="create_period3" states="draft" string="Create 3 Months Periods" type="object" icon="terp-document-new"/>
42 <record id="view_account_fiscalyear_tree" model="ir.ui.view">
43 <field name="name">account.fiscalyear.tree</field>
44 <field name="model">account.fiscalyear</field>
45 <field name="type">tree</field>
46 <field name="arch" type="xml">
47 <tree colors="blue:state in ('draft');gray:state in ('done') " string="Fiscalyear">
54 <record id="view_account_fiscalyear_search" model="ir.ui.view">
55 <field name="name">account.fiscalyear.search</field>
56 <field name="model">account.fiscalyear</field>
57 <field name="type">search</field>
58 <field name="arch" type="xml">
59 <search string="Search Fiscalyear">
61 <filter string="Open" domain="[('state','=','draft')]" icon="terp-camera_test"/>
62 <filter string="Closed" domain="[('state','=','done')]" icon="terp-dialog-close"/>
63 <separator orientation="vertical"/>
69 <group expand="0" string="Group By...">
70 <filter string="State" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
75 <record id="action_account_fiscalyear_form" model="ir.actions.act_window">
76 <field name="name">Fiscal Years</field>
77 <field name="res_model">account.fiscalyear</field>
78 <field name="view_type">form</field>
79 <field name="view_mode">tree,form,search</field>
81 <menuitem id="next_id_23" name="Periods" parent="account.menu_finance_accounting"/>
82 <menuitem action="action_account_fiscalyear_form" id="menu_action_account_fiscalyear_form" parent="next_id_23"/>
88 <record id="view_account_period_form" model="ir.ui.view">
89 <field name="name">account.period.form</field>
90 <field name="model">account.period</field>
91 <field name="type">form</field>
92 <field name="arch" type="xml">
93 <form string="Period">
96 <field name="date_start"/>
97 <field name="date_stop"/>
98 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
99 <field name="fiscalyear_id" widget="selection"/>
100 <field name="special"/>
101 <separator colspan="4" string="States"/>
102 <field name="state"/>
103 <button name="action_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" groups="account.group_account_manager"/>
107 <record id="view_account_period_tree" model="ir.ui.view">
108 <field name="name">account.period.tree</field>
109 <field name="model">account.period</field>
110 <field name="type">tree</field>
111 <field name="arch" type="xml">
112 <tree colors="blue:state in ('draft');gray:state in ('done') " string="Period">
115 <field name="date_start"/>
116 <field name="date_stop"/>
117 <field name="special"/>
118 <field name="state"/>
119 <button name="action_draft" states="done" string="Set to Draft" type="object" icon="terp-document-new" groups="account.group_account_manager"/>
120 <button name="%(action_account_period_close)d" states="draft" string="Close Period" type="action" icon="terp-camera_test"/>
125 <record id="view_account_period_search" model="ir.ui.view">
126 <field name="name">account.period.search</field>
127 <field name="model">account.period</field>
128 <field name="type">search</field>
129 <field name="arch" type="xml">
130 <search string="Search Period">
132 <filter string="To Close" name="draft" domain="[('state','=','draft')]" icon="terp-dialog-close"/>
133 <separator orientation="vertical"/>
141 <record id="action_account_period_form" model="ir.actions.act_window">
142 <field name="name">Periods</field>
143 <field name="res_model">account.period</field>
144 <field name="view_type">form</field>
145 <field name="view_mode">tree,form,search</field>
146 <field name="context">{'search_default_draft': 1}</field>
148 <menuitem action="action_account_period_form" id="menu_action_account_period_form" parent="account.next_id_23"/>
154 <record id="view_account_form" model="ir.ui.view">
155 <field name="name">account.account.form</field>
156 <field name="model">account.account</field>
157 <field name="type">form</field>
158 <field name="arch" type="xml">
159 <form string="Account">
160 <group col="6" colspan="4">
161 <field name="name" select="1"/>
162 <field name="code" select="1"/>
163 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
165 <field name="parent_id"/>
166 <field name="type" select="1"/>
167 <field name="user_type" select="1"/>
169 <notebook colspan="4">
170 <page string="General Information">
171 <group col="2" colspan="2">
172 <separator string="Currency" colspan="2"/>
173 <field name="currency_id"/>
174 <field name="currency_mode" attrs="{'readonly': [('currency_id','=',False)]}"/>
176 <group col="2" colspan="2">
177 <separator string="Reconcile" colspan="2"/>
178 <field name="reconcile"/>
180 <separator string="Default Taxes" colspan="4"/>
181 <field colspan="4" name="tax_ids" nolabel="1" domain="[('parent_id','=',False)]"/>
182 <separator string="Consolidated Children" colspan="4"/>
183 <field name="child_consol_ids" colspan="4" nolabel="1" attrs="{'readonly':[('type','!=','consolidation')]}"/>
185 <page string="Notes">
186 <field colspan="4" name="note" nolabel="1"/>
193 <record id="view_account_search" model="ir.ui.view">
194 <field name="name">account.account.search</field>
195 <field name="model">account.account</field>
196 <field name="type">search</field>
197 <field name="arch" type="xml">
198 <search string="Accounts">
199 <group col="10" colspan="4">
200 <filter icon="terp-sale" string="Receivable Accounts" domain="[('type','=','receivable')]"/>
201 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
202 <separator orientation="vertical"/>
205 <field name="user_type"/>
209 <group expand="0" string="Group By...">
210 <filter string="Parent Account" icon="terp-folder-orange" domain="" context="{'group_by':'parent_id'}"/>
211 <separator orientation="vertical"/>
212 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'user_type'}"/>
213 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="" context="{'group_by':'type'}"/>
219 <record id="view_account_list" model="ir.ui.view">
220 <field name="name">account.account.list</field>
221 <field name="model">account.account</field>
222 <field name="type">tree</field>
223 <field name="field_parent">child_id</field>
224 <field name="arch" type="xml">
225 <tree colors="blue:type in ('view');black:type in ('other','receivable','payable','consolidation');gray:type in ('closed')" string="Chart of accounts" toolbar="1" >
228 <field name="parent_id" invisible="1"/>
229 <field name="user_type" invisible="1"/>
230 <field name="debit"/>
231 <field name="credit"/>
232 <field name="balance"/>
234 <field name="company_id" groups="base.group_multi_company"/>
235 <field name="company_currency_id"/>
239 <record id="view_treasory_graph" model="ir.ui.view">
240 <field name="name">account.treasury.graph</field>
241 <field name="model">account.account</field>
242 <field name="type">graph</field>
243 <field name="arch" type="xml">
244 <graph string="Treasury Analysis" type="bar">
246 <field name="balance" operator="+"/>
250 <record id="action_account_form" model="ir.actions.act_window">
251 <field name="name">Accounts</field>
252 <field name="res_model">account.account</field>
253 <field name="view_type">form</field>
254 <field name="view_mode">tree,form,graph</field>
255 <field name="search_view_id" ref="view_account_search"/>
256 <field name="view_id" ref="view_account_list"/>
258 <menuitem id="account_account_menu" name="Accounts" parent="menu_finance_accounting"/>
259 <menuitem action="action_account_form" id="menu_action_account_form" parent="account_account_menu"/>
261 <record id="view_account_tree" model="ir.ui.view">
262 <field name="name">account.account.tree</field>
263 <field name="model">account.account</field>
264 <field name="type">tree</field>
265 <field name="field_parent">child_id</field>
266 <field name="arch" type="xml">
267 <tree colors="blue:type in ('view');black:type in ('other','receivable','payable','consolidation');gray:type in ('closed')" string="Chart of accounts" toolbar="1" >
270 <field name="debit"/>
271 <field name="credit"/>
272 <field name="balance"/>
273 <field name="company_currency_id"/>
274 <field name="company_id" groups="base.group_multi_company"/>
279 <record id="action_account_tree" model="ir.actions.act_window">
280 <field name="name">Chart of Accounts</field>
281 <field name="res_model">account.account</field>
282 <field name="view_type">tree</field>
283 <field name="view_id" ref="view_account_tree"/>
284 <field name="domain">[('parent_id','=',False)]</field>
290 Account Journal Columns
293 <record id="view_journal_column_form" model="ir.ui.view">
294 <field name="name">account.journal.column.form</field>
295 <field name="model">account.journal.column</field>
296 <field name="type">form</field>
297 <field name="arch" type="xml">
298 <form string="Journal Column">
299 <field colspan="4" name="name" select="1"/>
300 <field name="field" select="1"/>
301 <field name="sequence"/>
305 <record id="view_journal_column_tree" model="ir.ui.view">
306 <field name="name">account.journal.column.tree</field>
307 <field name="model">account.journal.column</field>
308 <field name="type">tree</field>
309 <field name="arch" type="xml">
310 <tree string="Journal Column">
311 <field name="sequence"/>
317 <record id="view_account_journal_view_search" model="ir.ui.view">
318 <field name="name">account.journal.view.search</field>
319 <field name="model">account.journal.view</field>
320 <field name="type">search</field>
321 <field name="arch" type="xml">
322 <search string="Journal View">
327 <record id="view_account_journal_view_tree" model="ir.ui.view">
328 <field name="name">account.journal.view.tree</field>
329 <field name="model">account.journal.view</field>
330 <field name="type">tree</field>
331 <field name="arch" type="xml">
332 <tree string="Journal View">
337 <record id="view_account_journal_view_form" model="ir.ui.view">
338 <field name="name">account.journal.view.form</field>
339 <field name="model">account.journal.view</field>
340 <field name="type">form</field>
341 <field name="arch" type="xml">
342 <form string="Journal View">
344 <field colspan="4" name="columns_id" nolabel="1" widget="one2many_list"/>
348 <record id="action_account_journal_view" model="ir.actions.act_window">
349 <field name="name">Journal Views</field>
350 <field name="res_model">account.journal.view</field>
351 <field name="view_type">form</field>
352 <field name="view_mode">tree,form</field>
353 <field name="search_view_id" ref="view_account_journal_view_search"/>
356 <menuitem action="action_account_journal_view" id="menu_action_account_journal_view" parent="account.menu_low_level"/>
362 <record id="view_account_journal_tree" model="ir.ui.view">
363 <field name="name">account.journal.tree</field>
364 <field name="model">account.journal</field>
365 <field name="type">tree</field>
366 <field name="arch" type="xml">
367 <tree string="Account Journal">
371 <field name="user_id"/>
372 <field name="company_id" groups="base.group_multi_company"/>
376 <record id="view_account_journal_search" model="ir.ui.view">
377 <field name="name">account.journal.search</field>
378 <field name="model">account.journal</field>
379 <field name="type">search</field>
380 <field name="arch" type="xml">
381 <tree string="Search Account Journal">
383 <filter domain="['|', ('type', '=', 'sale'), ('type', '=', 'sale_refund')]" string="Sale" icon="terp-sale"/>
384 <filter domain="['|', ('type', '=', 'purchase'), ('type', '=', 'purchase_refund')]" string="Purchase" icon="terp-purchase"/>
385 <filter domain="['|', ('type', '=', 'cash'), ('type', '=', 'bank')]" string="Liquidity" icon="terp-dolar"/>
386 <filter domain="['|', ('type', '=', 'general'), ('type', '=', 'situation')]" string="Others" icon="terp-stock"/>
387 <separator orientation="vertical"/>
390 <field name="user_id"/>
393 <group expand="0" string="Group By...">
394 <filter string="User" context="{'group_by':'user_id'}" icon="terp-personal"/>
395 <separator orientation="vertical"/>
396 <filter string="Type" context="{'group_by':'type'}" icon="terp-stock_symbol-selection"/>
401 <record id="view_account_journal_form" model="ir.ui.view">
402 <field name="name">account.journal.form</field>
403 <field name="model">account.journal</field>
404 <field name="type">form</field>
405 <field name="arch" type="xml">
406 <form string="Account Journal">
407 <group colspan="4" col="6">
408 <field name="name" select="1"/>
409 <field name="code" select="1"/>
410 <field name="type" on_change="onchange_type(type, currency)"/>
412 <notebook colspan="4">
413 <page string="General Information">
414 <group col="2" colspan="2">
415 <group colspan="2" col="2">
416 <separator string="Accounts" colspan="4"/>
417 <field name="default_debit_account_id" attrs="{'required':[('type','=','cash')]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
418 <field name="default_credit_account_id" attrs="{'required':[('type','=','cash')]}" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
420 <group colspan="2" col="2">
421 <separator string="Journal View" colspan="4"/>
422 <field name="view_id" widget="selection"/>
426 <group colspan="2" col="2">
427 <separator string="Company" colspan="4"/>
428 <field name="company_id" groups="base.group_multi_company"/>
429 <field name="user_id" groups="base.group_extended"/>
430 <field name="currency"/>
432 <group colspan="2" col="2">
433 <separator string="Validations" colspan="4"/>
434 <field name="allow_date" groups="base.group_extended"/>
436 <group colspan="2" col="2">
437 <separator string="Other Configuration" colspan="4"/>
438 <field name="centralisation" groups="base.group_extended"/>
439 <field name="entry_posted"/>
441 <group colspan="2" col="2">
442 <separator string="Invoicing Data" colspan="4"/>
443 <!-- <field name="invoice_sequence_id"/>-->
444 <field name="group_invoice_lines"/>
446 <group colspan="2" col="2" groups="base.group_extended">
447 <separator string="Sequence" colspan="4"/>
448 <field name="sequence_id" required="0"/>
451 <page string="Entry Controls" groups="base.group_extended">
452 <separator colspan="4" string="Accounts Type Allowed (empty for no control)"/>
453 <field colspan="4" name="type_control_ids" nolabel="1"/>
454 <separator colspan="4" string="Accounts Allowed (empty for no control)"/>
455 <field colspan="4" name="account_control_ids" nolabel="1"/>
461 <record id="action_account_journal_form" model="ir.actions.act_window">
462 <field name="name">Journals</field>
463 <field name="res_model">account.journal</field>
464 <field name="view_type">form</field>
465 <field name="view_mode">tree,form</field>
467 <menuitem action="action_account_journal_form" id="menu_action_account_journal_form" parent="account_account_menu"/>
469 <record id="view_account_bank_statement_filter" model="ir.ui.view">
470 <field name="name">account.cash.statement.select</field>
471 <field name="model">account.bank.statement</field>
472 <field name="type">search</field>
473 <field name="arch" type="xml">
474 <search string="Search Bank Statements">
475 <group col="8" colspan="4">
476 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
477 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
478 <separator orientation="vertical"/>
481 <field name="journal_id" widget='selection' domain="[('type', '=', 'cash')]" />
484 <group expand="0" string="Group By...">
485 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
486 <filter string="State" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
487 <separator orientation="vertical"/>
488 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
494 <record id="view_bank_statement_tree" model="ir.ui.view">
495 <field name="name">account.bank.statement.tree</field>
496 <field name="model">account.bank.statement</field>
497 <field name="type">tree</field>
498 <field name="arch" type="xml">
499 <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">
502 <field name="period_id"/>
503 <field name="journal_id"/>
504 <field name="balance_start"/>
505 <field name="balance_end_real"/>
506 <field name="balance_end" invisible="1"/>
507 <field name="state"/>
508 <button type="object" string="Cancel" name="button_cancel" states="confirm" icon="gtk-cancel"/>
509 <button type="object" string="Confirm" name="button_confirm_bank" states="draft" icon="terp-camera_test"/>
513 <record id="view_bank_statement_search" model="ir.ui.view">
514 <field name="name">account.bank.statement.search</field>
515 <field name="model">account.bank.statement</field>
516 <field name="type">search</field>
517 <field name="arch" type="xml">
518 <search string="Search Bank Statements">
519 <group col="8" colspan="4">
520 <filter string="Draft" domain="[('state','=','draft')]" icon="terp-document-new"/>
521 <filter string="Confirmed" domain="[('state','=','confirm')]" icon="terp-camera_test"/>
522 <separator orientation="vertical"/>
525 <field name="period_id"/>
526 <field name="journal_id" widget="selection" domain="[('type', '=', 'bank')]" />
529 <group expand="0" string="Group By...">
530 <filter string="Journal" context="{'group_by': 'journal_id'}" icon="terp-folder-orange"/>
531 <filter string="State" context="{'group_by': 'state'}" icon="terp-stock_effects-object-colorize"/>
532 <separator orientation="vertical"/>
533 <filter string="Period" context="{'group_by': 'period_id'}" icon="terp-go-month"/>
538 <record id="view_bank_statement_form" model="ir.ui.view">
539 <field name="name">account.bank.statement.form</field>
540 <field name="model">account.bank.statement</field>
541 <field name="type">form</field>
542 <field name="arch" type="xml">
543 <form string="Bank Statement">
544 <group col="7" colspan="4">
545 <field name="name" select="1"/>
546 <field name="date" select="1" on_change="onchange_date(date)"/>
547 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" select="1" widget="selection"/>
549 <field name="period_id"/>
550 <field name="balance_start"/>
551 <field name="balance_end_real"/>
552 <field name="currency" invisible="1"/>
554 <notebook colspan="4">
555 <page string="Transaction" name="statement_line_ids">
556 <field colspan="4" name="line_ids" nolabel="1">
557 <tree editable="bottom" string="Statement lines">
558 <field name="sequence" readonly="1" invisible="1"/>
559 <field name="date" groups="base.group_extended"/>
562 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
563 <field name="type" on_change="onchange_type(partner_id, type)"/>
564 <field domain="[('journal_id','=',parent.journal_id)]" name="account_id"/>
565 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
566 <field name="amount"/>
568 <form string="Statement lines">
571 <field name="type" on_change="onchange_type(partner_id, type)"/>
572 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
573 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id"/>
574 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('company_id', '=', parent.company_id), ('type', '<>', 'view')]"/>
575 <field name="amount"/>
577 <field name="sequence" readonly="0"/>
578 <separator colspan="4" string="Notes"/>
579 <field colspan="4" name="note" nolabel="1"/>
583 <page string="Journal Entries" name="move_live_ids">
584 <field colspan="4" name="move_line_ids" nolabel="1"/>
587 <group col="8" colspan="4">
588 <field name="state"/>
589 <field name="balance_end"/>
590 <button name="button_cancel" states="confirm" string="Cancel" type="object" icon="gtk-cancel"/>
591 <button name="button_dummy" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
592 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" icon="terp-camera_test"/>
598 <record id="view_bank_statement_periodic_form" model="ir.ui.view">
599 <field name="name">account.bank.statement.form</field>
600 <field name="model">account.bank.statement</field>
601 <field name="type">form</field>
602 <field name="arch" type="xml">
603 <form string="Bank Statement">
604 <group col="7" colspan="4">
605 <field name="name" select="1"/>
606 <field name="date" select="1" on_change="onchange_date(date)"/>
607 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" select="1"/>
609 <field name="period_id"/>
610 <field name="balance_start"/>
611 <field name="balance_end_real"/>
612 <field name="currency" invisible="1"/>
614 <notebook colspan="4">
615 <page string="Journal Entries">
616 <field colspan="4" name="move_line_ids" nolabel="1" widget="many2many"/>
619 <group col="8" colspan="4">
620 <field name="state"/>
621 <field name="balance_end"/>
622 <button name="button_cancel" states="confirm" string="Cancel" type="object" icon="gtk-cancel"/>
623 <button name="button_dummy" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
624 <button name="button_confirm_bank" states="draft" string="Confirm" type="object" icon="terp-camera_test"/>
630 <record id="action_bank_statement_tree" model="ir.actions.act_window">
631 <field name="name">Bank Statements</field>
632 <field name="res_model">account.bank.statement</field>
633 <field name="view_type">form</field>
634 <field name="view_mode">tree,form,graph</field>
635 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
636 <field name="context">{'journal_type':'bank'}</field>
637 <field name="search_view_id" ref="view_bank_statement_search"/>
638 <field name="help">A bank statement is a summary of all financial transactions occurring over a given period of time on a deposit account, a credit card, or any other type of account. Start by encoding the starting and closing balance, then record all lines of your statement. When you are in the Payment column of the a line, you can press F1 to open the reconciliation form.</field>
640 <record model="ir.actions.act_window.view" id="action_bank_statement_tree_bank">
641 <field name="sequence" eval="1"/>
642 <field name="view_mode">tree</field>
643 <field name="view_id" ref="view_bank_statement_tree"/>
644 <field name="act_window_id" ref="action_bank_statement_tree"/>
646 <record model="ir.actions.act_window.view" id="action_bank_statement_form_bank">
647 <field name="sequence" eval="1"/>
648 <field name="view_mode">form</field>
649 <field name="view_id" ref="view_bank_statement_form"/>
650 <field name="act_window_id" ref="action_bank_statement_tree"/>
653 <record id="action_bank_statement_periodic_tree" model="ir.actions.act_window">
654 <field name="name">Bank Statements</field>
655 <field name="res_model">account.bank.statement</field>
656 <field name="view_type">form</field>
657 <field name="view_mode">tree,form,graph</field>
658 <field name="domain">[('journal_id.type', '=', 'bank')]</field>
659 <field name="search_view_id" ref="view_bank_statement_search"/>
660 <field name="context">{'journal_type':'bank'}</field>
662 <record model="ir.actions.act_window.view" id="action_bank_statement_periodic_tree_bank">
663 <field name="sequence" eval="1"/>
664 <field name="view_mode">tree</field>
665 <field name="view_id" ref="view_bank_statement_tree"/>
666 <field name="act_window_id" ref="action_bank_statement_periodic_tree"/>
668 <record model="ir.actions.act_window.view" id="action_bank_statement_periodic_form_bank">
669 <field name="sequence" eval="1"/>
670 <field name="view_mode">form</field>
671 <field name="view_id" ref="view_bank_statement_periodic_form"/>
672 <field name="act_window_id" ref="action_bank_statement_periodic_tree"/>
675 <menuitem string="Bank Statements" action="action_bank_statement_tree" id="menu_bank_statement_tree" parent="menu_finance_bank_and_cash" sequence="7"/>
676 <menuitem name="Statements Reconciliation" action="action_bank_statement_periodic_tree" id="menu_menu_Bank_process" parent="account.menu_account_pp_statements" sequence="7"/>
679 <record id="action_bank_statement_draft_tree" model="ir.actions.act_window">
680 <field name="name">Draft statements</field>
681 <field name="res_model">account.bank.statement</field>
682 <field name="view_type">form</field>
683 <field name="view_mode">tree,form,search</field>
684 <field name="domain">[('state','=','draft')]</field>
685 <field name="filter" eval="True"/>
691 <record id="view_account_type_search" model="ir.ui.view">
692 <field name="name">account.account.type.search</field>
693 <field name="model">account.account.type</field>
694 <field name="type">search</field>
695 <field name="arch" type="xml">
696 <search string="Account Type">
703 <record id="view_account_type_tree" model="ir.ui.view">
704 <field name="name">account.account.type.tree</field>
705 <field name="model">account.account.type</field>
706 <field name="type">tree</field>
707 <field name="arch" type="xml">
708 <tree string="Account Type">
715 <record id="view_account_type_form" model="ir.ui.view">
716 <field name="name">account.account.type.form</field>
717 <field name="model">account.account.type</field>
718 <field name="type">form</field>
719 <field name="arch" type="xml">
720 <form string="Account Type">
721 <group col="6" colspan="4">
722 <field name="name" select="1"/>
723 <field name="code" select="1"/>
725 <group col="2" colspan="2">
726 <separator string="Reporting Configuration" colspan="4"/>
727 <field name="report_type" select="2"/>
730 <group col="2" colspan="2">
731 <separator string="Closing Method" colspan="4"/>
732 <field name="close_method"/>
734 <separator string="Description" colspan="4"/>
735 <field name="note" colspan="4" nolabel="1"/>
739 <record id="action_account_type_form" model="ir.actions.act_window">
740 <field name="name">Account Types</field>
741 <field name="res_model">account.account.type</field>
742 <field name="view_type">form</field>
743 <field name="view_mode">tree,form</field>
744 <field name="search_view_id" ref="view_account_type_search"/>
746 <menuitem action="action_account_type_form" groups="base.group_extended,group_account_manager" id="menu_action_account_type_form" parent="menu_low_level"/>
750 <record id="view_account_move_tree" model="ir.ui.view">
751 <field name="name">account.move.tree</field>
752 <field name="model">account.move</field>
753 <field name="type">tree</field>
754 <field name="arch" type="xml">
755 <tree colors="blue:state in ('draft');black:state in ('posted')" string="Journal Entries">
759 <field name="period_id"/>
760 <field name="journal_id"/>
761 <field name="partner_id"/>
762 <field name="amount" sum="Total Amount"/>
763 <field name="state"/>
772 <record id="view_move_reconcile_form" model="ir.ui.view">
773 <field name="name">account.move.reconcile.form</field>
774 <field name="model">account.move.reconcile</field>
775 <field name="type">form</field>
776 <field name="arch" type="xml">
777 <form string="Journal Entry Reconcile">
778 <group col="6" colspan="4">
779 <field name="name" select="1"/>
780 <field name="create_date" select="1"/>
781 <field name="type" select="1"/>
783 <separator colspan="4" string="Reconcile Entries"/>
784 <field colspan="4" name="line_id" nolabel="1"/>
785 <separator colspan="4" string="Partial Reconcile Entries"/>
786 <field colspan="4" name="line_partial_ids" nolabel="1"/>
794 <record id="view_tax_code_search" model="ir.ui.view">
795 <field name="name">account.tax.code.search</field>
796 <field name="model">account.tax.code</field>
797 <field name="type">search</field>
798 <field name="arch" type="xml">
799 <search string="Account Tax Code">
802 <field name="parent_id"/>
803 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
807 <record id="view_tax_code_tree" model="ir.ui.view">
808 <field name="name">account.tax.code.tree</field>
809 <field name="model">account.tax.code</field>
810 <field name="type">tree</field>
811 <field name="field_parent">child_ids</field>
812 <field name="priority">100</field>
813 <field name="arch" type="xml">
814 <tree string="Account Tax Code" toolbar="1">
817 <field name="sum_period"/>
819 <field name="company_id" groups="base.group_multi_company"/>
823 <record id="view_tax_code_form" model="ir.ui.view">
824 <field name="name">account.tax.code.form</field>
825 <field name="model">account.tax.code</field>
826 <field name="type">form</field>
827 <field name="arch" type="xml">
828 <form string="Account Tax Code">
829 <group col="6" colspan="4">
832 <field name="parent_id"/>
833 <field name="company_id" groups="base.group_multi_company"/>
835 <group colspan="2" col="2">
836 <separator string="Reporting Configuration" colspan="4"/>
837 <field name="notprintable"/>
840 <group colspan="2" col="2">
841 <separator string="Statistics" colspan="4"/>
842 <field name="sum_period"/>
845 <separator string="Description" colspan="4"/>
846 <field colspan="4" name="info" nolabel="1"/>
850 <record id="action_tax_code_list" model="ir.actions.act_window">
851 <field name="name">Tax codes</field>
852 <field name="res_model">account.tax.code</field>
853 <field name="view_type">form</field>
854 <field name="view_mode">tree,form</field>
855 <field name="view_id" ref="view_tax_code_tree"/>
856 <field name="search_view_id" ref="view_tax_code_search"/>
858 <menuitem id="next_id_27" name="Taxes" parent="account.menu_finance_accounting"/>
859 <menuitem action="action_tax_code_list" id="menu_action_tax_code_list" parent="menu_low_level" sequence="12"/>
865 <record id="view_tax_tree" model="ir.ui.view">
866 <field name="name">account.tax.tree</field>
867 <field name="model">account.tax</field>
868 <field name="type">tree</field>
869 <field name="field_parent">child_ids</field>
870 <field name="arch" type="xml">
871 <tree string="Account Tax">
873 <field name="price_include" groups="base.group_extended"/>
874 <field name="description"/>
878 <record id="view_account_tax_search" model="ir.ui.view">
879 <field name="name">account.tax.search</field>
880 <field name="model">account.tax</field>
881 <field name="type">search</field>
882 <field name="arch" type="xml">
883 <search string="Search Taxes">
884 <group col="10" colspan="4">
886 <field name="description"/>
891 <record id="view_tax_form" model="ir.ui.view">
892 <field name="name">account.tax.form</field>
893 <field name="model">account.tax</field>
894 <field name="type">form</field>
895 <field name="arch" type="xml">
896 <form string="Account Tax">
897 <group colspan="4" col="6">
899 <field name="description"/>
900 <field name="type_tax_use"/>
901 <field name="price_include"/>
902 <field name="active"/>
903 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
905 <notebook colspan="4">
906 <page string="Tax Definition" >
907 <group colspan="4" col="4">
909 <field name="amount" attrs="{'readonly':[('type','in',('none', 'code', 'balance'))]}"/>
910 <separator colspan="4" string="Accounting Information"/>
911 <field name="account_collected_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
912 <label colspan="2" nolabel="1" string="Keep empty to use the income account"/>
913 <field name="account_paid_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
914 <label colspan="2" nolabel="1" string="Keep empty to use the expense account"/>
915 <separator colspan="4" string="Tax Declaration: Invoices"/>
916 <field name="base_code_id"/>
917 <field name="base_sign"/>
918 <field name="tax_code_id"/>
919 <field name="tax_sign"/>
920 <separator colspan="4" string="Tax Declaration: Credit Notes"/>
921 <field name="ref_base_code_id"/>
922 <field name="ref_base_sign"/>
923 <field name="ref_tax_code_id"/>
924 <field name="ref_tax_sign"/>
925 <separator groups="base.group_extended" colspan="4" string="Children Definition"/>
926 <field groups="base.group_extended" name="child_depend"/>
927 <field groups="base.group_extended" name="sequence"/>
928 <field groups="base.group_extended" name="include_base_amount"/>
929 <field groups="base.group_extended" colspan="4" name="child_ids"/>
932 <page groups="base.group_extended" string="Special Computation">
933 <separator colspan="4" string="Applicability Options"/>
934 <field name="applicable_type"/>
935 <field name="domain"/>
936 <separator colspan="4" string="Applicable Code (if type=code)"/>
937 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')], 'required':[('applicable_type','=','code')]}"/>
938 <separator colspan="4" string="Compute Code (if type=code)"/>
939 <field colspan="4" name="python_compute" nolabel="1" attrs="{'readonly':[('type','!=','code')],'required':[('type','=','code')]}"/>
945 <record id="action_tax_form" model="ir.actions.act_window">
946 <field name="name">Taxes</field>
947 <field name="res_model">account.tax</field>
948 <field name="view_type">form</field>
949 <field name="view_id" ref="view_tax_tree"/>
950 <field name="domain">[('parent_id','=',False)]</field>
952 <menuitem action="action_tax_form" id="menu_action_tax_form" parent="next_id_27"/>
954 <record id="action_tax_code_tree" model="ir.actions.act_window">
955 <field name="name">Chart of Taxes</field>
956 <field name="res_model">account.tax.code</field>
957 <field name="domain">[('parent_id','=',False)]</field>
958 <field name="view_type">tree</field>
959 <field name="view_id" ref="view_tax_code_tree"/>
960 <field name="help">The chart of taxes is used to generate your periodic tax statement. You will see here the taxes with codes related to your legal statement according to your country.</field>
967 <record id="view_move_line_tree" model="ir.ui.view">
968 <field name="name">account.move.line.tree</field>
969 <field name="model">account.move.line</field>
970 <field name="type">tree</field>
971 <field eval="4" name="priority"/>
972 <field name="arch" type="xml">
973 <tree colors="red:state in ('draft');black:state in ('valid')" string="Journal Items" editable="top" on_write="on_create_write">
975 <field name="period_id"/>
976 <field name="move_id"/>
978 <field name="invoice"/>
980 <field name="partner_id" on_change="onchange_partner_id(move_id, partner_id, account_id, debit, credit, date, journal_id)"/>
981 <field name="account_id" domain="[('journal_id','=',journal_id)]"/>
982 <field name="journal_id"/>
983 <field name="debit" sum="Total debit"/>
984 <field name="credit" sum="Total credit"/>
985 <field name="account_tax_id" groups="base.group_extended"/>
986 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
987 <field name="amount_currency" groups="base.group_extended" attrs="{'readonly':[('state','=','valid')]}"/>
988 <field name="currency_id" groups="base.group_extended" attrs="{'readonly':[('state','=','valid')]}"/>
989 <field name="reconcile_partial_id" groups="base.group_extended"/>
990 <field name="reconcile_id"/>
991 <field name="state"/>
996 <record id="view_move_line_form" model="ir.ui.view">
997 <field name="name">account.move.line.form</field>
998 <field name="model">account.move.line</field>
999 <field name="type">form</field>
1000 <field eval="2" name="priority"/>
1001 <field name="arch" type="xml">
1002 <form string="Journal Item">
1003 <group col="6" colspan="4">
1004 <field name="name" select="1"/>
1006 <field name="partner_id" select="1" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1008 <field name="journal_id"/>
1009 <field name="period_id"/>
1010 <field name="company_id" required="1" groups="base.group_multi_company"/>
1012 <notebook colspan="4">
1013 <page string="Information">
1014 <group col="2" colspan="2">
1015 <separator colspan="2" string="Amount"/>
1016 <field name="account_id" select="1" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
1017 <field name="debit"/>
1018 <field name="credit"/>
1019 <field name="quantity"/>
1022 <group col="2" colspan="2">
1023 <separator colspan="2" string="Accounting Documents"/>
1024 <field name="invoice" readonly="True"/>
1025 <field name="move_id" required="False"/>
1026 <field name="statement_id" readonly="True"/>
1029 <group col="2" colspan="2">
1030 <separator colspan="2" string="Dates"/>
1031 <field name="date" select="1"/>
1032 <field name="date_maturity"/>
1033 <field name="date_created" readonly="True"/>
1036 <group col="2" colspan="2">
1037 <separator colspan="2" string="Taxes"/>
1038 <field name="tax_code_id"/>
1039 <field name="tax_amount"/>
1040 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1043 <group col="2" colspan="2" attrs="{'readonly':[('state','=','valid')]}" >
1044 <separator colspan="2" string="Currency"/>
1045 <field name="currency_id"/>
1046 <field name="amount_currency"/>
1049 <group col="2" colspan="2">
1050 <separator colspan="2" string="Reconciliation"/>
1051 <field name="reconcile_id"/>
1052 <field name="reconcile_partial_id"/>
1055 <group col="2" colspan="2">
1056 <separator colspan="2" string="States"/>
1057 <field name="state"/>
1058 <field name="blocked"/>
1061 <group col="2" colspan="2" groups="base.group_extended">
1062 <separator colspan="2" string="Analytic"/>
1063 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1065 <separator string="Narration" colspan="4"/>
1066 <field name="narration" colspan="4" nolabel="1"/>
1068 <page string="Analytic Lines" groups="base.group_analytic_accounting">
1069 <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)}"/>
1076 <record id="view_move_line_form2" model="ir.ui.view">
1077 <field name="name">account.move.line.form2</field>
1078 <field name="model">account.move.line</field>
1079 <field name="type">form</field>
1080 <field eval="9" name="priority"/>
1081 <field name="arch" type="xml">
1082 <form string="Journal Item">
1083 <notebook colspan="4">
1084 <page string="Information">
1085 <separator colspan="4" string="General Information"/>
1086 <field name="name" select="1"/>
1087 <field name="date"/>
1088 <field name="journal_id" readonly="False" select="1"/>
1089 <field name="period_id" readonly="False"/>
1090 <field name="account_id" select="1" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
1091 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1093 <field name="debit"/>
1094 <field name="credit"/>
1096 <separator colspan="4" string="Optional Information"/>
1097 <field name="currency_id"/>
1098 <field name="amount_currency"/>
1099 <field name="quantity" select="3"/>
1100 <field name="move_id" required="False"/>
1102 <field name="date_maturity"/>
1103 <field name="date_created"/>
1104 <field name="date_created"/>
1105 <field name="blocked" select="3"/>
1107 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1108 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1109 <separator colspan="4" string="State"/>
1111 <field name="reconcile_id"/>
1112 <field name="reconcile_partial_id"/>
1113 <field name="state"/>
1115 <page string="Analytic Lines" groups="base.group_analytic_accounting">
1116 <field colspan="4" name="analytic_lines" nolabel="1" />
1123 <record id="account_move_line_graph" model="ir.ui.view">
1124 <field name="name">account.move.line.graph</field>
1125 <field name="model">account.move.line</field>
1126 <field name="type">graph</field>
1127 <field name="arch" type="xml">
1128 <graph string="Account Statistics" type="bar">
1129 <field name="account_id"/>
1130 <field name="debit" operator="+"/>
1131 <field name="credit" operator="+"/>
1136 <record id="view_account_move_line_filter" model="ir.ui.view">
1137 <field name="name">Journal Items</field>
1138 <field name="model">account.move.line</field>
1139 <field name="type">search</field>
1140 <field name="arch" type="xml">
1141 <search string="Search Journal Items">
1142 <group col='10' colspan='4'>
1143 <filter icon="terp-document-new" string="Unbalanced" domain="[('state','=','draft')]" help="Unbalanced Journal Items"/>
1144 <separator orientation="vertical"/>
1145 <filter icon="terp-document-new" string="Unposted" domain="[('move_id.state','=','draft')]" help="Unposted Journal Items"/>
1146 <filter icon="terp-camera_test" string="Posted" domain="[('move_id.state','=','posted')]" help="Posted Journal Items"/>
1147 <separator orientation="vertical"/>
1149 icon="terp-dolar_ok!"
1150 string="Unreconciled"
1151 domain="[('reconcile_id','=',False), ('account_id.type','in',['receivable', 'payable'])]" help="Unreconciled Journal Items"
1152 name="unreconciled"/>
1153 <separator orientation="vertical"/>
1154 <field name="move_id" select="1" string="Number (Move)"/>
1155 <field name="date" select='1'/>
1156 <field name="account_id" select='1'/>
1157 <field name="partner_id" select='1'>
1158 <filter help="Next Partner Entries to reconcile" name="next_partner" string="Next Partner to reconcile" context="{'next_partner_only': 1}" icon="terp-gtk-jump-to-ltr" domain="[('account_id.reconcile','=',True),('reconcile_id','=',False)]"/>
1162 <group col="10" colspan="4">
1163 <field name="journal_id" widget="selection" context="{'journal_id':self, 'visible_id':self or 0, 'normal_view':False}"/>
1164 <field name="period_id" context="{'period_id':self, 'search_default_period_id':self}"/>
1167 <group expand="0" string="Extended Filters...">
1168 <field name="ref" select="1" string="Reference"/>
1169 <field name="name" select="1"/>
1170 <field name="narration" select="1"/>
1171 <field name="balance" string="Debit/Credit" select='1'/>
1174 <group expand="0" string="Group By..." colspan="12" col="10">
1175 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1176 <separator orientation="vertical"/>
1177 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1178 <filter string="Account" icon="terp-folder-green" context="{'group_by':'account_id'}"/>
1179 <separator orientation="vertical"/>
1180 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1187 <record id="action_account_moves_all_a" model="ir.actions.act_window">
1188 <field name="name">Journal Items</field>
1189 <field name="res_model">account.move.line</field>
1190 <field name="view_type">form</field>
1191 <field name="view_mode">tree,form</field>
1192 <field name="search_view_id" ref="view_account_move_line_filter"/>
1193 <field name="help">This view is used by accountants in order to record entries massively in OpenERP. If you want to record a supplier invoice, start by recording the line of the expense account, OpenERP will propose to you automatically the Tax related to this account and the counter-part "Account Payable".</field>
1197 action="action_account_moves_all_a"
1198 icon="STOCK_JUSTIFY_FILL"
1199 id="menu_action_account_moves_all"
1200 parent="account.menu_finance_entries"
1202 groups="group_account_user,group_account_manager"
1205 <record id="action_move_line_select" model="ir.actions.act_window">
1206 <field name="name">Journal Items</field>
1207 <field name="res_model">account.move.line</field>
1208 <field name="view_type">form</field>
1209 <field name="view_mode">tree,form</field>
1210 <field name="search_view_id" ref="view_account_move_line_filter"/>
1213 <record id="action_view_move_line" model="ir.actions.act_window">
1214 <field name="name">Lines to reconcile</field>
1215 <field name="res_model">account.move.line</field>
1216 <field name="view_type">form</field>
1217 <field name="view_mode">tree,form</field>
1218 <field name="domain">[('account_id.reconcile', '=', True),('reconcile_id','=',False)]</field>
1219 <field eval="False" name="view_id"/>
1220 <field eval="True" name="filter"/>
1221 <field name="search_view_id" ref="view_account_move_line_filter"/>
1224 <record id="action_move_line_select" model="ir.actions.act_window">
1225 <field name="name">Journal Items</field>
1226 <field name="res_model">account.move.line</field>
1227 <field name="view_type">form</field>
1228 <field name="view_mode">tree,form</field>
1229 <field name="view_id" ref="view_move_line_tree"/>
1230 <field name="search_view_id" ref="view_account_move_line_filter"/>
1231 <field name="domain">[('account_id', 'child_of', active_id)]</field>
1234 <record id="ir_account_move_line_select" model="ir.values">
1235 <field name="key2">tree_but_open</field>
1236 <field name="model">account.account</field>
1237 <field name="name">Open Journal Items</field>
1238 <field eval="'ir.actions.act_window,%d'%action_move_line_select" name="value"/>
1239 <field eval="True" name="object"/>
1242 Account.Entry Edition
1245 <record id="account_move_graph" model="ir.ui.view">
1246 <field name="name">account.move.graph</field>
1247 <field name="model">account.move</field>
1248 <field name="type">graph</field>
1249 <field name="arch" type="xml">
1250 <graph string="Account Statistics" type="bar">
1251 <field name="period_id"/>
1252 <field name="amount" operator="+"/>
1256 <record id="view_move_tree" model="ir.ui.view">
1257 <field name="name">account.move.tree</field>
1258 <field name="model">account.move</field>
1259 <field name="type">tree</field>
1260 <field name="arch" type="xml">
1261 <tree colors="blue:state in ('draft');black:state in ('posted')" string="Journal Entries">
1262 <field name="name"/>
1264 <field name="date"/>
1265 <field name="period_id"/>
1266 <field name="journal_id"/>
1267 <field name="partner_id"/>
1268 <field name="amount" sum="Total Amount"/>
1269 <field name="to_check" groups="base.group_extended"/>
1270 <field name="state"/>
1271 <button name="button_validate" states="draft" string="Approve" type="object" icon="terp-camera_test"/>
1275 <record id="view_move_form" model="ir.ui.view">
1276 <field name="name">account.move.form</field>
1277 <field name="model">account.move</field>
1278 <field name="type">form</field>
1279 <field name="arch" type="xml">
1280 <form string="Journal Entries">
1281 <group colspan="4" col="6">
1282 <field name="name" readonly="True"/>
1284 <field name="to_check" groups="base.group_extended"/>
1285 <field name="journal_id"/>
1286 <field name="period_id"/>
1287 <field name="date"/>
1288 <field name="company_id" required="1" groups="base.group_multi_company"/>
1289 <field name="partner_id" invisible="1"/>
1290 <field name="amount" invisible="1"/>
1292 <notebook colspan="4">
1293 <page string="Journal Items">
1294 <field colspan="4" name="line_id" nolabel="1" height="250" widget="one2many_list" default_get="{'lines':line_id ,'journal':journal_id }">
1295 <form string="Journal Item">
1296 <group col="6" colspan="4">
1297 <field name="name"/>
1299 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,date)"/>
1301 <field name="journal_id"/>
1302 <field name="period_id"/>
1303 <field name="company_id" required="1" groups="base.group_multi_company"/>
1305 <notebook colspan="4">
1306 <page string="Information">
1307 <group col="2" colspan="2">
1308 <separator colspan="2" string="Amount"/>
1309 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
1310 <field name="debit"/>
1311 <field name="credit"/>
1312 <field name="quantity"/>
1315 <group col="2" colspan="2">
1316 <separator colspan="2" string="Accounting Documents"/>
1317 <field name="invoice"/>
1318 <field name="move_id" required="False"/>
1319 <field name="statement_id"/>
1322 <group col="2" colspan="2">
1323 <separator colspan="2" string="Dates"/>
1324 <field name="date"/>
1325 <field name="date_maturity"/>
1326 <field name="date_created"/>
1329 <group col="2" colspan="2">
1330 <separator colspan="2" string="Taxes"/>
1331 <field name="tax_code_id"/>
1332 <field name="tax_amount"/>
1333 <field name="account_tax_id" domain="[('parent_id','=',False)]"/>
1336 <group col="2" colspan="2">
1337 <separator colspan="2" string="Currency"/>
1338 <field name="currency_id"/>
1339 <field name="amount_currency"/>
1342 <group col="2" colspan="2">
1343 <separator colspan="2" string="Reconciliation"/>
1344 <field name="reconcile_id"/>
1345 <field name="reconcile_partial_id"/>
1348 <group col="2" colspan="2">
1349 <separator colspan="2" string="States"/>
1350 <field name="state"/>
1351 <field name="blocked"/>
1354 <group col="2" colspan="2" groups="base.group_extended">
1355 <separator colspan="2" string="Analytic"/>
1356 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1358 <separator string="Narration" colspan="4"/>
1359 <field name="narration" colspan="4" nolabel="1"/>
1361 <page string="Analytic Lines" groups="base.group_analytic_accounting">
1362 <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)}"/>
1366 <tree colors="blue:state in ('draft');black:state in ('posted')" editable="top" string="Journal Items">
1368 <field name="invoice"/>
1369 <field name="name"/>
1370 <field name="partner_id" on_change="onchange_partner_id(False,partner_id,account_id,debit,credit,parent.date,parent.journal_id)"/>
1371 <field name="account_id" domain="[('journal_id','=',parent.journal_id)]"/>
1372 <field name="date_maturity"/>
1373 <field name="debit" sum="Total Debit"/>
1374 <field name="credit" sum="Total Credit"/>
1375 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1376 <field name="amount_currency" groups="base.group_extended"/>
1377 <field name="currency_id" groups="base.group_extended"/>
1378 <field name="tax_code_id"/>
1379 <field name="tax_amount"/>
1380 <field name="state"/>
1381 <field name="reconcile_id"/>
1382 <field name="reconcile_partial_id" groups="base.group_extended"/>
1385 <separator colspan="4" string="Narration"/>
1386 <field name="narration" colspan="4" nolabel="1" height="50"/>
1387 <group col="4" colspan="4">
1388 <field name="state" select="1"/>
1389 <button name="button_cancel" states="posted" string="Cancel" type="object" icon="gtk-cancel"/>
1390 <button name="button_validate" states="draft" string="Approve" type="object" icon="terp-camera_test"/>
1398 <record id="view_account_move_filter" model="ir.ui.view">
1399 <field name="name">account.move.select</field>
1400 <field name="model">account.move</field>
1401 <field name="type">search</field>
1402 <field name="arch" type="xml">
1403 <search string="Search Move">
1404 <group col='8' colspan='4'>
1405 <filter icon="terp-document-new" string="Unposted" domain="[('state','=','draft')]" help="Unposted Journal Entries"/>
1406 <filter icon="terp-camera_test" string="Posted" domain="[('state','=','posted')]" help="Posted Journal Entries"/>
1407 <separator orientation="vertical"/>
1408 <filter icon="terp-gtk-jump-to-ltr" string="To Review" domain="[('to_check','=',True)]" groups="base.group_extended" help="Journal Entries to Review"/>
1409 <separator orientation="vertical"/>
1410 <field name="name"/>
1412 <field name="partner_id"/>
1413 <field name="date"/>
1416 <group col='8' colspan='4'>
1417 <field name="journal_id" widget="selection"/>
1418 <field name="period_id"/>
1421 <group expand="0" string="Group By..." colspan="12" col="10">
1422 <filter string="Partner" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
1423 <separator orientation="vertical"/>
1424 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1425 <filter string="States" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1426 <separator orientation="vertical"/>
1427 <filter string="Period" icon="terp-go-month" domain="[]" context="{'group_by':'period_id'}"/>
1428 <filter string="Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
1434 <record id="action_move_journal_line" model="ir.actions.act_window">
1435 <field name="name">Journal Entries</field>
1436 <field name="res_model">account.move</field>
1437 <field name="view_type">form</field>
1438 <field name="view_mode">tree,form,graph</field>
1439 <field name="view_id" ref="view_move_tree"/>
1440 <field name="search_view_id" ref="view_account_move_filter"/>
1441 <field name="help">A journal entry consists of several journal items, each of which is either a debit or a credit. OpenERP creates automatically one journal entry per accounting document: invoices, refund, supplier payment, bank statements, etc.</field>
1445 icon="STOCK_JUSTIFY_FILL"
1446 action="action_move_journal_line"
1447 id="menu_action_move_journal_line_form"
1448 parent="account.menu_finance_entries"
1449 groups="group_account_user,group_account_manager"
1452 <record id="action_move_line_form" model="ir.actions.act_window">
1453 <field name="name">Entries</field>
1454 <field name="type">ir.actions.act_window</field>
1455 <field name="res_model">account.move</field>
1456 <field name="view_type">form</field>
1457 <field name="view_id" ref="view_move_tree"/>
1458 <field name="search_view_id" ref="view_account_move_filter"/>
1462 id="act_account_move_to_account_move_line_open"
1463 name="Journal Items"
1464 context="{'search_default_move_id':[active_id]}"
1465 res_model="account.move.line"
1466 src_model="account.move"/>
1468 <record id="action_move_line_search" model="ir.actions.act_window">
1469 <field name="name">Journal Items</field>
1470 <field name="type">ir.actions.act_window</field>
1471 <field name="res_model">account.move.line</field>
1472 <field name="view_type">form</field>
1473 <field name="view_mode">tree,form</field>
1474 <field name="view_id" ref="view_move_line_tree"/>
1475 <field name="search_view_id" ref="view_account_move_line_filter"/>
1477 <record id="action_move_line_search_view1" model="ir.actions.act_window.view">
1478 <field eval="10" name="sequence"/>
1479 <field name="view_mode">tree</field>
1480 <field name="view_id" ref="view_move_line_tree"/>
1481 <field name="act_window_id" ref="action_move_line_search"/>
1483 <record id="action_move_line_search_view2" model="ir.actions.act_window.view">
1484 <field eval="11" name="sequence"/>
1485 <field name="view_mode">form</field>
1486 <field name="act_window_id" ref="action_move_line_search"/>
1489 <record id="view_bank_statement_reconcile_form" model="ir.ui.view">
1490 <field name="name">account.bank.statement.form</field>
1491 <field name="model">account.bank.statement</field>
1492 <field eval="30" name="priority"/>
1493 <field name="type">form</field>
1494 <field name="arch" type="xml">
1495 <form string="Statement">
1496 <group col="6" colspan="4">
1497 <field name="name" select="1"/>
1498 <field name="date" select="1"/>
1499 <field name="journal_id" on_change="onchange_journal_id(journal_id)" select="1"/>
1500 <field name="currency"/>
1501 <field name="balance_start"/>
1502 <field name="balance_end_real"/>
1504 <notebook colspan="4">
1505 <page string="Select entries">
1506 <field colspan="4" domain="[('statement_id', '=', False), ('journal_id', '=', journal_id)]" name="move_line_ids" nolabel="1" widget="many2many"/>
1508 <page string="Entry encoding">
1509 <separator colspan="4" string="Entry Lines"/>
1510 <field name="period_id"/>
1511 <field colspan="4" name="line_ids" nolabel="1">
1512 <tree editable="bottom" string="Statement lines">
1513 <field name="date"/>
1514 <field name="name"/>
1515 <field name="type" on_change="onchange_type(partner_id, type)"/>
1516 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
1517 <field domain="[('journal_id', '=', parent.journal_id)]" name="account_id"/>
1518 <field name="amount"/>
1519 <field context="{'partner_id': partner_id, 'amount': amount, 'account_id': account_id, 'date':date}" name="reconcile_id"/>
1521 <form string="Statement lines">
1522 <field name="date"/>
1523 <field name="name"/>
1524 <field name="type" on_change="onchange_type(partner_id, type)"/>
1525 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
1526 <field domain="[('journal_id', '=', parent.journal_id)]" name="account_id"/>
1527 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" />
1528 <field name="amount"/>
1529 <field context="{'partner_id': partner_id, 'amount': amount, 'account_id': account_id, 'date':date}" name="reconcile_id"/>
1534 <group col="7" colspan="4">
1535 <field name="state"/>
1536 <field name="balance_end"/>
1537 <button name="button_cancel" states="confirm" string="Cancel" type="object" icon="gtk-cancel"/>
1538 <button name="button_dummy" states="draft" string="Compute" icon="terp-stock_format-scientific"/>
1539 <button name="button_confirm" states="draft" string="Confirm" type="object" icon="terp-camera_test"/>
1544 <record id="action_bank_statement_reconciliation_form" model="ir.actions.act_window">
1545 <field name="name">Statements reconciliation</field>
1546 <field name="res_model">account.bank.statement</field>
1547 <field name="view_type">form</field>
1548 <field name="view_mode">form,tree</field>
1549 <field name="search_view_id" ref="view_bank_statement_search"/>
1550 <field name="view_id" ref="view_bank_statement_reconcile_form"/>
1554 context="{'search_default_next_partner':1,'view_mode':True}"
1555 id="action_account_manual_reconcile" name="Journal Items"
1556 res_model="account.move.line"
1557 view_id="view_move_line_tree"/>
1561 name="Manual Reconciliation" icon="STOCK_EXECUTE"
1562 action="action_account_manual_reconcile"
1563 id="menu_manual_reconcile"
1564 parent="account.periodical_processing_reconciliation"/>
1568 id="act_account_acount_move_line_open"
1570 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':0}"
1571 res_model="account.move.line"
1572 src_model="account.account"/>
1575 id="act_account_acount_move_line_open_unreconciled"
1576 name="Unreconciled Entries"
1577 res_model="account.move.line"
1578 context="{'search_default_account_id':[active_id], 'search_default_unreconciled':1,}"
1579 src_model="account.account"/>
1581 <act_window domain="[('reconcile_id', '=', active_id)]" id="act_account_acount_move_line_reconcile_open" name="Reconciled entries" res_model="account.move.line" src_model="account.move.reconcile"/>
1586 Print Journal (and change state)
1587 Close Journal (and verify that there is no draft Entry Lines)
1590 <record id="view_journal_period_tree" model="ir.ui.view">
1591 <field name="name">account.journal.period.tree</field>
1592 <field name="model">account.journal.period</field>
1593 <field name="type">tree</field>
1594 <field name="arch" type="xml">
1595 <tree colors="blue:state in ('draft');gray:state in ('done');black:state in ('printed')" string="Journals">
1596 <field icon="icon" name="fiscalyear_id"/>
1597 <field name="period_id"/>
1598 <field name="journal_id"/>
1599 <field name="state"/>
1600 <field name="company_id" groups="base.group_multi_company"/>
1604 <record id="action_account_journal_period_tree" model="ir.actions.act_window">
1605 <field name="name">Journals</field>
1606 <field name="res_model">account.journal.period</field>
1607 <field name="view_type">tree</field>
1608 <field name="help">You can look up individual account entries by searching for useful information. To search for account entries, open a journal, then select a record line.</field>
1615 <record id="view_model_line_tree" model="ir.ui.view">
1616 <field name="name">account.model.line.tree</field>
1617 <field name="model">account.model.line</field>
1618 <field name="type">tree</field>
1619 <field name="arch" type="xml">
1620 <tree string="Journal Entry Model Line" editable="bottom">
1621 <field name="sequence"/>
1622 <field name="name"/>
1623 <field name="account_id"/>
1624 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1625 <field name="partner_id"/>
1626 <field name="debit"/>
1627 <field name="credit"/>
1628 <field name="date_maturity"/>
1634 <record id="view_model_line_form" model="ir.ui.view">
1635 <field name="name">account.model.line.form</field>
1636 <field name="model">account.model.line</field>
1637 <field name="type">form</field>
1638 <field name="arch" type="xml">
1639 <form string="Journal Entry Model Line">
1640 <field colspan="4" name="name" select="1"/>
1641 <field name="sequence"/>
1642 <field name="account_id" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
1643 <field name="analytic_account_id" groups="analytic.group_analytic_accounting"/>
1644 <field name="partner_id"/>
1645 <field name="debit" select="1"/>
1646 <field name="credit" select="1"/>
1647 <field name="quantity"/>
1648 <field name="date_maturity"/>
1653 <record id="view_model_form" model="ir.ui.view">
1654 <field name="name">account.model.form</field>
1655 <field name="model">account.model</field>
1656 <field name="type">form</field>
1657 <field name="arch" type="xml">
1658 <form string="Journal Entry Model">
1659 <field name="name"/>
1660 <field name="journal_id"/>
1661 <field name="company_id" widget='selection' groups="base.group_multi_company"/>
1662 <field colspan="4" nolabel="1" name="lines_id" height="250" widget="one2many_list"/>
1663 <separator string="Legend" colspan="4"/>
1664 <field name="legend" colspan="4" nolabel="1"/>
1665 <group col="1" colspan="4">
1666 <button name="%(action_account_use_model_create_entry)d" string="Create entries" type="action" icon="gtk-execute"/>
1672 <record id="view_model_tree" model="ir.ui.view">
1673 <field name="name">account.model.tree</field>
1674 <field name="model">account.model</field>
1675 <field name="type">tree</field>
1676 <field name="arch" type="xml">
1677 <tree string="Journal Entry Model">
1678 <field name="name"/>
1679 <field name="journal_id"/>
1680 <field name="company_id" groups="base.group_multi_company"/>
1685 <record id="view_model_search" model="ir.ui.view">
1686 <field name="name">account.model.search</field>
1687 <field name="model">account.model</field>
1688 <field name="type">search</field>
1689 <field name="arch" type="xml">
1690 <search string="Journal Entry Model">
1692 <filter string="Sale" icon="terp-sale" domain="[('journal_id.type', '=', 'sale')]"/>
1693 <filter string="Purchase" icon="terp-purchase" domain="[('journal_id.type', '=', 'purchase')]"/>
1694 <separator orientation="vertical"/>
1695 <field name="name"/>
1696 <field name="journal_id" widget="selection"/>
1697 <field name="company_id" widget="selection" groups="base.group_multi_company"/>
1700 <group expand="0" string="Group By...">
1701 <filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'journal_id'}"/>
1707 <record id="action_model_form" model="ir.actions.act_window">
1708 <field name="name">Recurring Models</field>
1709 <field name="res_model">account.model</field>
1710 <field name="view_type">form</field>
1711 <field name="view_mode">tree,form,search</field>
1712 <field name="search_view_id" ref="view_model_search"/>
1715 action="action_model_form" id="menu_action_model_form" sequence="5"
1716 parent="account.menu_configuration_misc" groups="base.group_extended,group_account_manager"/>
1722 <record id="view_payment_term_line_tree" model="ir.ui.view">
1723 <field name="name">account.payment.term.line.tree</field>
1724 <field name="model">account.payment.term.line</field>
1725 <field name="type">tree</field>
1726 <field name="arch" type="xml">
1727 <tree string="Payment Term">
1728 <field name="sequence"/>
1729 <field name="name"/>
1730 <field name="value"/>
1731 <field name="value_amount"/>
1732 <field name="days"/>
1733 <field name="days2"/>
1739 <record id="view_payment_term_line_form" model="ir.ui.view">
1740 <field name="name">account.payment.term.line.form</field>
1741 <field name="model">account.payment.term.line</field>
1742 <field name="type">form</field>
1743 <field name="arch" type="xml">
1744 <form string="Payment Term">
1745 <field name="name" select="1"/>
1746 <field name="sequence"/>
1747 <group colspan="2" col="4">
1748 <separator string="Amount Computation" colspan="4"/>
1749 <field name="value" colspan="4"/>
1750 <field name="value_amount" colspan="4" attrs="{'readonly':[('value','=','balance')]}"/>
1752 <group colspan="2" col="4">
1753 <separator string="Due date Computation" colspan="4"/>
1754 <field name="days" colspan="4"/>
1755 <field name="days2" colspan="4"/>
1759 <label string="Example: at 14 net days 2 percents, remaining amount at 30 days end of month." colspan="4"/>
1760 <group colspan="2" col="2">
1761 <label string="Line 1:" colspan="2"/>
1762 <label string=" valuation: percent"/>
1763 <label string=" number of days: 14"/>
1764 <label string=" value amount: 0.02"/>
1765 <label string=" day of the month: 0"/>
1768 <group colspan="2" col="2">
1769 <label string="Line 2:" colspan="2"/>
1770 <label string=" valuation: balance"/>
1771 <label string=" number of days: 30"/>
1772 <label string=" value amount: n.a"/>
1773 <label string=" day of the month= -1"/>
1779 <record id="view_payment_term_search" model="ir.ui.view">
1780 <field name="name">account.payment.term.search</field>
1781 <field name="model">account.payment.term</field>
1782 <field name="type">search</field>
1783 <field name="arch" type="xml">
1784 <search string="Payment Term">
1785 <field name="name"/>
1786 <field name="active"/>
1791 <record id="view_payment_term_form" model="ir.ui.view">
1792 <field name="name">account.payment.term.form</field>
1793 <field name="model">account.payment.term</field>
1794 <field name="type">form</field>
1795 <field name="arch" type="xml">
1796 <form string="Payment Term">
1797 <separator colspan="4" string="Information"/>
1798 <field name="name" select="1"/>
1799 <field name="active" select="1"/>
1800 <separator colspan="4" string="Description on invoices"/>
1801 <field colspan="4" name="note" nolabel="1"/>
1802 <separator colspan="4" string="Computation"/>
1803 <field colspan="4" name="line_ids" nolabel="1"/>
1808 <record id="action_payment_term_form" model="ir.actions.act_window">
1809 <field name="name">Payment Terms</field>
1810 <field name="res_model">account.payment.term</field>
1811 <field name="view_type">form</field>
1812 <field name="view_mode">tree,form</field>
1813 <field name="search_view_id" ref="view_payment_term_search"/>
1815 <menuitem action="action_payment_term_form"
1816 id="menu_action_payment_term_form" parent="menu_configuration_misc"
1817 groups="group_account_manager"/>
1820 # Account Subscriptions
1823 <record id="view_subscription_line_form" model="ir.ui.view">
1824 <field name="name">account.subscription.line.form</field>
1825 <field name="model">account.subscription.line</field>
1826 <field name="type">form</field>
1827 <field name="arch" type="xml">
1828 <form string="Subscription lines">
1829 <field name="date"/>
1830 <field name="move_id"/>
1835 <record id="view_subscription_line_tree" model="ir.ui.view">
1836 <field name="name">account.subscription.line.tree</field>
1837 <field name="model">account.subscription.line</field>
1838 <field name="type">tree</field>
1839 <field name="arch" type="xml">
1840 <tree string="Subscription lines">
1841 <field name="date"/>
1842 <field name="move_id"/>
1847 <record id="view_subscription_tree" model="ir.ui.view">
1848 <field name="name">account.subscription.tree</field>
1849 <field name="model">account.subscription</field>
1850 <field name="type">tree</field>
1851 <field name="arch" type="xml">
1852 <tree colors="blue:state in ('draft');gray:state in ('done');black:state in ('running')" string="Entry Subscription">
1853 <field name="name"/>
1854 <field name="model_id"/>
1856 <field name="date_start"/>
1857 <field name="state"/>
1862 <record id="view_subscription_search" model="ir.ui.view">
1863 <field name="name">account.subscription.search</field>
1864 <field name="model">account.subscription</field>
1865 <field name="type">search</field>
1866 <field name="arch" type="xml">
1867 <search string="Entry Subscription">
1868 <group col="8" colspan="4">
1869 <filter icon="terp-document-new" string="Draft" domain="[('state','=','draft')]" help="Draft Subscription"/>
1870 <filter icon="terp-camera_test" string="Running" domain="[('state','=','running')]" help="Running Subscription"/>
1871 <separator orientation="vertical"/>
1872 <field name="name"/>
1873 <field name="model_id"/>
1874 <field name="date_start"/>
1877 <group expand="0" string="Group By...">
1878 <filter string="Model" icon="terp-folder-orange" domain="[]" context="{'group_by':'model_id'}"/>
1879 <filter string="State" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
1885 <record id="view_subscription_form" model="ir.ui.view">
1886 <field name="name">account.subscription.form</field>
1887 <field name="model">account.subscription</field>
1888 <field name="type">form</field>
1889 <field name="arch" type="xml">
1890 <form string="Recurring">
1891 <group col="6" colspan="4">
1892 <field name="name" select="1"/>
1893 <field name="model_id"/>
1894 <field name="ref" select="1"/>
1896 <group col="2" colspan="2">
1897 <separator colspan="4" string="Starts on"/>
1898 <field name="date_start" select="1"/>
1899 <field name="period_total"/>
1902 <group col="2" colspan="2">
1903 <separator colspan="4" string="Valid Up to"/>
1904 <field name="period_nbr"/>
1905 <field name="period_type"/>
1908 <group col="2" colspan="2">
1910 <separator colspan="4" string="Subscription Lines"/>
1911 <field colspan="4" name="lines_id" widget="one2many_list" nolabel="1"/>
1913 <group col="6" colspan="4">
1914 <field name="state"/>
1915 <button name="state_draft" states="done" string="Set to Draft" type="object" icon="gtk-convert" />
1916 <button name="compute" states="draft" string="Compute" type="object" icon="terp-stock_format-scientific"/>
1917 <button name="remove_line" states="running" string="Remove Lines" type="object" icon="gtk-remove"/>
1922 <record id="action_subscription_form" model="ir.actions.act_window">
1923 <field name="name">Recurring Lines</field>
1924 <field name="res_model">account.subscription</field>
1925 <field name="view_type">form</field>
1926 <field name="view_mode">tree,form</field>
1927 <field name="search_view_id" ref="view_subscription_search"/>
1928 <field name="help">A recurring entry is a payment related entry that occurs on a recurrent basis from a specific date corresponding to the signature of a contract or an agreement with a customer or a supplier. With Define Recurring Entries, you can create them in the system in order to automate their entries in the system.</field>
1931 name="Define Recurring Entries" action="action_subscription_form"
1932 groups="base.group_extended,group_account_manager,group_account_user"
1933 id="menu_action_subscription_form" sequence="1"
1934 parent="account.menu_finance_recurrent_entries"/>
1936 <record id="action_subscription_form_running" model="ir.actions.act_window">
1937 <field name="name">Running Subscriptions</field>
1938 <field name="res_model">account.subscription</field>
1939 <field name="view_type">form</field>
1940 <field name="view_mode">tree,form</field>
1941 <field name="domain">[('state','=','running')]</field>
1942 <field name="filter" eval="True"/>
1945 <record id="action_subscription_form_new" model="ir.actions.act_window">
1946 <field name="name">New Subscription</field>
1947 <field name="res_model">account.subscription</field>
1948 <field name="view_type">form</field>
1949 <field name="view_mode">form,tree</field>
1950 <field name="view_id" ref="view_subscription_form"/>
1953 <record id="view_subscription_line_form_complete" model="ir.ui.view">
1954 <field name="name">account.subscription.line.form</field>
1955 <field name="model">account.subscription.line</field>
1956 <field name="type">form</field>
1957 <field eval="20" name="priority"/>
1958 <field name="arch" type="xml">
1959 <form string="Subscription lines">
1960 <field name="subscription_id"/>
1961 <field name="date"/>
1962 <field name="move_id"/>
1967 <record id="action_move_line_tree1" model="ir.actions.act_window">
1968 <field name="name">Journal Items</field>
1969 <field name="res_model">account.move.line</field>
1970 <field name="view_type">form</field>
1971 <field name="view_mode">tree,form</field>
1972 <field name="domain">[('account_id','child_of', [active_id]),('state','<>','draft')]</field>
1973 <field name="context">{'account_id':active_id}</field>
1976 <record id="view_move_line_tax_tree" model="ir.ui.view">
1977 <field name="name">account.move.line.tax.tree</field>
1978 <field name="model">account.move.line</field>
1979 <field name="type">tree</field>
1980 <field eval="4" name="priority"/>
1981 <field name="arch" type="xml">
1982 <tree colors="red:state in ('draft');black:state in ('valid')" string="Journal Items">
1983 <field name="date"/>
1984 <field name="move_id"/>
1985 <field name="statement_id" string="St."/>
1986 <field name="name"/>
1987 <field name="partner_id"/>
1988 <field name="account_id"/>
1989 <field name="tax_code_id"/>
1990 <field name="tax_amount"/>
1991 <field name="debit" sum="Total debit"/>
1992 <field name="credit" sum="Total credit"/>
1993 <field name="account_tax_id"/>
1994 <field name="analytic_account_id" domain="[('parent_id','!=',False)]" groups="analytic.group_analytic_accounting"/>
1995 <field name="state"/>
2000 <record id="action_tax_code_line_open" model="ir.actions.act_window">
2001 <field name="name">Journal Items</field>
2002 <field name="res_model">account.move.line</field>
2003 <field name="view_type">form</field>
2004 <field name="view_mode">tree,form</field>
2005 <field name="view_id" ref="view_move_line_tax_tree"/>
2006 <field name="domain">[('tax_code_id','child_of',active_id),('state','<>','draft')]</field>
2008 <record id="ir_open_tax_move_line" model="ir.values">
2009 <field name="key2">tree_but_open</field>
2010 <field name="model">account.tax.code</field>
2011 <field name="name">Tax Details</field>
2012 <field eval="'ir.actions.act_window,%d'%action_tax_code_line_open" name="value"/>
2013 <field eval="True" name="object"/>
2022 id="act_account_journal_2_account_bank_statement"
2023 name="Bank statements"
2024 context="{'search_default_journal_id':active_id,}"
2025 res_model="account.bank.statement"
2026 src_model="account.journal"/>
2029 id="act_account_journal_2_account_move_line"
2030 name="Journal Items"
2031 context="{'search_default_journal_id':active_id,}"
2032 res_model="account.move.line"
2033 src_model="account.journal"/>
2035 <act_window context="{'search_default_reconcile_id':False, 'search_default_partner_id':[active_id]}" domain="[('account_id.reconcile', '=', True),('account_id.type', 'in', ['receivable', 'payable'])]" id="act_account_partner_account_move_all" name="Receivables & Payables" res_model="account.move.line" src_model="res.partner" groups="base.group_extended"/>
2037 <act_window context="{'search_default_partner_id':[active_id]}" id="act_account_partner_account_move" name="Journal Items" res_model="account.move.line" src_model="res.partner"/>
2039 <record id="view_account_addtmpl_wizard_form" model="ir.ui.view">
2040 <field name="name">Create Account</field>
2041 <field name="model">account.addtmpl.wizard</field>
2042 <field name="type">form</field>
2043 <field name="arch" type="xml">
2044 <form string="Create Account">
2045 <separator col="4" colspan="4" string="Create an Account based on this template"/>
2046 <field name="cparent_id"/>
2048 <group col="2" colspan="2">
2049 <button icon="gtk-cancel" special="cancel" string="Cancel" name="action_cancel" type="object"/>
2050 <button icon="gtk-ok" name="action_create" string="Add" type="object"/>
2056 <act_window domain="[]" id="action_account_addtmpl_wizard_form"
2057 name="Create Account"
2059 res_model="account.addtmpl.wizard"
2060 context="{'tmpl_ids': active_id}"
2061 src_model="account.account.template"
2062 view_type="form" view_mode="form"/>
2064 <!-- Account Templates -->
2066 id="account_template_folder"
2068 parent="menu_finance_accounting"
2069 groups="base.group_multi_company,group_account_manager"/>
2071 id="account_template_taxes"
2073 parent="account_template_folder"
2074 groups="base.group_multi_company,group_account_manager" sequence="2"/>
2076 id="account_template_accounts"
2078 parent="account_template_folder"
2079 groups="base.group_multi_company,group_account_manager" sequence="1"/>
2082 <record id="view_account_template_form" model="ir.ui.view">
2083 <field name="name">account.account.template.form</field>
2084 <field name="model">account.account.template</field>
2085 <field name="type">form</field>
2086 <field name="arch" type="xml">
2087 <form string="Account Template">
2089 <page string="General Information">
2090 <field name="name"/>
2091 <field name="code"/>
2093 <field name="parent_id"/>
2094 <field name="shortcut"/>
2095 <field name="type"/>
2096 <field name="user_type"/>
2098 <field name="currency_id"/>
2099 <field name="reconcile"/>
2100 <separator string="Default taxes" colspan="4"/>
2101 <field name="tax_ids" colspan="4" nolabel="1"/>
2103 <page string="Notes">
2104 <field colspan="4" name="note" nolabel="1"/>
2111 <record id="view_account_template_tree" model="ir.ui.view">
2112 <field name="name">account.account.template.tree</field>
2113 <field name="model">account.account.template</field>
2114 <field name="type">tree</field>
2115 <field name="arch" type="xml">
2116 <tree string="Account Template">
2117 <field name="code"/>
2118 <field name="name"/>
2119 <field name="type" invisible="1"/>
2120 <field name="user_type" invisible="1"/>
2125 <record id="view_account_template_search" model="ir.ui.view">
2126 <field name="name">account.account.template.search</field>
2127 <field name="model">account.account.template</field>
2128 <field name="type">search</field>
2129 <field name="arch" type="xml">
2130 <search string="Search Account Templates">
2132 <filter icon="terp-sale" string="Receivale Accounts" domain="[('type','=','receivable')]"/>
2133 <filter icon="terp-purchase" string="Payable Accounts" domain="[('type','=','payable')]"/>
2134 <separator orientation="vertical"/>
2135 <field name="code"/>
2136 <field name="parent_id"/>
2137 <field name="type"/>
2138 <field name="user_type"/>
2141 <group expand="0" string="Group By...">
2142 <filter string="Internal Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'type'}"/>
2143 <filter string="Account Type" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'user_type'}"/>
2149 <record id="action_account_template_form" model="ir.actions.act_window">
2150 <field name="name">Account Templates</field>
2151 <field name="res_model">account.account.template</field>
2152 <field name="view_type">form</field>
2153 <field name="view_mode">tree,form,search</field>
2154 <field name="search_view_id" ref="view_account_template_search"/>
2157 <menuitem action="action_account_template_form" id="menu_action_account_template_form" parent="account_template_accounts"/>
2159 <!-- Chart of Accounts Templates -->
2161 <record id="view_account_chart_template_form" model="ir.ui.view">
2162 <field name="name">account.chart.template.form</field>
2163 <field name="model">account.chart.template</field>
2164 <field name="type">form</field>
2165 <field name="arch" type="xml">
2166 <form string="Chart of Accounts Template">
2168 <field name="name"/>
2169 <field name="account_root_id"/>
2170 <field name="bank_account_view_id"/>
2171 <field name="tax_code_root_id"/>
2173 <field name="tax_template_ids" colspan="4" readonly="1" nolabel="1"/>
2174 <separator string="Properties" colspan="4"/>
2176 <field name="property_account_receivable"/>
2177 <field name="property_account_payable"/>
2178 <field name="property_account_expense_categ" />
2179 <field name="property_account_income_categ"/>
2180 <field name="property_account_expense"/>
2181 <field name="property_account_income"/>
2182 <field name="property_reserve_and_surplus_account"/>
2187 <record id="view_account_chart_template_seacrh" model="ir.ui.view">
2188 <field name="name">account.chart.template.search</field>
2189 <field name="model">account.chart.template</field>
2190 <field name="type">search</field>
2191 <field name="arch" type="xml">
2192 <search string="Search Chart of Account Templates">
2194 <field name="name"/>
2195 <field name="account_root_id"/>
2196 <field name="bank_account_view_id"/>
2199 <group expand="0" string="Group By...">
2200 <filter string="Root Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'account_root_id'}"/>
2201 <filter string="Bank Account" icon="terp-folder-orange" domain="[]" context="{'group_by':'bank_account_view_id'}"/>
2202 <separator orientation="vertical"/>
2203 <filter string="Receivable Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_receivable'}"/>
2204 <filter string="Payable Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_payable'}"/>
2205 <separator orientation="vertical"/>
2206 <filter string="Income Account" icon="terp-sale" domain="[]" context="{'group_by':'property_account_income_categ'}"/>
2207 <filter string="Expense Account" icon="terp-purchase" domain="[]" context="{'group_by':'property_account_expense_categ'}"/>
2212 <record id="view_account_chart_template_tree" model="ir.ui.view">
2213 <field name="name">account.chart.template.tree</field>
2214 <field name="model">account.chart.template</field>
2215 <field name="type">tree</field>
2216 <field name="arch" type="xml">
2217 <tree string="Chart of Accounts Template">
2218 <field name="name"/>
2219 <field name="account_root_id"/>
2220 <field name="tax_code_root_id"/>
2221 <field name="bank_account_view_id"/>
2222 <field name="property_account_receivable" invisible="1"/>
2223 <field name="property_account_payable" invisible="1"/>
2224 <field name="property_account_expense_categ" invisible="1"/>
2225 <field name="property_account_income_categ" invisible="1"/>
2229 <record id="action_account_chart_template_form" model="ir.actions.act_window">
2230 <field name="name">Chart of Accounts Templates</field>
2231 <field name="res_model">account.chart.template</field>
2232 <field name="view_type">form</field>
2233 <field name="view_mode">tree,form,search</field>
2236 <menuitem action="action_account_chart_template_form" id="menu_action_account_chart_template_form" parent="account_template_accounts" sequence="1"/>
2238 <!-- Account Tax Templates -->
2240 <record id="view_account_tax_template_form" model="ir.ui.view">
2241 <field name="name">account.tax.template.form</field>
2242 <field name="model">account.tax.template</field>
2243 <field name="type">form</field>
2244 <field name="arch" type="xml">
2245 <form string="Account Tax Template">
2247 <field name="name"/>
2248 <field name="description"/>
2250 <field name="chart_template_id"/>
2251 <field name="type"/>
2252 <field name="type_tax_use"/>
2254 <notebook colspan="4">
2255 <page string="Tax Definition">
2256 <field name="applicable_type"/>
2257 <field name="amount" attrs="{'readonly':[('type','=','none'),('type','=','code')]}"/>
2258 <field groups="base.group_extended" name="include_base_amount"/>
2259 <field groups="base.group_extended" name="domain"/>
2261 <field name="account_collected_id"/>
2262 <label colspan="2" nolabel="1" string="Keep empty to use the income account"/>
2263 <field name="account_paid_id"/>
2264 <label colspan="2" nolabel="1" string="Keep empty to use the expense account"/>
2265 <field groups="base.group_extended" name="child_depend"/>
2266 <field groups="base.group_extended" name="sequence"/>
2268 <page string="Tax Declaration">
2269 <separator colspan="4" string="Invoices"/>
2270 <field name="base_code_id"/>
2271 <field name="base_sign"/>
2272 <field name="tax_code_id"/>
2273 <field name="tax_sign"/>
2275 <separator colspan="4" string="Credit Notes"/>
2276 <field name="ref_base_code_id"/>
2277 <field name="ref_base_sign"/>
2278 <field name="ref_tax_code_id"/>
2279 <field name="ref_tax_sign"/>
2281 <page groups="base.group_extended" string="Special Computation">
2282 <separator colspan="4" string="Compute Code (if type=code)"/>
2283 <field colspan="4" name="python_compute" nolabel="1" attrs="{'readonly':[('type','!=','code')]}"/>
2284 <separator colspan="4" string="Compute Code for Taxes included prices"/>
2285 <field colspan="4" name="python_compute_inv" nolabel="1"/>
2286 <separator colspan="4" string="Applicable Code (if type=code)"/>
2287 <field colspan="4" name="python_applicable" nolabel="1" attrs="{'readonly':[('applicable_type','=','true')]}"/>
2293 <record id="view_account_tax_template_tree" model="ir.ui.view">
2294 <field name="name">account.tax.template.tree</field>
2295 <field name="model">account.tax.template</field>
2296 <field name="type">tree</field>
2297 <field name="arch" type="xml">
2298 <tree string="Account Tax Template">
2299 <field name="name" />
2300 <field name="description"/>
2304 <record id="view_account_tax_template_search" model="ir.ui.view">
2305 <field name="name">account.tax.template.search</field>
2306 <field name="model">account.tax.template</field>
2307 <field name="type">search</field>
2308 <field name="arch" type="xml">
2309 <search string="Search Tax Templates">
2310 <group col="10" colspan="4">
2311 <filter icon="terp-sale" string="Sale" domain="[('type_tax_use','=','sale')]" help="Taxes used in Sales"/>
2312 <filter icon="terp-purchase" string="Purchase" domain="[('type_tax_use','=','purchase')]" help="Taxes used in Purchases"/>
2313 <separator orientation="vertical"/>
2314 <field name="name"/>
2315 <field name="description"/>
2316 <field name="chart_template_id"/>
2322 <record id="action_account_tax_template_form" model="ir.actions.act_window">
2323 <field name="name">Tax Templates</field>
2324 <field name="res_model">account.tax.template</field>
2325 <field name="view_type">form</field>
2326 <field name="view_mode">tree,form</field>
2327 <field name="search_view_id" ref="view_account_tax_template_search"/>
2330 <menuitem action="action_account_tax_template_form" id="menu_action_account_tax_template_form" parent="account_template_taxes" sequence="13"/>
2332 <!-- Account Tax Code Templates -->
2333 <record id="view_tax_code_template_tree" model="ir.ui.view">
2334 <field name="name">account.tax.code.template.tree</field>
2335 <field name="model">account.tax.code.template</field>
2336 <field name="type">tree</field>
2337 <field name="field_parent">child_ids</field>
2338 <field name="arch" type="xml">
2339 <tree string="Account Tax Code Template" toolbar="1">
2340 <field name="name"/>
2341 <field name="code"/>
2342 <field name="parent_id" invisible="1"/>
2347 <record id="view_tax_code_template_search" model="ir.ui.view">
2348 <field name="name">account.tax.code.template.search</field>
2349 <field name="model">account.tax.code.template</field>
2350 <field name="type">search</field>
2351 <field name="arch" type="xml">
2352 <search string="Search tax template">
2354 <field name="name"/>
2355 <field name="code"/>
2356 <field name="parent_id"/>
2359 <group expand="0" string="Group By...">
2360 <filter string="Parent Code" icon="terp-folder-orange" domain="[]" context="{'group_by':'parent_id'}"/>
2366 <record id="view_tax_code_template_form" model="ir.ui.view">
2367 <field name="name">account.tax.code.template.form</field>
2368 <field name="model">account.tax.code.template</field>
2369 <field name="type">form</field>
2370 <field name="arch" type="xml">
2371 <form string="Account Tax Code Template">
2372 <field name="name" select="1"/>
2373 <field name="code" select="1"/>
2374 <field name="parent_id" select="1"/>
2375 <field name="sign"/>
2377 <separator string="Description" colspan="4"/>
2378 <field colspan="4" name="info" nolabel="1"/>
2383 <record id="action_account_tax_code_template_form" model="ir.actions.act_window">
2384 <field name="name">Tax Code Templates</field>
2385 <field name="res_model">account.tax.code.template</field>
2386 <field name="view_type">form</field>
2387 <field name="view_mode">tree,form,search</field>
2388 <field name="search_view_id" ref="view_tax_code_template_search"/>
2390 <menuitem action="action_account_tax_code_template_form" id="menu_action_account_tax_code_template_form" parent="account_template_taxes" sequence="14"/>
2393 <!-- Wizard for Multi Charts of Accounts -->
2395 <record id="view_wizard_multi_chart" model="ir.ui.view">
2396 <field name="name">Generate Chart of Accounts from a Chart Template</field>
2397 <field name="model">wizard.multi.charts.accounts</field>
2398 <field name="type">form</field>
2399 <field name="inherit_id" ref="base.res_config_view_base"/>
2400 <field name="arch" type="xml">
2402 <form position="attributes">
2403 <attribute name="string">Accounting Application Configuration</attribute>
2405 <separator string="title" position="attributes">
2406 <attribute name="string"
2407 >Generate Your Accounting Chart from a Chart Template</attribute>
2409 <xpath expr="//label[@string='description']" position="attributes">
2410 <attribute name="string">This will automatically configure your chart of accounts, bank accounts, taxes and journals according to the selected template</attribute>
2411 <attribute name="width">150</attribute>
2413 <xpath expr='//separator[@string="vsep"]' position='attributes'>
2414 <attribute name='rowspan'>15</attribute>
2415 <attribute name='string'></attribute>
2417 <group string="res_config_contents" position="replace">
2418 <field name="company_id" widget="selection"/>
2419 <field name ="code_digits" groups="base.group_extended"/>
2420 <field name="chart_template_id" widget="selection" on_change="onchange_chart_template_id(chart_template_id)"/>
2421 <field name ="seq_journal" groups="base.group_extended"/>
2422 <field name="sale_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"/>
2423 <field name="purchase_tax" domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"/>
2424 <field colspan="4" mode="tree" name="bank_accounts_id" nolabel="1" widget="one2many_list">
2425 <form string="Bank Information">
2426 <field name="acc_name"/>
2427 <field name="account_type"/>
2428 <field name="currency_id" widget="selection" groups="base.group_extended"/>
2430 <tree editable="bottom" string="Bank Information">
2431 <field name="acc_name"/>
2432 <field name="account_type"/>
2433 <field name="currency_id" widget="selection" groups="base.group_extended"/>
2441 <record id="action_wizard_multi_chart" model="ir.actions.act_window">
2442 <field name="name">Generate Chart of Accounts from a Chart Template</field>
2443 <field name="type">ir.actions.act_window</field>
2444 <field name="res_model">wizard.multi.charts.accounts</field>
2445 <field name="view_id" ref="view_wizard_multi_chart"/>
2446 <field name="view_type">form</field>
2447 <field name="view_mode">form</field>
2448 <field name="target">new</field>
2450 <record id="ir_actions_server_action_wizard_multi_chart" model="ir.actions.server">
2451 <field name="type">ir.actions.server</field>
2452 <field name="condition">True</field>
2453 <field name="state">code</field>
2454 <field name="model_id" ref="base.model_ir_actions_todo"/>
2455 <field eval="5" name="sequence"/>
2457 act_window_ids = self.pool.get('ir.actions.act_window').search(cr, uid,[('name', 'in', ('Accounting Chart Configuration', 'Generate Chart of Accounts from a Chart Template'))], context=context)
2458 todo_ids = self.pool.get('ir.actions.todo').search(cr, uid, [('action_id', 'in', act_window_ids)], context=context)
2459 self.pool.get('ir.actions.todo').write(cr, uid, todo_ids, {'state':'open'}, context=context)
2460 action = self.pool.get('res.config').next(cr, uid, [], context)
2462 <field name="name">New Company Financial Setting</field>
2466 <record id="menu_act_ir_actions_bleble" model="ir.ui.menu">
2467 <field name="name">New Company Financial Setting</field>
2468 <field eval="1" name="sequence"/>
2469 <field name="parent_id" ref="account.menu_finance_accounting"/>
2470 <field name="icon">STOCK_EXECUTE</field>
2471 <field name="action" ref="ir_actions_server_action_wizard_multi_chart"/>
2474 <record id="account_account_graph" model="ir.ui.view">
2475 <field name="name">account.account.graph</field>
2476 <field name="model">account.account</field>
2477 <field name="type">graph</field>
2478 <field name="arch" type="xml">
2479 <graph string="Account Statistics" type="bar">
2480 <field name="name"/>
2481 <field name="balance" operator="+"/>
2486 <!-- Fiscal Position Templates -->
2488 <record id="view_account_position_template_search" model="ir.ui.view">
2489 <field name="name">account.fiscal.position.template.search</field>
2490 <field name="model">account.fiscal.position.template</field>
2491 <field name="type">search</field>
2492 <field name="arch" type="xml">
2493 <search string="Fiscal Position">
2494 <field name="name"/>
2499 <record id="view_account_position_template_form" model="ir.ui.view">
2500 <field name="name">account.fiscal.position.template.form</field>
2501 <field name="model">account.fiscal.position.template</field>
2502 <field name="type">form</field>
2503 <field name="arch" type="xml">
2504 <form string="Fiscal Position Template">
2505 <field name="name"/>
2506 <field name="chart_template_id"/>
2508 <field name="tax_ids" colspan="4" nolabel="1">
2509 <tree string="Taxes Mapping" editable="bottom">
2510 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2511 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2513 <form string="Taxes Mapping">
2514 <field name="tax_src_id" domain="[('parent_id','=',False)]"/>
2515 <field name="tax_dest_id" domain="[('parent_id','=',False)]"/>
2518 <field name="account_ids" colspan="4" nolabel="1">
2519 <tree string="Accounts Mapping" editable="bottom">
2520 <field name="account_src_id"/>
2521 <field name="account_dest_id"/>
2523 <form string="Accounts Mapping">
2524 <field name="account_src_id"/>
2525 <field name="account_dest_id"/>
2531 <record id="view_account_position_template_tree" model="ir.ui.view">
2532 <field name="name">account.fiscal.position.template.tree</field>
2533 <field name="model">account.fiscal.position.template</field>
2534 <field name="type">tree</field>
2535 <field name="arch" type="xml">
2536 <tree string="Fiscal Position">
2537 <field name="name"/>
2542 <record id="action_account_fiscal_position_template_form" model="ir.actions.act_window">
2543 <field name="name">Fiscal Position Templates</field>
2544 <field name="res_model">account.fiscal.position.template</field>
2545 <field name="view_type">form</field>
2546 <field name="view_mode">tree,form</field>
2547 <field name="search_view_id" ref="view_account_position_template_search"/>
2551 action="action_account_fiscal_position_template_form"
2552 id="menu_action_account_fiscal_position_form_template"
2553 parent="account_template_taxes" sequence="20"/>
2555 <!-- Cash Statement -->
2556 <record id="view_cash_statement_tree" model="ir.ui.view">
2557 <field name="name">account.bank.statement.tree</field>
2558 <field name="model">account.bank.statement</field>
2559 <field name="type">tree</field>
2560 <field name="arch" type="xml">
2561 <tree colors="red:balance_end_real!=balance_end;blue:state=='draft' and (balance_end_real==balance_end);black:state in ('open')" string="Statement">
2562 <field name="name"/>
2563 <field name="date"/>
2564 <field name="period_id"/>
2565 <field name="journal_id"/>
2566 <field name="balance_start"/>
2567 <field name="balance_end_real"/>
2568 <field name="balance_end"/>
2569 <field name="state"/>
2570 <button type="object" string="Cancel" name="button_cancel" states="confirm" icon="gtk-cancel"/>
2571 <button type="object" string="Open" name="button_open" states="draft" icon="terp-camera_test"/>
2572 <button type="object" string="Confirm" name="button_confirm_bank" states="open" icon="terp-gtk-go-back-rtl"/>
2577 <record id="view_bank_statement_form2" model="ir.ui.view">
2578 <field name="name">account.bank.statement.form</field>
2579 <field name="model">account.bank.statement</field>
2580 <field name="type">form</field>
2581 <field name="arch" type="xml">
2582 <form string="Statement">
2583 <group col="6" colspan="4">
2584 <field name="name" select="1"/>
2585 <field name="company_id" select="1" groups="base.group_multi_company"/>
2586 <field name="journal_id" on_change="onchange_journal_id(journal_id)" domain="[('type','=','cash')]" select="1" widget="selection"/>
2587 <field name="user_id" select="1" readonly="1"/>
2588 <field name="period_id" select="1"/>
2589 <field name="currency" invisible="1"/>
2592 <notebook colspan="4">
2593 <page string="Cash Transactions" attrs="{'invisible': [('state','=','draft')]}">
2594 <field colspan="4" name="line_ids" nolabel="1">
2595 <tree editable="bottom" string="Statement lines">
2596 <field name="sequence" invisible="1"/>
2597 <field name="date" groups="base.group_extended"/>
2598 <field name="name"/>
2600 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
2601 <field name="type" on_change="onchange_type(partner_id, type)"/>
2602 <field domain="[('journal_id','=',parent.journal_id)]" name="account_id"/>
2603 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" />
2604 <field name="amount"/>
2606 <form string="Statement lines">
2607 <field name="date"/>
2608 <field name="name"/>
2609 <field name="type" on_change="onchange_type(partner_id, type)"/>
2610 <field name="partner_id" on_change="onchange_type(partner_id, type)"/>
2611 <field domain="[('journal_id', '=', parent.journal_id), ('type', '<>', 'view')]" name="account_id"/>
2612 <field name="analytic_account_id" groups="analytic.group_analytic_accounting" />
2613 <field name="amount"/>
2615 <field name="sequence"/>
2616 <separator colspan="4" string="Notes"/>
2617 <field colspan="4" name="note" nolabel="1"/>
2621 <page string="CashBox">
2622 <group col="2" colspan="2" expand="1">
2623 <field name="starting_details_ids" nolabel="1" colspan="2" attrs="{'readonly':[('state','!=','draft')]}">
2624 <tree string = "Opening Balance" editable="bottom">
2625 <field name="pieces"/>
2626 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2627 <field name="subtotal" sum="Total"/>
2629 <form string = "Opening Balance">
2630 <field name="pieces"/>
2631 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2632 <field name="subtotal"/>
2636 <group col="2" colspan="2" expand="1">
2637 <field name="ending_details_ids" nolabel="1" colspan="2" attrs="{'readonly':[('state','!=','open')]}">
2638 <tree string = "Closing Balance" editable="bottom">
2639 <field name="pieces"/>
2640 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2641 <field name="subtotal" sum="Total"/>
2643 <form string = "Closing Balance">
2644 <field name="pieces"/>
2645 <field name="number" on_change="on_change_sub(pieces,number, parent.balance_end)"/>
2646 <field name="subtotal"/>
2651 <page string="Journal Entries" attrs="{'invisible': [('state','!=','confirm')]}">
2652 <field colspan="4" name="move_line_ids" nolabel="1" string="Journal Entries"/>
2655 <group col="6" colspan="4">
2656 <group col="2" colspan="2">
2657 <separator string="Dates" colspan="4"/>
2658 <field name="date" select="1" attrs="{'readonly':[('state','!=','draft')]}" on_change="onchange_date(date)"/>
2659 <field name="closing_date" select="1" readonly="1"/>
2661 <group col="2" colspan="2">
2662 <separator string="Opening Balance" colspan="4"/>
2663 <field name="balance_start" readonly="1" string="Opening Balance"/>
2664 <field name="total_entry_encoding"/>
2666 <group col="2" colspan="2">
2667 <separator string="Closing Balance" colspan="4"/>
2668 <field name="balance_end" string="Calculated Balance"/>
2669 <field name="balance_end_cash" string="CashBox Balance"/>
2672 <group col="8" colspan="4">
2673 <field name="state" colspan="4"/>
2674 <button name="button_cancel" states="confirm,open" string="Cancel" icon="terp-gtk-stop" type="object" groups="base.group_extended"/>
2675 <button name="button_confirm_cash" states="open" string="Close CashBox" icon="terp-dialog-close" type="object"/>
2676 <button name="button_open" states="draft" string="Open CashBox" icon="gtk-go-forward" type="object"/>
2681 <record id="account_cash_statement_graph" model="ir.ui.view">
2682 <field name="name">account.bank.statement.graph</field>
2683 <field name="model">account.bank.statement</field>
2684 <field name="type">graph</field>
2685 <field name="arch" type="xml">
2686 <graph string="Account Statistics" type="bar">
2687 <field name="date"/>
2688 <field name="balance_start" operator="+"/>
2689 <field name="balance_end" operator="+"/>
2693 <record id="action_view_bank_statement_tree" model="ir.actions.act_window">
2694 <field name="name">Cash Registers</field>
2695 <field name="type">ir.actions.act_window</field>
2696 <field name="res_model">account.bank.statement</field>
2697 <field name="view_type">form</field>
2698 <field name="view_mode">tree,form,graph</field>
2699 <field name="view_id" ref="view_cash_statement_tree"/>
2700 <field name="search_view_id" ref="view_account_bank_statement_filter"/>
2701 <field name="domain">[('journal_id.type', '=', 'cash')]</field>
2702 <field name="context">{'journal_type':'cash'}</field>
2703 <field name="help">Cash Register allows you to manage cash entries in your cash journals.</field>
2705 <record model="ir.actions.act_window.view" id="act_cash_statement1_all">
2706 <field name="sequence" eval="1"/>
2707 <field name="view_mode">tree</field>
2708 <field name="view_id" ref="view_cash_statement_tree"/>
2709 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2711 <record model="ir.actions.act_window.view" id="act_cash_statement2_all">
2712 <field name="sequence" eval="1"/>
2713 <field name="view_mode">form</field>
2714 <field name="view_id" ref="view_bank_statement_form2"/>
2715 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2717 <record model="ir.actions.act_window.view" id="act_cash_statement3_all">
2718 <field name="sequence" eval="1"/>
2719 <field name="view_mode">graph</field>
2720 <field name="view_id" ref="account_cash_statement_graph"/>
2721 <field name="act_window_id" ref="action_view_bank_statement_tree"/>
2723 <menuitem action="action_view_bank_statement_tree" id="journal_cash_move_lines" parent="menu_finance_bank_and_cash"
2724 groups="group_account_user,group_account_manager"/>