2012-03-07 12:43:01 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="view_account_config" model="ir.ui.view">
|
|
|
|
<field name="name">Accounting Application</field>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="model">account.installer</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-03-09 10:38:12 +00:00
|
|
|
<form string="Accounting Applications">
|
|
|
|
<field name="chart_template_id" invisible="1"/>
|
|
|
|
<group col="4" colspan="4" string="Warning" attrs="{'invisible': [('chart_template_id','!=',False)]}">
|
|
|
|
<label string="You have no chart of accounts or taxes defined for this company. Select a chart of account to proceed." colspan="4"/>
|
|
|
|
<field name="charts"/>
|
2012-03-13 09:32:32 +00:00
|
|
|
<button name="install_chartofaccounts" string="Install Chart of Account" icon="gtk-execute" type="object"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
</group>
|
|
|
|
<field name="fiscalyear_id" invisible="1"/>
|
|
|
|
<group col="4" colspan="4" string="Warning" attrs="{'invisible': [('fiscalyear_id','!=',False)]}">
|
|
|
|
<field name="has_default_company" invisible="1" />
|
|
|
|
<field name="date_start" on_change="on_change_start_date(date_start)"/>
|
|
|
|
<field name="date_stop"/>
|
|
|
|
<field name="period" colspan="4"/>
|
|
|
|
<newline/>
|
2012-03-16 11:16:25 +00:00
|
|
|
<group col="4" colspan="4">
|
|
|
|
<label string="You have no fiscal year/period open for this date."/>
|
|
|
|
<button name="configure_fiscalyear" string="Configure Fiscalyear" icon="gtk-execute" type="object"/>
|
|
|
|
</group>
|
2012-03-09 10:38:12 +00:00
|
|
|
</group>
|
2012-03-16 09:34:21 +00:00
|
|
|
<field name="company_id" widget="selection" readonly="1" on_change="on_change_company_id(company_id)" attrs="{'invisible': [('has_default_company', '=', True)]} " />
|
2012-03-09 10:38:12 +00:00
|
|
|
<separator string="Accounting Configuration" colspan="4"/>
|
|
|
|
<group col="4" colspan="4">
|
2012-03-16 09:34:21 +00:00
|
|
|
<field name ="complete_tax_set" invisible="1"/>
|
|
|
|
<field name ="multi_charts_id" invisible="1"/>
|
|
|
|
<newline/>
|
2012-03-07 12:43:01 +00:00
|
|
|
<group col="2" colspan="2">
|
2012-03-16 09:34:21 +00:00
|
|
|
<field name="taxes_id" attrs="{'invisible': [('complete_tax_set', '!=', True)]}"/>
|
|
|
|
<field name="sale_tax_rate" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="module_account_accountant"/>
|
|
|
|
<field name="module_account_asset"/>
|
|
|
|
<field name="group_dates_periods"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
2012-03-16 09:34:21 +00:00
|
|
|
<field name="supplier_taxes_id" attrs="{'invisible': [('complete_tax_set', '!=', True)]}"/>
|
|
|
|
<field name="purchase_tax_rate" attrs="{'invisible': [('complete_tax_set', '=', True)]}"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="currency_id" widget="selection"/>
|
|
|
|
<field name="module_account_budget"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
2012-03-09 10:38:12 +00:00
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Customer Invoices" colspan="2"/>
|
|
|
|
<group col="4" colspan="2">
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="sale_journal_id" invisible="1"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="customer_invoice_sequence_prefix"/>
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="customer_invoice_sequence_next" nolabel="1"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
2012-03-09 10:38:12 +00:00
|
|
|
<group col="4" colspan="2">
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="sale_refund_journal_id" invisible="1"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="customer_refund_sequence_prefix"/>
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="customer_refund_sequence_next" nolabel="1"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="module_account_invoice_layout"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="module_account_voucher"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="module_account_followup"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="group_proforma_invoices"/>
|
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Supplier Invoices" colspan="2"/>
|
|
|
|
<group col="4" colspan="2">
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="purchase_journal_id" invisible="1"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="supplier_invoice_sequence_prefix"/>
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="supplier_invoice_sequence_next" nolabel="1" colspan="1"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
</group>
|
|
|
|
<newline/>
|
|
|
|
<group col="4" colspan="2">
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="purchase_refund_journal_id" invisible="1"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="supplier_refund_sequence_prefix"/>
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="supplier_refund_sequence_next" nolabel="1"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
</group>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="module_account_payment"/>
|
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Electronic Payments" colspan="2"/>
|
2012-03-09 10:53:12 +00:00
|
|
|
<field name="default_paypal_account"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Bank & Cash" colspan="2"/>
|
2012-03-09 12:50:12 +00:00
|
|
|
<field name="company_footer" nolabel="1" colspan="2"/>
|
2012-03-09 10:38:12 +00:00
|
|
|
<newline/>
|
|
|
|
<label string="Setup your bank accounts: "/>
|
|
|
|
<button name="%(action_bank_tree)d" string="Setup Your Bank Accounts" icon="gtk-execute" type="action"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="module_account_check_writing"/>
|
|
|
|
</group>
|
|
|
|
<group col="2" colspan="2">
|
|
|
|
<separator string="Analytic Accounting" colspan="2"/>
|
|
|
|
<field name="group_analytic_account_for_sales"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="group_analytic_account_for_purchase"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="module_account_analytic_plans"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="module_account_analytic_default"/>
|
|
|
|
</group>
|
2012-03-07 12:43:01 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_account_config" model="ir.actions.act_window">
|
|
|
|
<field name="name">Configure Accounting Application</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
2012-03-09 10:38:12 +00:00
|
|
|
<field name="res_model">account.installer</field>
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="view_id" ref="view_account_config"/>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
</record>
|
|
|
|
|
2012-03-09 10:38:12 +00:00
|
|
|
<menuitem id="menu_account_config" name="Accounting" parent="base.menu_config" sequence="2" action="action_account_config"/>
|
2012-03-07 12:43:01 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
</openerp>
|