2012-03-07 12:43:01 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2012-03-28 08:03:26 +00:00
|
|
|
|
2012-04-02 08:51:58 +00:00
|
|
|
<record id="open_account_charts_modules" model="ir.actions.act_window">
|
|
|
|
<field name="name">Chart Templates</field>
|
|
|
|
<field name="res_model">ir.module.module</field>
|
|
|
|
<field name="view_mode">kanban,tree,form</field>
|
|
|
|
<field name="context" eval="{'search_default_category_id': ref('base.module_category_localization_account_charts')}"/>
|
|
|
|
<field name="search_view_id" ref="base.view_module_filter"/>
|
|
|
|
</record>
|
|
|
|
|
2012-03-28 08:03:26 +00:00
|
|
|
<record id="view_account_config_settings" model="ir.ui.view">
|
|
|
|
<field name="name">account settings</field>
|
2012-03-28 09:05:10 +00:00
|
|
|
<field name="model">account.config.settings</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 13:50:41 +00:00
|
|
|
<form string="Configure Accounting" version="7.0">
|
2012-06-04 12:11:39 +00:00
|
|
|
<header>
|
2012-06-29 08:30:24 +00:00
|
|
|
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
|
2012-06-27 14:27:10 +00:00
|
|
|
or
|
2012-06-27 14:50:49 +00:00
|
|
|
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
|
2012-06-04 12:11:39 +00:00
|
|
|
</header>
|
2012-06-13 08:18:41 +00:00
|
|
|
<sheet>
|
2012-06-22 14:39:18 +00:00
|
|
|
<field name="has_default_company" invisible="1" />
|
|
|
|
<field name="has_chart_of_accounts" invisible="1"/>
|
|
|
|
<field name="complete_tax_set" invisible="1"/>
|
|
|
|
<field name="has_fiscal_year" invisible="1"/>
|
|
|
|
|
|
|
|
<group groups="base.group_multi_company">
|
|
|
|
<field name="company_id" string="Select Company" widget="selection"
|
|
|
|
on_change="onchange_company_id(company_id)"
|
2012-04-10 13:02:00 +00:00
|
|
|
attrs="{'invisible': [('has_default_company', '=', True)]}"/>
|
|
|
|
<field name="expects_chart_of_accounts"/>
|
2012-06-05 08:19:10 +00:00
|
|
|
</group>
|
2012-03-29 07:42:54 +00:00
|
|
|
|
2012-06-25 07:23:15 +00:00
|
|
|
<div class="oe_form_button_save_dirty">
|
2012-06-22 14:39:18 +00:00
|
|
|
<group string="Select a Chart of Accounts to Install"
|
|
|
|
attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}">
|
|
|
|
<group>
|
|
|
|
<field name="chart_template_id" widget="selection" domain="[('visible','=', True)]"
|
|
|
|
on_change="onchange_chart_template_id(chart_template_id)"/>
|
|
|
|
<field name="code_digits" groups="account.group_account_user"/>
|
|
|
|
<field name="sale_tax" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}"
|
|
|
|
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"/>
|
|
|
|
<field name="purchase_tax" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}"
|
|
|
|
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"/>
|
|
|
|
<field name="sale_tax_rate" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}" on_change="onchange_tax_rate(sale_tax_rate)"/>
|
|
|
|
<field name="purchase_tax_rate" attrs="{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}"/>
|
|
|
|
</group>
|
2012-06-05 08:19:10 +00:00
|
|
|
<button string="Install More Chart Templates" icon="gtk-go-forward"
|
|
|
|
name="%(open_account_charts_modules)d" type="action"/>
|
|
|
|
</group>
|
2012-06-22 14:56:56 +00:00
|
|
|
</div>
|
2012-03-29 09:36:48 +00:00
|
|
|
|
2012-06-25 07:23:15 +00:00
|
|
|
<div class="oe_form_button_save_dirty">
|
2012-06-22 14:39:18 +00:00
|
|
|
<group string="No Fiscal Year Defined for This Company"
|
|
|
|
attrs="{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_fiscal_year','=',True)]}">
|
|
|
|
<label for="date_start" string="Date Range"/>
|
|
|
|
<div>
|
|
|
|
<field name="date_start" on_change="onchange_start_date(date_start)" class="oe_inline"/> -
|
|
|
|
<field name="date_stop" class="oe_inline"/>
|
|
|
|
</div>
|
|
|
|
<field name="period"/>
|
2012-06-05 08:19:10 +00:00
|
|
|
</group>
|
2012-06-22 14:56:56 +00:00
|
|
|
</div>
|
2012-03-29 07:42:54 +00:00
|
|
|
|
2012-06-22 14:39:18 +00:00
|
|
|
<group string="Accounting Configuration">
|
|
|
|
<group>
|
|
|
|
<field name="default_sale_tax" domain="[('type_tax_use','=','sale'), ('company_id','=',company_id)]"
|
|
|
|
attrs="{'invisible': [('has_chart_of_accounts','=',False)]}"/>
|
2012-06-05 08:19:10 +00:00
|
|
|
<field name="module_account_accountant"/>
|
|
|
|
<field name="currency_id"/>
|
|
|
|
<field name="decimal_precision"/>
|
2012-06-22 14:39:18 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="default_purchase_tax" domain="[('type_tax_use','=','purchase'), ('company_id','=',company_id)]"
|
|
|
|
attrs="{'invisible': [('has_chart_of_accounts','=',False)]}"/>
|
|
|
|
<field name="module_account_asset"/>
|
|
|
|
<field name="module_account_budget"/>
|
|
|
|
</group>
|
2012-06-05 08:19:10 +00:00
|
|
|
</group>
|
|
|
|
|
|
|
|
<field name="sale_journal_id" invisible="1"/>
|
|
|
|
<field name="sale_refund_journal_id" invisible="1"/>
|
|
|
|
<field name="purchase_journal_id" invisible="1"/>
|
|
|
|
<field name="purchase_refund_journal_id" invisible="1"/>
|
|
|
|
<group>
|
|
|
|
<group string="Customer Invoices">
|
2012-06-22 14:39:18 +00:00
|
|
|
<label for="sale_sequence_next"/>
|
|
|
|
<group>
|
|
|
|
<field name="sale_sequence_prefix" class="oe_inline" nolabel="1"
|
|
|
|
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
|
|
|
|
<field name="sale_sequence_next" class="oe_inline" nolabel="1" attrs="{'readonly': [('sale_journal_id','=',False)]}"/>
|
|
|
|
</group>
|
|
|
|
<label for="sale_refund_sequence_next"/>
|
|
|
|
<group>
|
|
|
|
<field name="sale_refund_sequence_prefix" class="oe_inline" nolabel="1"
|
|
|
|
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
|
|
|
|
<field name="sale_refund_sequence_next" class="oe_inline" nolabel="1" attrs="{'readonly': [('sale_refund_journal_id','=',False)]}"/>
|
|
|
|
</group>
|
2012-04-10 13:02:00 +00:00
|
|
|
<field name="module_account_voucher"/>
|
|
|
|
<field name="module_account_followup"/>
|
|
|
|
<field name="group_proforma_invoices"/>
|
|
|
|
</group>
|
2012-06-22 14:39:18 +00:00
|
|
|
|
2012-06-05 08:19:10 +00:00
|
|
|
<group string="Supplier Invoices">
|
2012-06-22 14:39:18 +00:00
|
|
|
<label for="purchase_sequence_next"/>
|
|
|
|
<group>
|
|
|
|
<field name="purchase_sequence_prefix" class="oe_inline" nolabel="1"
|
|
|
|
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
|
|
|
|
<field name="purchase_sequence_next" class="oe_inline" nolabel="1" attrs="{'readonly': [('purchase_journal_id','=',False)]}"/>
|
|
|
|
</group>
|
|
|
|
<label for="purchase_refund_sequence_next"/>
|
|
|
|
<group>
|
|
|
|
<field name="purchase_refund_sequence_prefix" class="oe_inline" nolabel="1"
|
|
|
|
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
|
|
|
|
<field name="purchase_refund_sequence_next" class="oe_inline" nolabel="1"
|
2012-06-05 08:19:10 +00:00
|
|
|
attrs="{'readonly': [('purchase_refund_journal_id','=',False)]}"/>
|
2012-06-22 14:39:18 +00:00
|
|
|
</group>
|
2012-04-10 13:02:00 +00:00
|
|
|
<field name="module_account_payment"/>
|
|
|
|
</group>
|
2012-06-22 14:39:18 +00:00
|
|
|
|
2012-06-05 08:19:10 +00:00
|
|
|
<group string="Electronic Payments">
|
2012-06-22 14:39:18 +00:00
|
|
|
<field name="paypal_account" placeholder="sales@openerp.com"/>
|
2012-04-10 13:02:00 +00:00
|
|
|
</group>
|
2012-06-22 14:39:18 +00:00
|
|
|
|
2012-06-05 08:19:10 +00:00
|
|
|
<group string="Bank & Cash">
|
2012-06-22 14:39:18 +00:00
|
|
|
<label for="id" string="Configure Bank Accounts"/>
|
2012-04-10 13:02:00 +00:00
|
|
|
<button name="%(action_bank_tree)d" string="Configure Bank Accounts" icon="gtk-go-forward" type="action"/>
|
|
|
|
<field name="company_footer"/>
|
|
|
|
<field name="module_account_check_writing"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
2012-06-22 14:39:18 +00:00
|
|
|
|
2012-06-05 08:19:10 +00:00
|
|
|
<group name="analytic_accounting" invisible="1" string="Analytic Accounting"/>
|
|
|
|
</group>
|
2012-04-10 13:02:00 +00:00
|
|
|
</sheet>
|
2012-03-07 12:43:01 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
2012-03-28 08:03:26 +00:00
|
|
|
|
2012-03-07 12:43:01 +00:00
|
|
|
<record id="action_account_config" model="ir.actions.act_window">
|
2012-03-28 08:03:26 +00:00
|
|
|
<field name="name">Configure Accounting</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="type">ir.actions.act_window</field>
|
2012-03-28 09:05:10 +00:00
|
|
|
<field name="res_model">account.config.settings</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="view_mode">form</field>
|
2012-04-05 10:22:35 +00:00
|
|
|
<field name="target">inline</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
</record>
|
2012-03-28 08:03:26 +00:00
|
|
|
|
|
|
|
<menuitem id="menu_account_config" name="Accounting" parent="base.menu_config"
|
2012-04-18 13:29:52 +00:00
|
|
|
sequence="14" action="action_account_config"/>
|
2012-03-28 08:03:26 +00:00
|
|
|
|
2012-03-07 12:43:01 +00:00
|
|
|
</data>
|
2012-03-28 08:03:26 +00:00
|
|
|
</openerp>
|