-
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.
bzr revid: tch@tinyerp.com-20120827092352-bm2vjzmxi84qkh5z
- Loading branch information
Showing
16 changed files
with
150 additions
and
117 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
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 |
---|---|---|
@@ -1,42 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<openerp> | ||
<data noupdate="0"> | ||
<data noupdate="1"> | ||
|
||
<record model="res.groups" id="group_partner_manager"> | ||
<field name="name">Partner Manager</field> | ||
</record> | ||
<record model="res.groups" id="group_partner_manager"> | ||
<field name="name">Partner Manager</field> | ||
</record> | ||
|
||
<record model="ir.ui.menu" id="menu_config_address_book"> | ||
<field eval="[(6,0,[ref('group_system'), ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
<record model="ir.ui.menu" id="menu_base_config"> | ||
<field eval="[(6,0,[ref('group_system'), ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
<record model="ir.ui.menu" id="menu_base_partner"> | ||
<field eval="[(6,0,[ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
<record model="ir.ui.menu" id="menu_config_address_book"> | ||
<field eval="[(6,0,[ref('group_system'), ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
<record model="ir.ui.menu" id="menu_base_config"> | ||
<field eval="[(6,0,[ref('group_system'), ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
<record model="ir.ui.menu" id="menu_base_partner"> | ||
<field eval="[(6,0,[ref('group_partner_manager')])]" name="groups_id"/> | ||
</record> | ||
|
||
</data> | ||
<!-- Record Rule For Company --> | ||
<record id="res_company_rule" model="ir.rule"> | ||
<field name="name">company rule</field> | ||
<field model="ir.model" name="model_id" ref="model_res_company"/> | ||
<field eval="True" name="global"/> | ||
<!-- TODO: review this <field name="domain_force">['|', ('child_ids', 'child_of', [user.company_id.id]), ('parent_id', 'child_of', [user.company_id.id])]</field> --> | ||
<field name="domain_force">[('id','child_of',[user.company_id.id])]</field> | ||
</record> | ||
|
||
<data noupdate="1"> | ||
<!-- Record Rule For User --> | ||
<record id="res_users_rule" model="ir.rule"> | ||
<field name="name">user rule</field> | ||
<field model="ir.model" name="model_id" ref="model_res_users"/> | ||
<field eval="True" name="global"/> | ||
<field name="domain_force">[('company_ids','child_of',[user.company_id.id])]</field> | ||
</record> | ||
|
||
<!-- Record Rule For Company --> | ||
|
||
<record id="res_company_rule" model="ir.rule"> | ||
<field name="name">company rule</field> | ||
<field model="ir.model" name="model_id" ref="model_res_company"/> | ||
<field eval="True" name="global"/> | ||
<!-- TODO: review this <field name="domain_force">['|', ('child_ids', 'child_of', [user.company_id.id]), ('parent_id', 'child_of', [user.company_id.id])]</field> --> | ||
<field name="domain_force">[('id','child_of',[user.company_id.id])]</field> | ||
</record> | ||
|
||
<!-- Record Rule For User --> | ||
<record id="res_users_rule" model="ir.rule"> | ||
<field name="name">user rule</field> | ||
<field model="ir.model" name="model_id" ref="model_res_users"/> | ||
<field eval="True" name="global"/> | ||
<field name="domain_force">[('company_ids','child_of',[user.company_id.id])]</field> | ||
</record> | ||
|
||
</data> | ||
</data> | ||
</openerp> |
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
Oops, something went wrong.