-
-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡ company rule for multi-session model
- Loading branch information
1 parent
7014006
commit 0d2c3fd
Showing
4 changed files
with
21 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2019 Kolushov Alexandr <https://it-projects.info/team/KolushovAlexandr> | ||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). --> | ||
<odoo> | ||
<record id="pos_multi_session_rule" model="ir.rule"> | ||
<field name="name">Multi Session Rule</field> | ||
<field name="model_id" ref="pos_multi_session.model_pos_multi_session"/> | ||
<field name="global" eval="False"/> | ||
<field name="groups" eval="[(6, 0, [ref('base.group_user')])]"/> | ||
<field name="domain_force">[('company_id','child_of',[user.company_id.id])]</field> | ||
</record> | ||
</odoo> |