-
-
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.
🚑 Error during installation in multi-company mode
- Loading branch information
1 parent
a177cb5
commit 7014006
Showing
5 changed files
with
36 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2018 Dinar Gabbasov <https://it-projects.info/team/GabbasovDinar> | ||
<!-- Copyright 2018-2019 Dinar Gabbasov <https://it-projects.info/team/GabbasovDinar> | ||
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). --> | ||
|
||
<odoo noupdate="1"> | ||
|
||
<record id="default_multi_session" model="pos.multi_session"> | ||
<field name="name">Default Multi Session</field> | ||
<field name="multi_session_active">False</field> | ||
</record> | ||
|
||
<record id="point_of_sale.pos_config_main" model="pos.config"> | ||
<field name="multi_session_id" ref="default_multi_session"/> | ||
</record> | ||
|
||
<!-- Default multi session for exist POSes --> | ||
<function model="pos.multi_session" name="action_set_default_multi_session" eval="[[ref('default_multi_session')]]"/> | ||
<!-- Create default multi sessions for each company --> | ||
<function model="pos.multi_session" name="action_set_default_multi_session" /> | ||
|
||
</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