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= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Configure Accounting" class= "oe_form_configuration" >
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-08-02 14:23:02 +00:00
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" />
2012-07-23 12:18:12 +00:00
<separator string= "Chart of Accounts" groups= "base.group_multi_company" />
2012-06-22 14:39:18 +00:00
<group groups= "base.group_multi_company" >
2012-07-23 11:15:11 +00:00
<label for= "id" string= "Chart of Accounts" />
<div >
<div attrs= "{'invisible': [('has_default_company', '=', True)]}" >
<label for= "company_id" string= "Select Company" />
<field name= "company_id"
widget="selection"
2013-02-13 16:41:57 +00:00
on_change="onchange_company_id(company_id, context)"
2012-07-23 11:15:11 +00:00
class="oe_inline"/>
</div>
<div >
<field name= "expects_chart_of_accounts" class= "oe_inline" />
<label for= "expects_chart_of_accounts" />
</div>
</div>
2012-06-05 08:19:10 +00:00
</group>
2012-08-07 17:11:01 +00:00
<separator string= "Chart of Accounts" attrs= "{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}" />
2012-07-23 11:15:11 +00:00
<group attrs= "{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_chart_of_accounts','=',True)]}" >
2012-08-02 15:37:19 +00:00
<label for= "id" string= "Chart of Account" />
2012-07-23 11:15:11 +00:00
<div >
<div >
2012-08-02 15:37:19 +00:00
<label for= "chart_template_id" />
2012-07-23 11:15:11 +00:00
<field name= "chart_template_id"
widget="selection"
domain="[('visible','=', True)]"
on_change="onchange_chart_template_id(chart_template_id)"
class="oe_inline"/>
2012-08-02 15:37:19 +00:00
<button string= "Install more chart templates"
2012-07-23 11:15:11 +00:00
icon="gtk-go-forward"
name="%(open_account_charts_modules)d"
type="action"
class="oe_link"/>
</div>
<div groups= "account.group_account_user" >
<label for= "code_digits" />
<field name= "code_digits" class= "oe_inline" />
</div>
<div attrs= "{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}" >
<label for= "sale_tax" />
<field name= "sale_tax"
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('sale','all'))]"
class="oe_inline"/>
</div>
<div attrs= "{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',False)]}" >
<label for= "purchase_tax" />
2012-07-31 16:30:56 +00:00
<field name= "purchase_tax"
2012-07-23 11:15:11 +00:00
domain="[('chart_template_id', '=', chart_template_id),('parent_id','=',False),('type_tax_use','in',('purchase', 'all'))]"
2012-07-31 16:30:56 +00:00
class="oe_inline"/>
2012-07-23 11:15:11 +00:00
</div>
<div attrs= "{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}" >
<label for= "sale_tax_rate" />
2012-07-31 16:30:56 +00:00
<field name= "sale_tax_rate" on_change= "onchange_tax_rate(sale_tax_rate)" />
2012-07-23 11:15:11 +00:00
</div>
<div attrs= "{'invisible': ['|', ('chart_template_id','=',False), ('complete_tax_set','=',True)]}" >
<label for= "purchase_tax_rate" />
<field name= "purchase_tax_rate" />
</div>
</div>
2012-06-05 08:19:10 +00:00
</group>
2012-07-23 11:15:11 +00:00
<separator string= "No Fiscal Year Defined for This Company" attrs= "{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_fiscal_year','=',True)]}" />
<group attrs= "{'invisible': ['|', ('expects_chart_of_accounts','=',False), ('has_fiscal_year','=',True)]}" >
<label for= "id" string= "Fiscal Year" />
2012-06-22 14:39:18 +00:00
<div >
2012-07-23 11:15:11 +00:00
<div >
<label for= "date_start" string= "Date Range" />
<field name= "date_start"
on_change="onchange_start_date(date_start)"
class="oe_inline"/> -
<field name= "date_stop" class= "oe_inline" />
</div>
<div >
<label for= "period" />
<field name= "period" class= "oe_inline" />
</div>
2012-06-22 14:39:18 +00:00
</div>
2012-06-05 08:19:10 +00:00
</group>
2012-08-06 19:56:20 +00:00
<separator string= "Accounting & Finance" />
<group >
<label for= "id" string= "Options" />
<div name= "account_config" >
<div >
<label for= "currency_id" />
<field name= "currency_id" class= "oe_inline" />
</div>
<div >
<label for= "decimal_precision" />
<field name= "decimal_precision" class= "oe_inline" />
</div>
<div >
<label for= "tax_calculation_rounding_method" />
<field name= "tax_calculation_rounding_method" class= "oe_inline" />
</div>
</div>
<label for= "id" string= "Features" />
<div >
2012-10-15 13:50:27 +00:00
<div name= "group_multi_currency" >
2014-04-21 05:34:56 +00:00
<field name= "group_multi_currency" class= "oe_inline" on_change= "onchange_multi_currency(group_multi_currency)" />
2012-08-31 08:44:55 +00:00
<label for= "group_multi_currency" />
2014-09-04 09:32:16 +00:00
<group attrs= "{'invisible': [('group_multi_currency', '<>', True)]}" col= "2" >
<group >
<field name= "income_currency_exchange_account_id" />
<field name= "expense_currency_exchange_account_id" />
</group>
<group >
</group>
</group>
2012-08-31 08:44:55 +00:00
</div>
2012-08-06 19:56:20 +00:00
<div >
<field name= "module_account_accountant" class= "oe_inline" />
<label for= "module_account_accountant" />
</div>
2012-09-27 08:02:08 +00:00
<div >
2013-04-11 10:46:43 +00:00
<field name= "group_analytic_accounting" class= "oe_inline" on_change= "onchange_analytic_accounting(group_analytic_accounting, context)" />
2012-09-27 08:02:08 +00:00
<label for= "group_analytic_accounting" />
</div>
2012-08-06 19:56:20 +00:00
<div >
<field name= "module_account_asset" class= "oe_inline" />
<label for= "module_account_asset" />
</div>
<div >
<field name= "module_account_budget" class= "oe_inline" />
<label for= "module_account_budget" />
</div>
</div>
</group>
2012-08-02 14:23:02 +00:00
<separator string= "eInvoicing & Payments" />
2012-07-05 11:13:51 +00:00
<group >
2012-08-02 14:23:02 +00:00
<label for= "id" string= "Customer" />
2012-07-23 11:15:11 +00:00
<div >
2012-08-02 14:23:02 +00:00
<div attrs= "{'invisible': [('has_chart_of_accounts','=',False)]}" >
<label for= "default_sale_tax" />
<field name= "default_sale_tax"
domain="[('type_tax_use','=','sale'), ('company_id','=',company_id)]"
class="oe_inline"/>
</div>
2012-07-23 11:15:11 +00:00
<div >
<label for= "sale_sequence_next" />
<field name= "sale_sequence_prefix"
2012-07-31 16:30:56 +00:00
class="oe_inline"
2012-06-22 14:39:18 +00:00
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
2012-07-23 11:15:11 +00:00
<field name= "sale_sequence_next"
class="oe_inline"
attrs="{'readonly': [('sale_journal_id','=',False)]}"/>
</div>
<div >
<label for= "sale_refund_sequence_next" />
<field name= "sale_refund_sequence_prefix"
2012-07-31 16:30:56 +00:00
class="oe_inline"
2012-06-22 14:39:18 +00:00
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
2012-07-23 11:15:11 +00:00
<field name= "sale_refund_sequence_next"
class="oe_inline"
attrs="{'readonly': [('sale_refund_journal_id','=',False)]}"/>
</div>
2012-08-02 15:37:19 +00:00
<div >
<field name= "group_proforma_invoices" class= "oe_inline" />
<label for= "group_proforma_invoices" />
</div>
2012-07-23 11:15:11 +00:00
<div >
<field name= "module_account_voucher" class= "oe_inline" />
<label for= "module_account_voucher" />
</div>
<div >
<field name= "module_account_followup" class= "oe_inline" />
<label for= "module_account_followup" />
</div>
2014-01-13 13:18:45 +00:00
<div >
2014-01-24 11:08:02 +00:00
<field name= "module_product_email_template" class= "oe_inline" />
<label for= "module_product_email_template" />
2014-01-13 13:18:45 +00:00
</div>
2012-07-23 11:15:11 +00:00
</div>
2012-08-02 15:37:19 +00:00
</group>
<group >
2012-08-02 14:23:02 +00:00
<label for= "id" string= "Supplier" />
2012-07-23 11:15:11 +00:00
<div name= "other_cofing" >
2012-08-02 14:23:02 +00:00
<div attrs= "{'invisible': [('has_chart_of_accounts','=',False)]}" >
<label for= "default_purchase_tax" />
<field name= "default_purchase_tax"
domain="[('type_tax_use','=','purchase'), ('company_id','=',company_id)]"
class="oe_inline"/>
</div>
2012-07-23 11:15:11 +00:00
<div >
<label for= "purchase_sequence_next" />
<field name= "purchase_sequence_prefix"
2012-07-31 16:30:56 +00:00
class="oe_inline"
2012-06-22 14:39:18 +00:00
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
2012-07-23 11:15:11 +00:00
<field name= "purchase_sequence_next"
class="oe_inline"
attrs="{'readonly': [('purchase_journal_id','=',False)]}"/>
</div>
<div >
<label for= "purchase_refund_sequence_next" />
<field name= "purchase_refund_sequence_prefix"
2012-07-31 16:30:56 +00:00
class="oe_inline"
2012-06-22 14:39:18 +00:00
help='If you put "%%(year)s" in the prefix, it will be replaced by the current year.'/>
2012-07-23 11:15:11 +00:00
<field name= "purchase_refund_sequence_next"
class="oe_inline"
attrs="{'readonly': [('purchase_refund_journal_id','=',False)]}"/>
</div>
<div >
<field name= "module_account_payment" class= "oe_inline" />
<label for= "module_account_payment" />
</div>
2012-08-03 10:28:53 +00:00
<div >
<field name= "module_account_check_writing" class= "oe_inline" />
<label for= "module_account_check_writing" />
</div>
2012-10-24 09:13:13 +00:00
<div >
<field name= "group_check_supplier_invoice_total" class= "oe_inline" />
<label for= "group_check_supplier_invoice_total" />
</div>
2012-07-23 11:15:11 +00:00
</div>
</group>
2012-08-02 15:37:19 +00:00
<separator string= "Bank & Cash" />
2012-10-26 17:05:48 +00:00
<group name= "bank_cash" >
2012-08-02 15:37:19 +00:00
<label for= "id" string= "Configuration" />
2012-07-23 11:15:11 +00:00
<div >
2014-01-23 14:52:10 +00:00
<div name= 'company_footer' >
2012-09-11 09:58:34 +00:00
<label for= "company_footer" />
2012-09-13 12:43:32 +00:00
<button name= "open_company_form" type= "object"
string="Configure your company bank accounts" icon="gtk-go-forward"
2012-08-02 15:37:19 +00:00
class="oe_inline oe_link"/>
2012-08-06 19:56:20 +00:00
<field name= "company_footer" />
2012-08-02 15:37:19 +00:00
</div>
2014-01-23 14:52:10 +00:00
<div name= 'payment_acquirer' >
2012-07-23 11:15:11 +00:00
<label for= "paypal_account" />
2014-07-09 11:39:38 +00:00
<field name= "paypal_account" placeholder= "e.g. sales@odoo.com" class= "oe_inline" />
2012-07-23 11:15:11 +00:00
</div>
</div>
</group>
<separator name= "analytic_account" string= "Analytic Accounting" invisible= "1" />
2012-08-03 12:46:59 +00:00
<group name= "analytic_account_sale" invisible= "1" >
2012-08-02 15:42:11 +00:00
<label for= "id" string= "Sale" />
2012-08-03 12:46:59 +00:00
<div />
</group>
<group name= "analytic_account_purchase" invisible= "1" >
2012-08-02 15:42:11 +00:00
<label for= "id" string= "Purchase" />
2012-08-03 12:46:59 +00:00
<div />
2012-06-05 08:19:10 +00:00
</group>
2012-07-05 11:13:51 +00:00
<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" />
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
2012-10-16 11:23:23 +00:00
<menuitem id= "menu_account_config" name= "Invoicing" 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>