forked from OCA/OpenUpgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by legalsylvain
- Loading branch information
Showing
29 changed files
with
231 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
openupgrade_scripts/scripts/analytic/14.0.1.1/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<record id="analytic_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
</record> | ||
<record id="analytic_group_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
</record> | ||
<record id="analytic_line_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids)]</field> | ||
</record> | ||
<record id="analytic_tag_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
</record> | ||
</odoo> |
6 changes: 6 additions & 0 deletions
6
openupgrade_scripts/scripts/analytic/14.0.1.1/post-migration.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from openupgradelib import openupgrade | ||
|
||
|
||
@openupgrade.migrate() | ||
def migrate(env, version): | ||
openupgrade.load_data(env.cr, "analytic", "14.0.1.1/noupdate_changes.xml") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
openupgrade_scripts/scripts/crm/14.0.1.2/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
openupgrade_scripts/scripts/delivery/14.0.1.0/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
openupgrade_scripts/scripts/event/14.0.1.3/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
openupgrade_scripts/scripts/hr_expense/14.0.2.0/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<record id="hr_expense_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids)]</field> | ||
</record> | ||
<record id="hr_expense_report_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids)]</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 13 additions & 10 deletions
23
openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,28 @@ | ||
<?xml version='1.0' encoding='utf-8'?> | ||
<odoo> | ||
<!-- No real changes, so no need to write the records --> | ||
<!-- <record id="maintenance_equipment_category_comp_rule" model="ir.rule"> | ||
<field name="global"/> | ||
<record id="equipment_request_rule_user" model="ir.rule"> | ||
<field name="domain_force">['|', '|', ('owner_user_id', '=', user.id), ('message_partner_ids', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)]</field> | ||
</record> | ||
<record id="maintenance_equipment_category_comp_rule" model="ir.rule"> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
<!-- <field name="global"/> --> | ||
</record> | ||
<record id="maintenance_equipment_comp_rule" model="ir.rule"> | ||
<field name="global"/> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
<!-- <field name="global"/> --> | ||
</record> | ||
<record id="maintenance_request_comp_rule" model="ir.rule"> | ||
<field name="global"/> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
<!-- <field name="global"/> --> | ||
</record> | ||
<record id="maintenance_team_comp_rule" model="ir.rule"> | ||
<field name="global"/> | ||
</record> --> | ||
<field name="domain_force">[('company_id', 'in', company_ids + [False])]</field> | ||
<!-- <field name="global"/> --> | ||
</record> | ||
<record id="mt_cat_mat_assign" model="mail.message.subtype"> | ||
<field name="parent_id" ref="mt_mat_assign"/> | ||
</record> | ||
<record id="mt_cat_req_created" model="mail.message.subtype"> | ||
<field name="parent_id" ref="mt_req_created"/> | ||
</record> | ||
<record id="equipment_request_rule_user" model="ir.rule"> | ||
<field name="domain_force">['|', '|', ('owner_user_id', '=', user.id), ('message_partner_ids', 'in', [user.partner_id.id]), ('user_id.id', '=', user.id)]</field> | ||
</record> | ||
</odoo> |
Oops, something went wrong.