The following test have been removed because they were calling methods that doesn't exist anymore or looking for xmlids that doesn't exist anymore too. Since the new accounting the test imports were commented, because the features were removed I guess. - account_budget_report.yml - account_budget_spread.yml The 'test/demo' account_budget_demo.yml was something like a common.py file so the test account_budget_report.yml was rewritten in python with a common file and the test test_theoreticalamount.py has been adapted accordingly (no more strange use to _update) For the rest of the migration, nothing particuliar to notice
32 lines
1.4 KiB
XML
32 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
|
|
<record id="budget_post_comp_rule" model="ir.rule">
|
|
<field name="name">Budget post multi-company</field>
|
|
<field name="model_id" ref="model_account_budget_post"/>
|
|
<field eval="True" name="global"/>
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
</record>
|
|
|
|
<record id="budget_comp_rule" model="ir.rule">
|
|
<field name="name">Budget multi-company</field>
|
|
<field name="model_id" ref="model_crossovered_budget"/>
|
|
<field eval="True" name="global"/>
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
</record>
|
|
|
|
<record id="budget_lines_comp_rule" model="ir.rule">
|
|
<field name="name">Budget lines multi-company</field>
|
|
<field name="model_id" ref="model_crossovered_budget_lines"/>
|
|
<field eval="True" name="global"/>
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
</record>
|
|
|
|
<record model="res.users" id="base.user_root">
|
|
<field eval="[(4,ref('analytic.group_analytic_accounting'))]" name="groups_id"/>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|