2010-06-25 16:07:45 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-07-13 17:08:38 +00:00
|
|
|
<openerp>
|
|
|
|
<data noupdate="0">
|
2008-09-03 22:46:50 +00:00
|
|
|
|
2008-08-12 12:55:37 +00:00
|
|
|
<record id="group_account_invoice" model="res.groups">
|
2011-12-12 13:35:23 +00:00
|
|
|
<field name="name">Invoicing & Payments</field>
|
|
|
|
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
2012-04-04 09:08:30 +00:00
|
|
|
<field name="users" eval="[(4, ref('base.user_root'))]"/>
|
2008-08-12 12:55:37 +00:00
|
|
|
</record>
|
2012-04-04 09:08:30 +00:00
|
|
|
<record id="group_account_user" model="res.groups">
|
2011-12-12 13:35:23 +00:00
|
|
|
<field name="name">Accountant</field>
|
|
|
|
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
2011-08-02 13:08:11 +00:00
|
|
|
<field name="implied_ids" eval="[(4, ref('group_account_invoice'))]"/>
|
2008-08-12 12:55:37 +00:00
|
|
|
</record>
|
2012-04-04 09:08:30 +00:00
|
|
|
<record id="group_account_manager" model="res.groups">
|
2011-12-12 13:35:23 +00:00
|
|
|
<field name="name">Manager</field>
|
|
|
|
<field name="category_id" ref="base.module_category_accounting_and_finance"/>
|
2011-08-02 13:08:11 +00:00
|
|
|
<field name="implied_ids" eval="[(4, ref('group_account_user'))]"/>
|
2008-08-18 15:16:35 +00:00
|
|
|
</record>
|
2008-10-17 08:41:09 +00:00
|
|
|
|
2012-03-29 14:27:31 +00:00
|
|
|
<record id="group_proforma_invoices" model="res.groups">
|
2012-03-07 12:43:01 +00:00
|
|
|
<field name="name">Pro-forma Invoices</field>
|
|
|
|
<field name="category_id" ref="base.module_category_hidden"/>
|
|
|
|
</record>
|
2008-10-17 08:41:09 +00:00
|
|
|
|
2012-07-13 17:08:38 +00:00
|
|
|
</data>
|
|
|
|
<data noupdate="1">
|
|
|
|
|
2010-04-28 12:51:09 +00:00
|
|
|
<record id="account_move_comp_rule" model="ir.rule">
|
2009-11-26 07:54:03 +00:00
|
|
|
<field name="name">Account Entry</field>
|
2009-11-26 11:37:39 +00:00
|
|
|
<field ref="model_account_move" name="model_id"/>
|
2009-11-26 07:54:03 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2009-11-25 17:50:23 +00:00
|
|
|
|
2010-04-28 12:51:09 +00:00
|
|
|
<record id="account_move_line_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Entry lines</field>
|
2009-11-26 11:37:39 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_move_line"/>
|
2009-11-26 07:54:03 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="journal_period_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Journal Period</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_journal_period"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2011-03-10 07:04:12 +00:00
|
|
|
|
2009-11-26 07:57:03 +00:00
|
|
|
|
2010-04-28 12:51:09 +00:00
|
|
|
<record id="journal_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Journal multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_journal"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="analytic_journal_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Analytic journal multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_analytic_journal"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="period_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Period multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_period"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="fiscal_year_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Fiscal year multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_fiscalyear"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="account_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Account multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_account"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="tax_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Tax multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_tax"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="tax_code_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Tax code multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_tax_code"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
2010-04-28 12:51:09 +00:00
|
|
|
|
|
|
|
<record id="invoice_comp_rule" model="ir.rule">
|
2010-06-13 21:16:36 +00:00
|
|
|
<field name="name">Invoice multi-company</field>
|
2009-11-26 05:50:50 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_invoice"/>
|
2009-11-10 12:49:20 +00:00
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2011-06-30 14:25:02 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="invoice_analysis_comp_rule" model="ir.rule">
|
|
|
|
<field name="name">Invoice Analysis multi-company</field>
|
|
|
|
<field model="ir.model" name="model_id" ref="model_account_invoice_report"/>
|
|
|
|
<field eval="True" name="global"/>
|
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2009-11-10 12:49:20 +00:00
|
|
|
</record>
|
|
|
|
|
2010-08-20 11:32:18 +00:00
|
|
|
<record id="account_fiscal_position_comp_rule" model="ir.rule">
|
2010-09-16 13:51:02 +00:00
|
|
|
<field name="name">Account fiscal Mapping company rule</field>
|
2010-08-20 11:32:18 +00:00
|
|
|
<field model="ir.model" name="model_id" ref="model_account_fiscal_position"/>
|
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2010-08-20 11:32:18 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="account_model_comp_rule" model="ir.rule">
|
|
|
|
<field name="name">Account model company rule</field>
|
|
|
|
<field model="ir.model" name="model_id" ref="model_account_model"/>
|
|
|
|
<field eval="True" name="global"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2010-08-20 11:32:18 +00:00
|
|
|
</record>
|
|
|
|
|
2011-02-25 06:30:15 +00:00
|
|
|
<record model="ir.rule" id="account_invoice_line_comp_rule">
|
|
|
|
<field name="name">Invoice Line company rule</field>
|
|
|
|
<field name="model_id" ref="model_account_invoice_line"/>
|
|
|
|
<field name="global" eval="True"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2011-02-25 06:30:15 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.rule" id="account_bank_statement_comp_rule">
|
|
|
|
<field name="name">Account bank statement company rule</field>
|
|
|
|
<field name="model_id" ref="model_account_bank_statement"/>
|
|
|
|
<field name="global" eval="True"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2011-02-25 06:30:15 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record model="ir.rule" id="account_bank_statement_line_comp_rule">
|
|
|
|
<field name="name">Account bank statement line company rule</field>
|
|
|
|
<field name="model_id" ref="model_account_bank_statement_line"/>
|
|
|
|
<field name="global" eval="True"/>
|
2011-03-10 07:04:12 +00:00
|
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
2011-02-25 06:30:15 +00:00
|
|
|
</record>
|
|
|
|
|
2012-07-13 17:08:38 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|