-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] portal_backend: Migration to 16.0
- Loading branch information
1 parent
b74d702
commit f149346
Showing
8 changed files
with
38 additions
and
8 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
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
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
<record id="base.menu_management" model="ir.ui.menu"> | ||
<field name="groups_id" eval="[Command.link(ref('base.group_user'))]"/> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<odoo> | ||
<!-- The record rule res_partner_rule_private_employee is no updatetable so we need to temporarily set the noupdate field to False --> | ||
<function name="write" model="ir.model.data"> | ||
<function name="search" model="ir.model.data"> | ||
<value eval="[('module', '=', 'base'), ('name', '=', 'res_partner_rule_private_employee')]"/> | ||
</function> | ||
<value eval="{'noupdate': False}" /> | ||
</function> | ||
<!-- Add Portal group --> | ||
<record id="base.res_partner_rule_private_employee" model="ir.rule"> | ||
<field name="groups" eval="[Command.link(ref('base.group_portal'))]"/> | ||
</record> | ||
<!-- Set the previously noupdate False to True again --> | ||
<function name="write" model="ir.model.data"> | ||
<function name="search" model="ir.model.data"><value eval="[('module', '=', 'base'), ('name', '=', 'res_partner_rule_private_employee')]"/></function> | ||
<value eval="{'noupdate': True}" /> | ||
</function> | ||
</odoo> |